summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* MergeBrian Curtin2011-06-091-0/+3
|
* Issue #12080: Fix a performance issue in Decimal._power_exact that caused ↵Mark Dickinson2011-06-041-0/+3
| | | | some corner-case Decimal.__pow__ calls to take an unreasonably long time.
* merge 2.7.2 release branchBenjamin Peterson2011-06-031-2/+3
|\
| * another benefit of this changeBenjamin Peterson2011-06-031-2/+3
| |
* | Fix named tuples to work with vars().Raymond Hettinger2011-06-031-0/+2
| |
* | sys.checkinterval() now refreshes the current countdown ticker.Raymond Hettinger2011-06-021-0/+7
| |
* | merge 2.7.2 release branchBenjamin Peterson2011-06-011-0/+11
|\ \ | |/
| * simply use the Python version for pyexpat.__version__ #12221Benjamin Peterson2011-05-311-0/+5
| |
| * add 2.7.2 headerBenjamin Peterson2011-05-311-0/+7
| |
* | Close #12085: Fix an attribute error in subprocess.Popen destructor if theVictor Stinner2011-05-312-0/+5
| | | | | | | | | | constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan.
* | Issue #12057: Add tests for ISO 2022 codecsVictor Stinner2011-05-301-0/+6
| | | | | | | | iso2022_jp, iso2022_jp_2 and iso2022_kr
* | Issue #1195: fix the issue number of the NEWS entryVictor Stinner2011-05-301-1/+1
| |
* | Issue #12016: my_fgets() now always clears errors before calling fgets(). FixVictor Stinner2011-05-301-0/+16
|/ | | | | the following case: sys.stdin.read() stopped with CTRL+d (end of file), raw_input() interrupted by CTRL+c.
* bump to 2.7.2rc1v2.7.2rc1Benjamin Peterson2011-05-292-2/+2
|
* Issue #12205: Fix test_subprocess failure due to uninstalled test data.Ned Deily2011-05-291-0/+2
|
* Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds,Ned Deily2011-05-281-0/+4
| | | | | ensure "make install" creates symlinks in --prefix bin for the "-32" files in the framework bin directory like the installer does.
* Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-05-281-0/+5
| | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren)
* raise an ValueError in getvalue() on closed StringIO (closes #12161)Benjamin Peterson2011-05-262-0/+4
| | | | Thanks for Catalin Iacob for the patch.
* Close #12182: Fix pydoc.HTMLDoc.multicolumn() if Python uses the new (true)Victor Stinner2011-05-262-0/+4
| | | | division (python -Qnew). Patch written by Ralf W. Grosse-Kunstleve.
* Issue #12175: RawIOBase.readall() now returns None if read() returns None.Victor Stinner2011-05-251-0/+2
|
* Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError ifVictor Stinner2011-05-251-0/+3
| | | | the file is closed.
* Issue #1441530: In imaplib, use makefile() to wrap the SSL socket to avoidCharles-François Natali2011-05-241-0/+3
| | | | heap fragmentation and MemoryError with some malloc implementations.
* Issue #12100: Don't reset incremental encoders of CJK codecs at each call toVictor Stinner2011-05-241-0/+4
| | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True.
* correctly lookup __dir__Benjamin Peterson2011-05-231-0/+3
|
* Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner2011-05-211-1/+4
| | | | to be able to unload the module.
* merge headsBenjamin Peterson2011-05-171-0/+6
|\
| * (backport) Fixes #11088: IDLE crashes when using F5 to run a script on OSX ↵Ronald Oussoren2011-05-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Tk 8.5 Without this patch IDLE will crash reliably on OSX when Tkinter is linked to TkCocoa 8.5.x. To reproduce: * Create a new file (script.py) with the following two lines: x = raw_input('prompt: ') print x * Save the script * Run the script using the F5 keyboard shortcut (running from the menu works fine) The patch is a fairly crude hack, but we haven't found a better workaround for this Tk bug yet.
| * (backport)Fix #10154 and #10090: locale normalizes the UTF-8 encoding to ↵Ronald Oussoren2011-05-171-0/+3
| | | | | | | | | | | | | | | | "UTF-8" instead of "UTF8" On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale while "en_US.UTF8" is not. As the former works on Linux as well it is better to normalize to that value.
* | stop using the old brain-dead interface for providing attributes/methodsBenjamin Peterson2011-05-171-0/+4
|/ | | | This closes #12099.
* NEWS entry for fix of issue #9516Ronald Oussoren2011-05-151-0/+3
|
* Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-141-0/+3
| | | | attribute when called without a max_length argument.
* #5723: Improve json tests to be executed with and without accelerations.Ezio Melotti2011-05-141-0/+2
|
* Issue #12062: In the `io` module, fix a flushing bug when doing a certainAntoine Pitrou2011-05-121-0/+5
| | | | | | type of I/O sequence on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again).
* #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵Ezio Melotti2011-05-101-0/+3
| | | | using the C accelerations.
* Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-102-0/+4
| | | | order to accept exactly one connection. Patch by Daniel Evers.
* (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-091-0/+2
| | | | | | | OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
* (Merge 3.1) Issue #1195: Fix input() if it is interrupted by CTRL+d and thenVictor Stinner2011-05-091-0/+3
| | | | CTRL+c, clear the end-of-file indicator after CTRL+d.
* Issue 11164: Remove obsolete allnodes test from minidom test.Martin v. Löwis2011-05-091-0/+2
| | | | Patch by Arfrever Frehtes Taifersar Arahesis.
* #11910: Fix test_heapq to skip the C tests when _heapq is missing.Ezio Melotti2011-05-091-0/+2
|
* Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by ↵Antoine Pitrou2011-05-072-0/+4
| | | | Kasun Herath.
* #10169: Fix argument parsing in socket.sendto() to avoid error masking.Ezio Melotti2011-05-071-0/+2
|
* #12017: Fix segfault in json.loads() while decoding highly-nested objects ↵Ezio Melotti2011-05-071-0/+3
| | | | using the C accelerations.
* #11999: sync based on comparing mtimes, not mtime to system clockR David Murray2011-05-071-0/+4
|
* Backport fix for issue #10684 from 3.xRonald Oussoren2011-05-061-0/+4
|
* #11982: fix json.loads('""') to return u'' rather than ''.Ezio Melotti2011-05-041-0/+2
|
* Issue #8651: PyArg_Parse*() functions raise an OverflowError if the fileVictor Stinner2011-05-031-0/+4
| | | | | doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length bigger than 2^31-1 bytes).
* Issue #8651: Fix "z#" format of PyArg_Parse*() function: the size was notVictor Stinner2011-05-031-0/+3
| | | | written if PY_SSIZE_T_CLEAN is defined.
* (Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS XVictor Stinner2011-05-031-0/+3
| | | | | to get around a mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
* (Merge 3.1) Issue #9756: credit the author, Andreas Stührk (Trundle)Victor Stinner2011-05-012-1/+2
|
* (Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapperVictor Stinner2011-05-011-0/+5
| | | | | | descriptor, the check of the object type doesn't read the __class__ attribute anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy of the str type).