summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15166: Re-implement imp.get_tag() using sys.implementation.Brett Cannon2012-07-021-0/+2
| | | | | | | 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-021-0/+3
| | | | importlib.__init__, then catch the KeyError raised, not ImportError.
* Closes #15030: Make importlib.abc.PyPycLoader respect the new .pycBrett Cannon2012-07-022-0/+4
| | | | | | | file size header field. Thanks to Marc Abramowitz and Ronan Lamy for helping out with various parts of the patch.
* - Issue #15235: Allow Berkley DB versions up to 5.3 to build the dbm module.doko@ubuntu.com2012-07-011-0/+2
|
* Issue #15229: An OSError subclass whose __init__ doesn't call backAntoine Pitrou2012-06-301-0/+3
| | | | | 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-0/+7
| | | | | | for host compiler. Add NEWS entry, rename _PROJECT_BASE to _PYTHON_PROJECT_BASE.
* Issue #15225: improve error message when hmac is passed a wrong key type.Antoine Pitrou2012-06-301-0/+1
| | | | Patch by Marc Abramowitz.
* #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()Petri Lehtinen2012-06-291-0/+3
|\
| * #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()Petri Lehtinen2012-06-291-0/+3
| |
* | Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou2012-06-282-0/+4
|\ \ | |/ | | | | Patch by Jakub Wilk.
| * Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou2012-06-282-0/+4
| | | | | | | | Patch by Jakub Wilk.
* | #9559: Append data to single-file mailbox files if messages are only addedPetri Lehtinen2012-06-281-0/+4
|\ \ | |/ | | | | | | | | 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-281-0/+4
| | | | | | | | | | | | 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.
* | Issue #12605: Show information on more C frames within gdb backtracesDavid Malcolm2012-06-271-0/+9
| | | | | | | | | | | | | | | | | | 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
* | Issue 10924: Fixed mksalt() to use a RNG that is suitable for cryptographic ↵Christian Heimes2012-06-271-0/+10
| | | | | | | | purpose
* | Issue #15079: make a test applicable to both C and Python versions of the ↵Antoine Pitrou2012-06-261-0/+1
|\ \ | |/ | | | | | | | | pickle module. Patch by Stefan Mihaila.
| * Issue #15079: make a test applicable to both C and Python versions of the ↵Antoine Pitrou2012-06-261-0/+1
| | | | | | | | | | | | pickle module. Patch by Stefan Mihaila.
| * Issue #14443: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm2012-06-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | - Issue #15194: Update libffi to the 3.0.11 release.doko@ubuntu.com2012-06-261-0/+11
| |
* | Bump version to 3.3.0b1.v3.3.0b1Georg Brandl2012-06-262-2/+2
| |
* | Fix issue # in Misc/NEWS (should be #15187, not 15817.)Larry Hastings2012-06-261-1/+1
| |
* | Issue #15817: Bugfix: remove temporary directories test_shutil was leavingLarry Hastings2012-06-261-0/+3
| | | | | | | | behind.
* | If main() is called and an argument cannot be decoded, make sure toBrett Cannon2012-06-251-0/+3
| | | | | | | | | | | | free the copy of the command-line. Found using Clang's static analyzer.
* | Issue #14443: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm2012-06-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Moved hmac.compare_digest Misc/NEWS entry from Core and Builtins to Library.Larry Hastings2012-06-251-4/+4
| |
* | Issue #15177: Added dir_fd parameter to os.fwalk().Larry Hastings2012-06-251-0/+2
| |
* | Issue #15176: Clarified behavior, documentation, and implementationLarry Hastings2012-06-251-0/+3
| | | | | | | | of os.listdir().
* | Restore Misc/NEWS entries lost in the merge for the previous commit.Larry Hastings2012-06-241-0/+4
| |
* | Issue #15164: Change return value of platform.uname() from aLarry Hastings2012-06-241-3/+2
| | | | | | | | plain tuple to a collections.namedtuple.
* | Support Mageia Linux in the platform module.Antoine Pitrou2012-06-241-0/+2
| |
* | Closes #11678: support Arch linux in the platform module.Georg Brandl2012-06-241-0/+2
| |
* | #15156: HTMLParser now uses the new "html.entities.html5" dictionary.Ezio Melotti2012-06-241-0/+2
| |
* | Issue #15061: Re-implemented hmac.compare_digest() in CChristian Heimes2012-06-241-0/+4
| |
* | Issue #15118: Change return value of os.uname() and os.times() fromLarry Hastings2012-06-241-0/+4
| | | | | | | | | | plain tuples to immutable iterable objects with named attributes (structseq objects).
* | Speed up _decimal by another 10-15% by caching the thread local contextStefan Krah2012-06-241-0/+4
| | | | | | | | | | that was last accessed. In the pi benchmark (64-bit platform, prec=9), _decimal is now only 1.5x slower than float.
* | Issue #14815: Use Py_ssize_t instead of long for the object hash, toLarry Hastings2012-06-241-0/+3
| | | | | | | | preserve all 64 bits of hash on Win64.
* | Fixes issue #12268: File readline, readlines and read() or readall() methodsGregory P. Smith2012-06-241-0/+5
|\ \ | |/ | | | | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods.
| * Fixes issue #12268: File readline, readlines and read() or readall() methodsGregory P. Smith2012-06-241-0/+5
| | | | | | | | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods.
* | Remove packaging from the standard library.Éric Araujo2012-06-241-0/+2
| | | | | | | | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html
* | #11113: add a new "html5" dictionary containing the named character ↵Ezio Melotti2012-06-241-0/+4
| | | | | | | | references defined by the HTML5 standard and the equivalent Unicode character(s) to the html.entities module.
* | Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir"Larry Hastings2012-06-231-0/+3
| | | | | | | | | | | | | | parameter from os.remove / os.unlink. Patch written by Georg Brandl. (I'm really looking forward to George getting commit privileges so I don't have to keep doing checkins on his behalf.)
* | Issue #13590: Improve support for OS X Xcode 4:Ned Deily2012-06-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Try to avoid building Python or extension modules with problematic llvm-gcc compiler. - Since Xcode 4 removes ppc support, extension module builds now check for ppc compiler support and automatically remove ppc and ppc64 archs when not available. - Since Xcode 4 no longer install SDKs in default locations, extension module builds now revert to using installed headers and libs if the SDK used to build the interpreter is not available. - Update ./configure to use better defaults for universal builds; in particular, --enable-universalsdk=yes uses the Xcode default SDK and --with-universal-archs now defaults to "intel" if ppc not available.
* | Issue #11626: Add _SizeT functions to stable ABI.Martin v. Löwis2012-06-231-0/+2
| |
* | Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.Martin v. Löwis2012-06-231-0/+2
| |
* | Fix typo in Misc/NEWSHynek Schlawack2012-06-231-1/+1
| |
* | #4489: Add a shutil.rmtree that isn't suspectible to symlink attacksHynek Schlawack2012-06-231-0/+4
| | | | | | | | | | It is used automatically on platforms supporting the necessary os.openat() and os.unlinkat() functions. Main code by Martin von Löwis.
* | #15114: the strict mode of HTMLParser and the HTMLParseError exception are ↵Ezio Melotti2012-06-231-1/+4
| | | | | | | | deprecated now that the parser is able to parse invalid markup.
* | Issue #15142: Fix reference leak when deallocating instances of types ↵Antoine Pitrou2012-06-231-0/+3
|\ \ | |/ | | | | created using PyType_FromSpec().
| * Issue #15142: Fix reference leak when deallocating instances of types ↵Antoine Pitrou2012-06-231-0/+3
| | | | | | | | created using PyType_FromSpec().
* | Issue #3665: \u and \U escapes are now supported in unicode regular expressions.Antoine Pitrou2012-06-231-0/+3
| | | | | | | | Patch by Serhiy Storchaka.