summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Close #15153: Added inspect.getgeneratorlocals to simplify whitebox testing ↵Nick Coghlan2012-06-231-0/+3
| | | | | | | | of generator state updates
* | Close #13062: Add inspect.getclosurevars to simplify testing stateful closuresNick Coghlan2012-06-231-1/+4
| |
* | Issues #11024: Fixes and additional tests for Time2Internaldate.Alexander Belopolsky2012-06-231-0/+2
| |
* | Issue #14626: Large refactoring of functions / parameters in the os module.Larry Hastings2012-06-221-1/+9
| | | | | | | | | | | | | | | | | | Many functions now support "dir_fd" and "follow_symlinks" parameters; some also support accepting an open file descriptor in place of of a path string. Added os.support_* collections as LBYL helpers. Removed many functions only previously seen in 3.3 alpha releases (often starting with "f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka; implemented by Larry Hastings.
* | Issue #15008: Implement PEP 362 "Signature Objects".Larry Hastings2012-06-221-0/+3
| | | | | | | | Patch by Yury Selivanov.
* | MergeGuido van Rossum2012-06-221-0/+11
|\ \
| * | Fix #444582. Add shutil.which function for finding programs on the system path.Brian Curtin2012-06-221-0/+4
| | |
| * | MergeAntoine Pitrou2012-06-221-0/+3
| |\ \
| | * | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵David Malcolm2012-06-221-0/+3
| | | | | | | | | | | | | | | | allocation issues
| * | | Issue #14837: SSL errors now have `library` and `reason` attributes ↵Antoine Pitrou2012-06-221-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | describing precisely what happened and in which OpenSSL submodule. The str() of a SSLError is also enhanced accordingly. NOTE: this commit creates a reference leak. The leak seems tied to the use of PyType_FromSpec() to create the SSLError type. The leak is on the type object when it is instantiated: >>> e = ssl.SSLError() >>> sys.getrefcount(ssl.SSLError) 35 >>> e = ssl.SSLError() >>> sys.getrefcount(ssl.SSLError) 36 >>> e = ssl.SSLError() >>> sys.getrefcount(ssl.SSLError) 37
* | | Speed up base64.urlsafe_{en,de}code().Guido van Rossum2012-06-221-0/+2
|/ /
* | Closes #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-06-221-0/+2
| |
* | Issue #9527: datetime.astimezone() method will now supply a classAlexander Belopolsky2012-06-221-0/+4
| | | | | | | | | | timezone instance corresponding to the system local timezone when called with no arguments.