Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use except/as, now supported by Python 2.6 | Jason R. Coombs | 2015-01-04 | 1 | -2/+1 |
| | |||||
* | Ensure setuptools is present in the environment before invoking setup.py ↵ | Jason R. Coombs | 2014-12-30 | 1 | -0/+2 |
| | | | | from easy_install. Fixes #319. | ||||
* | Catch, save, and restore any exceptions across the save_modules context. ↵ | Jason R. Coombs | 2014-12-29 | 1 | -11/+32 |
| | | | | This corrects the latter of the two test failures. Ref #315. | ||||
* | Backed out changeset: 40cc1fbecb1c | Jason R. Coombs | 2014-12-29 | 1 | -3/+1 |
| | | | | Restores purging of distutils/setuptools during sandbox operations. Ref #315. | ||||
* | Disable purging of distutils/setuptools during sandbox operations. Ref #315. | Jason R. Coombs | 2014-12-28 | 1 | -1/+3 |
| | |||||
* | Rename function to match intention. | Jason R. Coombs | 2014-12-28 | 1 | -7/+7 |
| | |||||
* | Correct docstring | Jason R. Coombs | 2014-12-28 | 1 | -5/+5 |
| | |||||
* | Include distutils in modules hidden | Jason R. Coombs | 2014-12-28 | 1 | -1/+3 |
| | |||||
* | Extract function for _clear_modules, encapsulating the need for the module ↵ | Jason R. Coombs | 2014-12-28 | 1 | -5/+10 |
| | | | | names to be greedily evaluated before removing them. | ||||
* | Remove setuptools modules from sys.modules before invoking setup script. ↵ | Jason R. Coombs | 2014-12-28 | 1 | -0/+27 |
| | | | | Fixes #315. | ||||
* | Extract sandboxing context as a series of encapsulated contexts. | Jason R. Coombs | 2014-12-27 | 1 | -26/+87 |
| | |||||
* | Correct execfile implementation for Python 2.6. Fixes #236. | Jason R. Coombs | 2014-08-01 | 1 | -0/+4 |
| | |||||
* | Extract variable | Jason R. Coombs | 2014-08-01 | 1 | -1/+2 |
| | |||||
* | Since Python 3 will always need the _execfile functionality (to fulfill the ↵ | Jason R. Coombs | 2014-07-05 | 1 | -7/+16 |
| | | | | test in test_sandbox), this functionality should become part of the core implementation. | ||||
* | Use modern syntax for octal values | Jason R. Coombs | 2014-05-05 | 1 | -1/+1 |
| | |||||
* | Exempt lib2to3 pickled grammars from the DirectorySandboxing. Fixes #121.2.0 | Jason R. Coombs | 2013-12-07 | 1 | -2/+5 |
| | | | | | --HG-- extra : histedit_source : 6cd9a3c6003d3f6de2f8e676b61589db4dffafb0 | ||||
* | Add support for exempting a path based on a regular expression. | Jason R. Coombs | 2013-12-07 | 1 | -2/+12 |
| | | | | | --HG-- extra : histedit_source : 2f1f4146ec1d5196cb65602302185a12060cfa17 | ||||
* | Use any on a generator instead | Jason R. Coombs | 2013-12-07 | 1 | -2/+2 |
| | | | | | --HG-- extra : histedit_source : 7924e09d06d2f6db58371735314caeee77aa2d3d | ||||
* | Use any for matching exceptions in DirectorySandbox. | Jason R. Coombs | 2013-12-07 | 1 | -2/+5 |
| | | | | | --HG-- extra : histedit_source : 9a99f28235a96543a3ca2da4ec691da0e1cd880c | ||||
* | Always return a boolean in DirectorySandbox._ok | Jason R. Coombs | 2013-12-07 | 1 | -4/+9 |
| | | | | | --HG-- extra : histedit_source : b0072af02db4ba170105a4eb3f8a033dce678869 | ||||
* | Normalize whitespace in function signatures | Jason R. Coombs | 2013-12-07 | 1 | -3/+3 |
| | | | | | --HG-- extra : histedit_source : 471b9c3fbde309c39492f2a567a26993c1dc94de | ||||
* | Modernize style on sandbox.py | Jason R. Coombs | 2013-11-24 | 1 | -32/+8 |
| | |||||
* | Remove compatibility around reduce. | Jason R. Coombs | 2013-11-24 | 1 | -2/+3 |
| | |||||
* | Allow other arguments and kwargs to os.open when in the sandbox. Fixes ↵ | Jason R. Coombs | 2013-07-13 | 1 | -3/+3 |
| | | | | Distribute #386. | ||||
* | More post-merge fixes. | Vinay Sajip | 2013-06-19 | 1 | -1/+0 |
| | | | | | --HG-- branch : single-codebase | ||||
* | Merged upstream changes. | Vinay Sajip | 2013-06-19 | 1 | -0/+2 |
|\ | | | | | | | | | --HG-- branch : single-codebase | ||||
| * | Merge Python 3 native support from distribute | Jason R. Coombs | 2013-06-18 | 1 | -7/+10 |
| |\ | | | | | | | | | | | | | --HG-- rename : tests/test_distribute_setup.py => tests/test_ez_setup.py | ||||
| | * | Merge Vinay Sajip's unified Python 2/3 support from distribute 3 | Jason R. Coombs | 2013-06-18 | 1 | -1/+4 |
| | |\ | | | | | | | | | | | | | | | | | --HG-- branch : distribute | ||||
| | * \ | Merge with upstream | Jason R. Coombs | 2013-06-18 | 1 | -7/+13 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute | ||||
| | * | | | Changes to support 2.x and 3.x in the same codebase. | Vinay Sajip | 2011-06-20 | 1 | -7/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071 | ||||
* | | | | | Misc. updates following 2to3 checks. | Vinay Sajip | 2013-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : single-codebase | ||||
* | | | | | Initial commit. All tests pass on 2.7, 3.2 and 3.3, though there are some ↵ | Vinay Sajip | 2013-06-15 | 1 | -7/+9 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | atexit errors in the multiprocessing module in 2.7/3.2 (seemingly unrelated to setuptools). --HG-- branch : single-codebase | ||||
* | | | | Remove redundant exception for os.devnull | Jason R. Coombs | 2013-05-16 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge | ||||
* | | | | Merged sandbox module | Jason R. Coombs | 2013-03-20 | 1 | -9/+38 |
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge | ||||
| * | | | Update sandbox.py to latest from setuptools-0.6 | Jason R. Coombs | 2013-03-20 | 1 | -19/+60 |
| | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : 7f4dd650af5779b69ae13fe6a1b4adce386b5489 | ||||
* | | | | Fix 2 errors with Jython 2.5. | Arfrever Frehtes Taifersar Arahesis | 2012-11-26 | 1 | -1/+4 |
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | (Now there remain 1 failure and 2 errors with Jython 2.5 and 1 failure and 5 errors with Jython 2.7.) --HG-- branch : distribute extra : rebase_source : c245820df5090ac5d005ebb7d6c4419145afce53 | ||||
* | | | Adds a fix for issue #318, including a regression test. This also fixes ↵ | Erik Bray | 2012-09-06 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | another test that was passing trivially due to *bug* in yet another test, ugh --HG-- branch : distribute extra : rebase_source : 476550766b7b756dced040ad4356b7685d6f062a | ||||
* | | | Exclude 'encodings' modules when removing modules from sys.modules. ↵ | Jason R. Coombs | 2012-05-18 | 1 | -2/+8 |
| |/ |/| | | | | | | | | | | | | | Workaround for #285. (Fixes #285) --HG-- branch : distribute extra : rebase_source : 913eaebbb0971a044d6087dc4faa2fdb4220def2 | ||||
* | | Adds some missing bits to the sandbox fix--need to actually save/restore the ↵ | Erik Bray | 2011-05-20 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | pkg_resources state. --HG-- branch : distribute extra : rebase_source : 961ca56f30a6aabb5d24eff3cabb527d1be93ae4 | ||||
* | | Found a public API method which is preferable to using the private attribute ↵ | Jason R. Coombs | 2010-05-15 | 1 | -5/+3 |
| | | | | | | | | | | | | | | | | for ascertaining the location of the gen_py cache --HG-- branch : distribute extra : rebase_source : 6feed4430505ad2d2680b141d41dccb95d9e80af | ||||
* | | Updated gen_py exception to use attribute of win32com rather than infer the ↵ | Jason R. Coombs | 2010-05-15 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | location of gen_py --HG-- branch : distribute extra : rebase_source : 55f1f3c23dc20edf9c91ea223fc5762fda22f5b2 | ||||
* | | Merged Fix for #151 | Jason R. Coombs | 2010-05-15 | 1 | -2/+5 |
|\ \ | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7f7f9c64a26c6110096387b9862e06455c49f2ec | ||||
| * | | we want any(), not all() | Tarek Ziade | 2010-05-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c740917424bbc5efdfb91360399f1f17a09ea3a1 | ||||
| * | | make sure all tests passes on all python versions fixes #149 | Tarek Ziade | 2010-05-06 | 1 | -7/+12 |
| | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6288f4fcf65083b9d4ffb0ea8b35af44e699b4d5 | ||||
* | | | Fix for #151 - attribute error when gen_py doesn't have __init__ module | Jason R. Coombs | 2010-05-15 | 1 | -2/+7 |
|/ / | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6d42ed6e7f4d1ab4500aa8a695ee64af6a3f63f8 | ||||
* | | Worked out a fix for failing sandbox errors in Windows. Fixes #118. | Jason R. Coombs | 2010-03-02 | 1 | -2/+12 |
| | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 69c8e59604f9d711cd29bb55e9edd3caab2b36a0 | ||||
* | | Allowing 'os.devnull' in Sandbox, fixes #101 | tarek | 2009-12-04 | 1 | -2/+6 |
| | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : d6f63794621874eb637139f353314256e02e02df | ||||
* | | fix a hole in sandboxing allowing builtin file to write outside of the sandbox | Philip Jenvey | 2009-10-12 | 1 | -0/+6 |
| | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 5ff181b30f41080ec0e0628c96abf270ffe1a730 | ||||
* | | Conditionalize _file processing. | Martin v. Löwis | 2009-09-11 | 1 | -4/+10 |
| | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : fd07ce0e0541a269a88596e985884f688c86185e | ||||
* | | Packages required at build time where not fully present at install time. ↵ | Hanno Schlichting | 2009-07-17 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | This closes #12. --HG-- branch : distribute extra : rebase_source : 178f508c83ecab9244064108d55ce840111a0e34 |