summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* #9210: remove --with-wctype-functions configure option.Amaury Forgeot d'Arc2010-09-121-0/+4
| | | | | | | | The internal unicode database is now always used. (after 5 years: see http://mail.python.org/pipermail/python-dev/2004-December/050193.html )
* Get rid of tabs.Georg Brandl2010-09-121-1/+1
|
* 9806: add --extension-suffix option to python-config.Georg Brandl2010-09-122-1/+7
|
* - Issue #9817: Add expat COPYING file; add expat, libffi and expat licensesMatthias Klose2010-09-121-0/+3
| | | | to Doc/license.rst.
* Issue #9837: The read() method of ZipExtFile objects (as returned byAntoine Pitrou2010-09-121-0/+3
| | | | ZipFile.open()) could return more bytes than requested.
* Issue #9826: Handle recursive repr in collections.OrderedDict.Raymond Hettinger2010-09-121-0/+3
|
* Issue #9825: Replace OrderedDict.__del__() with weakrefs.Raymond Hettinger2010-09-121-0/+6
|
* check for NULL tp_as_mapping in PySequence_(Get/Set/Del)Slice #9834Benjamin Peterson2010-09-111-0/+7
|
* Issue #9738: PyUnicode_FromFormat() and PyErr_Format() raise an error onVictor Stinner2010-09-111-0/+3
| | | | | | a non-ASCII byte in the format string. Document also the encoding.
* Issue #9579, #9580: Oops, add the author of the patchVictor Stinner2010-09-101-1/+1
|
* Issue #9579, #9580: Fix os.confstr() for value longer than 255 bytes and encodeVictor Stinner2010-09-101-0/+4
| | | | | the value with filesystem encoding and surrogateescape (instead of utf-8 in strict mode).
* Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODINGVictor Stinner2010-09-101-0/+5
| | | | | | environment variable to set the filesystem encoding at Python startup. sys.setfilesystemencoding() creates inconsistencies because it is unable to reencode all filenames in all objects.
* #4617: Previously it was illegal to delete a name from the localAmaury Forgeot d'Arc2010-09-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | namespace if it occurs as a free variable in a nested block. This limitation of the compiler has been lifted, and a new opcode introduced (DELETE_DEREF). This sample was valid in 2.6, but fails to compile in 3.x without this change:: >>> def f(): ... def print_error(): ... print(e) ... try: ... something ... except Exception as e: ... print_error() ... # implicit "del e" here This sample has always been invalid in Python, and now works:: >>> def outer(x): ... def inner(): ... return x ... inner() ... del x There is no need to bump the PYC magic number: the new opcode is used for code that did not compile before.
* Issue #941346: Improve the build process under AIX and allow Python toAntoine Pitrou2010-09-101-0/+3
| | | | be built as a shared library. Patch by Sébastien Sablé.
* Issue #9804: ascii() now always represents unicode surrogate pairs asAntoine Pitrou2010-09-091-0/+5
| | | | | | a single `\UXXXXXXXX`, regardless of whether the character is printable or not. Also, the "backslashreplace" error handler now joins surrogate pairs into a single character on UCS-2 builds.
* Issue #9410: Various optimizations to the pickle module, leading toAntoine Pitrou2010-09-091-0/+4
| | | | | speedups up to 4x (depending on the benchmark). Mostly ported from Unladen Swallow; initial patch by Alexandre Vassalotti.
* Issue #9757: memoryview objects get a release() method to release theAntoine Pitrou2010-09-091-0/+4
| | | | | underlying buffer (previously this was only done when deallocating the memoryview), and gain support for the context management protocol.
* Have pprint() respect the order in an OrderedDict.Raymond Hettinger2010-09-091-0/+3
|
* Updated VS7.1 project file. (I cannot test this file because I don't have VS7.1)Hirokazu Yamamoto2010-09-091-0/+1
|
* Issue #9188: The gdb extension now handles correctly narrow (UCS2) as wellAntoine Pitrou2010-09-081-0/+7
| | | | | as wide (UCS4) unicode builds for both the host interpreter (embedded inside gdb) and the interpreter under test.
* Issue #9797: pystate.c wrongly assumed that zero couldn't be a validAntoine Pitrou2010-09-081-0/+3
| | | | thread-local storage key.
* logging: Added QueueHandler.Vinay Sajip2010-09-081-0/+3
|
* Add Lukasz.Georg Brandl2010-09-081-0/+3
|
* Issue #9707: Rewritten reference implementation of threading.local whichAntoine Pitrou2010-09-071-0/+5
| | | | | | is friendlier towards reference cycles. This change is not normally visible since an optimized C implementation (_thread._local) is used instead.
* #6394: Add os.getppid() support for Windows.Amaury Forgeot d'Arc2010-09-072-0/+5
|
* Issue #9792: In case of connection failure, socket.create_connection()Antoine Pitrou2010-09-071-0/+5
| | | | | | would swallow the exception and raise a new one, making it impossible to fetch the original errno, or to filter timeout errors. Now the original error is re-raised.
* Issue #9758: When fcntl.ioctl() was called with mutable_flag set to True,Antoine Pitrou2010-09-071-0/+4
| | | | | and the passed buffer was exactly 1024 bytes long, the buffer wouldn't be updated back after the system call. Original patch by Brian Brazil.
* Issue #4026: Make the fcntl extension build under AIX.Antoine Pitrou2010-09-071-0/+6
| | | | Patch by Sébastien Sablé.
* Issues #7889, #9025 and #9379: Improvements to the random module.Raymond Hettinger2010-09-071-1/+10
|
* Document which part of the random module module are guaranteed.Raymond Hettinger2010-09-071-0/+3
|
* Document which part of the random module module are guaranteed.Raymond Hettinger2010-09-061-0/+5
|
* Add method to OrderedDict for repositioning keys to the ends.Raymond Hettinger2010-09-061-0/+3
|
* typoFlorent Xicluna2010-09-061-1/+1
|
* Issue #9754: Similarly to assertRaises and assertRaisesRegexp, unittestAntoine Pitrou2010-09-061-0/+4
| | | | | test cases now also have assertWarns and assertWarnsRegexp methods to check that a given warning type was triggered by the code under test.
* Issue #5506: BytesIO objects now have a getbuffer() method exporting aAntoine Pitrou2010-09-061-0/+4
| | | | | view of their contents without duplicating them. The view is both readable and writable.
* Implement #7566 - os.path.sameopenfile for Windows.Brian Curtin2010-09-061-0/+2
| | | | | | This uses the GetFileInformationByHandle function to return a tuple of values to identify a file, then ntpath.sameopenfile compares file tuples, which is exposed as os.path.sameopenfile.
* hashlib has two new constant attributes: algorithms_guaranteed andGregory P. Smith2010-09-061-0/+5
| | | | | | | | algorithms_avaiable that respectively list the names of hash algorithms guaranteed to exist in all Python implementations and the names of hash algorithms available in the current process. Renames the attribute new in 3.2a0 'algorithms' to 'algorithms_guaranteed'.
* Issue #9293: I/O streams now raise `io.UnsupportedOperation` when anAntoine Pitrou2010-09-051-0/+4
| | | | | unsupported operation is attempted (for example, writing to a file open only for reading).
* Post-release update.Georg Brandl2010-09-051-0/+12
|
* Fix amk’s tracker nameÉric Araujo2010-09-051-2/+2
|
* Fix reST in NEWS, and remove NEWS.help (all committers should now know reST ↵Georg Brandl2010-09-052-87/+12
| | | | anyway, and for those who do not, there is Documenting Python.)
* Rewrap.Georg Brandl2010-09-051-159/+152
|
* Bump to 3.2a2.Georg Brandl2010-09-052-2/+2
|
* Clean-up functools.total_ordering().Raymond Hettinger2010-09-051-1/+1
|
* TypoRaymond Hettinger2010-09-051-2/+2
|
* Issue #8734: Avoid crash in msvcrt.get_osfhandle() when an invalid fileAntoine Pitrou2010-09-041-0/+3
| | | | descriptor is provided. Patch by Pascal Chambon.
* Issue #7451: Improve decoding performance of JSON objects, and reduceAntoine Pitrou2010-09-041-0/+4
| | | | | the memory consumption of said decoded objects when they use the same strings as keys.
* Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replacedAntoine Pitrou2010-09-042-0/+5
| | | | | by the new (and simpler) DUP_TOP_TWO. Performance isn't changed, but our bytecode is a bit simplified. Patch by Demur Rumed.
* _warnings exposed two variables with the name 'default_action' andBrett Cannon2010-09-041-0/+3
| | | | | | | | | | | 'once_registry'. This is bad as the warnings module had variables named 'defaultaction' and 'onceregistry' which are what people should be looking at (technically those variables shouldn't be mucked with as they are undocumented, but we all know better than to believe that isn't happening). So the variables from _warnings have been renamed to come off as private and to avoid confusion over what variable should be used. Closes issue #9766. Thanks to Antoine Pitrou for the discovery.
* Fix Björn's name in ACKS.Antoine Pitrou2010-09-041-1/+1
|