Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 14814: Better handling of cases where octet/hextet parsing fails, ↵ | Nick Coghlan | 2012-07-06 | 2 | -39/+48 |
| | | | | including ensuring that tracebacks are still clean even when calling class constructors directly | ||||
* | Issue #15261: Stop os.stat(fd) crashing on Windows when fd not open. | Richard Oudkerk | 2012-07-06 | 2 | -0/+23 |
| | |||||
* | Fix issue # 15033 - Return the proper exitcode for failure when modules are ↵ | Senthil Kumaran | 2012-07-05 | 1 | -0/+15 |
|\ | | | | | | | invoked using -m switch. Patch contributed by Jeff Knupp | ||||
| * | Fix issue # 15033 - Return the proper exitcode for failure when modules are ↵ | Senthil Kumaran | 2012-07-05 | 1 | -0/+15 |
| | | | | | | | | invoked using -m switch. Patch contributed by Jeff Knupp | ||||
* | | Issue #15210: Greatly simplify the test for supporting importlib | Brett Cannon | 2012-07-04 | 2 | -14/+7 |
| | | | | | | | | | | working without _frozen_importlib by moving to an import over a direct access in sys.modules. | ||||
* | | Closes #14902: Fixed timezone conversion of a date/time in the past. Thanks ↵ | Vinay Sajip | 2012-07-03 | 1 | -2/+4 |
| | | | | | | | | to Yuriy Syrovetskiy for the report and Juancarlo Añez for the patch on which this fix is based. | ||||
* | | Issue #15241: Added test for venv prefixes. | Vinay Sajip | 2012-07-03 | 1 | -0/+25 |
| | | |||||
* | | Issue 15241: Improved site.py documentation relating to venvs. | Vinay Sajip | 2012-07-03 | 1 | -2/+2 |
| | | |||||
* | | Issue #15166: Re-implement imp.get_tag() using sys.implementation. | Brett Cannon | 2012-07-02 | 2 | -2/+7 |
| | | | | | | | | | | | | | | Also eliminates some C code in Python/import.c as well. Patch by Eric Snow with verification by comparing against another patch from Jeff Knupp. | ||||
* | | Issue #15210: If _frozen_importlib is not found in sys.modules by | Brett Cannon | 2012-07-02 | 2 | -2/+23 |
| | | | | | | | | importlib.__init__, then catch the KeyError raised, not ImportError. | ||||
* | | Closes #15030: Make importlib.abc.PyPycLoader respect the new .pyc | Brett Cannon | 2012-07-02 | 2 | -3/+13 |
| | | | | | | | | | | | | | | file size header field. Thanks to Marc Abramowitz and Ronan Lamy for helping out with various parts of the patch. | ||||
* | | Issue #15229: An OSError subclass whose __init__ doesn't call back | Antoine Pitrou | 2012-06-30 | 1 | -0/+10 |
| | | | | | | | | | | OSError.__init__ could produce incomplete instances, leading to crashes when calling str() on them. | ||||
* | | - Issue #14330: For cross builds, don't use host python, use host search paths | doko@ubuntu.com | 2012-06-30 | 1 | -2/+2 |
| | | | | | | | | | | | | for host compiler. Add NEWS entry, rename _PROJECT_BASE to _PYTHON_PROJECT_BASE. | ||||
* | | - Issue #14330: For cross builds, don't use host python, use host search paths | doko@ubuntu.com | 2012-06-30 | 2 | -0/+12 |
| | | | | | | | | for host compiler. | ||||
* | | Issue #9239: add tests for modifying zipfile comments in append mode. | Antoine Pitrou | 2012-06-30 | 1 | -0/+18 |
|\ \ | |/ | |||||
| * | Issue #9239: add tests for modifying zipfile comments in append mode. | Antoine Pitrou | 2012-06-30 | 1 | -0/+18 |
| | | |||||
* | | Issue #15225: improve error message when hmac is passed a wrong key type. | Antoine Pitrou | 2012-06-30 | 2 | -1/+13 |
| | | | | | | | | Patch by Marc Abramowitz. | ||||
* | | Update GzipFile docstring to mention gzip.open()'s new text-mode support. | Nadeem Vawda | 2012-06-30 | 1 | -1/+1 |
| | | |||||
* | | urllib.parse cleanup. rename keywords used as variables | Senthil Kumaran | 2012-06-29 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | urllib.parse cleanup. rename keywords used as variables | Senthil Kumaran | 2012-06-29 | 1 | -7/+7 |
| | | |||||
* | | Better diagnose test failure | Antoine Pitrou | 2012-06-29 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Better diagnose test failure | Antoine Pitrou | 2012-06-29 | 1 | -2/+2 |
| | | |||||
* | | #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush() | Petri Lehtinen | 2012-06-29 | 2 | -0/+20 |
|\ \ | |/ | |||||
| * | #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush() | Petri Lehtinen | 2012-06-29 | 2 | -0/+20 |
| | | |||||
* | | #9559: Don't call _pre_mailbox_hook more than once | Petri Lehtinen | 2012-06-29 | 1 | -2/+5 |
|\ \ | |/ | |||||
| * | #9559: Don't call _pre_mailbox_hook more than once | Petri Lehtinen | 2012-06-29 | 1 | -2/+5 |
| | | |||||
* | | Check for all used fd-based functions in shutil.rmdir, closes #15218 | Hynek Schlawack | 2012-06-29 | 2 | -3/+9 |
| | | |||||
* | | Issue #5067: improve some json error messages. | Antoine Pitrou | 2012-06-28 | 3 | -7/+9 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #5067: improve some json error messages. | Antoine Pitrou | 2012-06-28 | 3 | -7/+9 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Port tests from Issue #15219, and verify we don't have a reference leak. | Amaury Forgeot d'Arc | 2012-06-28 | 1 | -6/+2 |
| | | |||||
* | | Issue #10571: Fix the "--sign" option of distutils' upload command. | Antoine Pitrou | 2012-06-28 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Jakub Wilk. | ||||
| * | Issue #10571: Fix the "--sign" option of distutils' upload command. | Antoine Pitrou | 2012-06-28 | 1 | -1/+1 |
| | | | | | | | | Patch by Jakub Wilk. | ||||
* | | #4489: Use dir_fd in rmdir in _rmtree_safe_fd() | Hynek Schlawack | 2012-06-28 | 1 | -4/+8 |
| | | | | | | | | | | Now that rmdir supports dir_fd, we also use it. Attackers can't even delete empty directories anymore. | ||||
* | | #9559: Append data to single-file mailbox files if messages are only added | Petri Lehtinen | 2012-06-28 | 2 | -5/+42 |
|\ \ | |/ | | | | | | | | | If messages were only added, a new file is no longer created and renamed over the old file when flush() is called on an mbox, MMDF or Babyl mailbox. | ||||
| * | #9559: Append data to single-file mailbox files if messages are only added | Petri Lehtinen | 2012-06-28 | 2 | -5/+42 |
| | | | | | | | | | | | | If messages were only added, a new file is no longer created and renamed over the old file when flush() is called on an mbox, MMDF or Babyl mailbox. | ||||
* | | Merge. | Eric V. Smith | 2012-06-28 | 2 | -3/+35 |
|\ \ | |||||
| * | | #4489: Don't follow ever symlinks in rmtree | Hynek Schlawack | 2012-06-28 | 2 | -3/+35 |
| | | | | | | | | | | | | Also added several regression tests. | ||||
* | | | Use assertIsNone. Thanks Terry Reedy. | Eric V. Smith | 2012-06-28 | 9 | -11/+11 |
|/ / | |||||
* | | Avoid using scrdir, it's broken. | Antoine Pitrou | 2012-06-27 | 1 | -2/+2 |
| | | |||||
* | | Fix bug in test_tools that prevented building is separate directory. | Neil Schemenauer | 2012-06-27 | 1 | -1/+1 |
| | | | | | | | | | | | | Use 'srcdir' from sysconfig instead of 'projectbase' to build a path to the Tools directory. 'projectbase' is the path of the build directory, not the source directory. | ||||
* | | Changed importlib tests to use assertIs, assertIsInstance, etc., instead of ↵ | Eric V. Smith | 2012-06-27 | 14 | -58/+58 |
| | | | | | | | | just assertTrue. | ||||
* | | Issue #12605: Show information on more C frames within gdb backtraces | David Malcolm | 2012-06-27 | 1 | -2/+99 |
| | | | | | | | | | | | | | | | | | | The gdb hooks for debugging CPython (within Tools/gdb) have been enhanced to show information on more C frames relevant to CPython within the "py-bt" and "py-bt-full" commands: * C frames that are waiting on the GIL * C frames that are garbage-collecting * C frames that are due to the invocation of a PyCFunction | ||||
* | | Flush stdout and stderr when running tests in parallel | Antoine Pitrou | 2012-06-27 | 1 | -0/+2 |
|\ \ | |/ | | | | | (helps getting results in real-time when stdio is transmitted over a pipe or socket) | ||||
| * | Flush stdout and stderr when running tests in parallel | Antoine Pitrou | 2012-06-27 | 1 | -0/+2 |
| | | | | | | | | (helps getting results in real-time when stdio is transmitted over a pipe or socket) | ||||
* | | white space cleanup | Christian Heimes | 2012-06-27 | 1 | -1/+0 |
| | | |||||
* | | Issue 10924: Fixed mksalt() to use a RNG that is suitable for cryptographic ↵ | Christian Heimes | 2012-06-27 | 1 | -7/+8 |
| | | | | | | | | purpose | ||||
* | | Issue #15079: make a test applicable to both C and Python versions of the ↵ | Antoine Pitrou | 2012-06-26 | 1 | -3/+5 |
|\ \ | |/ | | | | | | | | | pickle module. Patch by Stefan Mihaila. | ||||
| * | Issue #15079: make a test applicable to both C and Python versions of the ↵ | Antoine Pitrou | 2012-06-26 | 1 | -3/+5 |
| | | | | | | | | | | | | pickle module. Patch by Stefan Mihaila. | ||||
| * | Issue #14443: ensure that brp-python-bytecompile is invoked with the correct | David Malcolm | 2012-06-26 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python executable The __os_install_macro defines some post-processing activities during an rpm build; one of the scripts it calls is brp-python-bytecompile, which can take an argument: the python executable with which to byte-compile .py files in the package payload. In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass in an argument, and brp-python-bytecompile defaults to using /usr/bin/python, which can lead to the .py files being byte-compiled for the wrong version of python. This has been fixed in later versions of rpm by passing in %{__python} as an argument to brp-python-bytecompile. Workaround this by detecting if __os_install_post has a 0-argument invocation of brp-python-bytecompile, and if so generating an equivalent macro that has the argument, and explicitly provide the new definition within the specfile. | ||||
* | | Bump version to 3.3.0b1.v3.3.0b1 | Georg Brandl | 2012-06-26 | 2 | -2/+2 |
| | |