summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue 14814: Better handling of cases where octet/hextet parsing fails, ↵Nick Coghlan2012-07-062-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 Oudkerk2012-07-062-0/+23
|
* Fix issue # 15033 - Return the proper exitcode for failure when modules are ↵Senthil Kumaran2012-07-051-0/+15
|\ | | | | | | invoked using -m switch. Patch contributed by Jeff Knupp
| * Fix issue # 15033 - Return the proper exitcode for failure when modules are ↵Senthil Kumaran2012-07-051-0/+15
| | | | | | | | invoked using -m switch. Patch contributed by Jeff Knupp
* | Issue #15210: Greatly simplify the test for supporting importlibBrett Cannon2012-07-042-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 Sajip2012-07-031-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 Sajip2012-07-031-0/+25
| |
* | Issue 15241: Improved site.py documentation relating to venvs.Vinay Sajip2012-07-031-2/+2
| |
* | Issue #15166: Re-implement imp.get_tag() using sys.implementation.Brett Cannon2012-07-022-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 byBrett Cannon2012-07-022-2/+23
| | | | | | | | importlib.__init__, then catch the KeyError raised, not ImportError.
* | Closes #15030: Make importlib.abc.PyPycLoader respect the new .pycBrett Cannon2012-07-022-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 backAntoine Pitrou2012-06-301-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 pathsdoko@ubuntu.com2012-06-301-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 pathsdoko@ubuntu.com2012-06-302-0/+12
| | | | | | | | for host compiler.
* | Issue #9239: add tests for modifying zipfile comments in append mode.Antoine Pitrou2012-06-301-0/+18
|\ \ | |/
| * Issue #9239: add tests for modifying zipfile comments in append mode.Antoine Pitrou2012-06-301-0/+18
| |
* | Issue #15225: improve error message when hmac is passed a wrong key type.Antoine Pitrou2012-06-302-1/+13
| | | | | | | | Patch by Marc Abramowitz.
* | Update GzipFile docstring to mention gzip.open()'s new text-mode support.Nadeem Vawda2012-06-301-1/+1
| |
* | urllib.parse cleanup. rename keywords used as variablesSenthil Kumaran2012-06-291-7/+7
|\ \ | |/
| * urllib.parse cleanup. rename keywords used as variablesSenthil Kumaran2012-06-291-7/+7
| |
* | Better diagnose test failureAntoine Pitrou2012-06-291-2/+2
|\ \ | |/
| * Better diagnose test failureAntoine Pitrou2012-06-291-2/+2
| |
* | #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()Petri Lehtinen2012-06-292-0/+20
|\ \ | |/
| * #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()Petri Lehtinen2012-06-292-0/+20
| |
* | #9559: Don't call _pre_mailbox_hook more than oncePetri Lehtinen2012-06-291-2/+5
|\ \ | |/
| * #9559: Don't call _pre_mailbox_hook more than oncePetri Lehtinen2012-06-291-2/+5
| |
* | Check for all used fd-based functions in shutil.rmdir, closes #15218Hynek Schlawack2012-06-292-3/+9
| |
* | Issue #5067: improve some json error messages.Antoine Pitrou2012-06-283-7/+9
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #5067: improve some json error messages.Antoine Pitrou2012-06-283-7/+9
| | | | | | | | Patch by Serhiy Storchaka.
* | Port tests from Issue #15219, and verify we don't have a reference leak.Amaury Forgeot d'Arc2012-06-281-6/+2
| |
* | Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou2012-06-281-1/+1
|\ \ | |/ | | | | Patch by Jakub Wilk.
| * Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou2012-06-281-1/+1
| | | | | | | | Patch by Jakub Wilk.
* | #4489: Use dir_fd in rmdir in _rmtree_safe_fd()Hynek Schlawack2012-06-281-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 addedPetri Lehtinen2012-06-282-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 addedPetri Lehtinen2012-06-282-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. Smith2012-06-282-3/+35
|\ \
| * | #4489: Don't follow ever symlinks in rmtreeHynek Schlawack2012-06-282-3/+35
| | | | | | | | | | | | Also added several regression tests.
* | | Use assertIsNone. Thanks Terry Reedy.Eric V. Smith2012-06-289-11/+11
|/ /
* | Avoid using scrdir, it's broken.Antoine Pitrou2012-06-271-2/+2
| |
* | Fix bug in test_tools that prevented building is separate directory.Neil Schemenauer2012-06-271-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. Smith2012-06-2714-58/+58
| | | | | | | | just assertTrue.
* | Issue #12605: Show information on more C frames within gdb backtracesDavid Malcolm2012-06-271-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 parallelAntoine Pitrou2012-06-271-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 parallelAntoine Pitrou2012-06-271-0/+2
| | | | | | | | (helps getting results in real-time when stdio is transmitted over a pipe or socket)
* | white space cleanupChristian Heimes2012-06-271-1/+0
| |
* | Issue 10924: Fixed mksalt() to use a RNG that is suitable for cryptographic ↵Christian Heimes2012-06-271-7/+8
| | | | | | | | purpose
* | Issue #15079: make a test applicable to both C and Python versions of the ↵Antoine Pitrou2012-06-261-3/+5
|\ \ | |/ | | | | | | | | pickle module. Patch by Stefan Mihaila.
| * Issue #15079: make a test applicable to both C and Python versions of the ↵Antoine Pitrou2012-06-261-3/+5
| | | | | | | | | | | | pickle module. Patch by Stefan Mihaila.
| * Issue #14443: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm2012-06-261-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.0b1Georg Brandl2012-06-262-2/+2
| |