summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1717, continued: remove PyObject_Compare and Py_CmpToRich declarationsMark Dickinson2009-02-011-3/+5
| | | | | | from object.h; don't inherit tp_compare slot on subclasses; and raise TypeError when initializing a type that has a nonzero tp_compare slot. Fix up comparison-related comments in object.c and code.h.
* Issue #1717: remove the cmp builtin function, the C-API functionsMark Dickinson2009-02-011-0/+4
| | | | PyObject_Cmp, PyObject_Compare, and various support functions.
* The trace module was trying to turn ints into ints since co_lnotab was changedBrett Cannon2009-01-301-0/+3
| | | | to a bytes object.
* Merged revisions 69100 via svnmerge fromAntoine Pitrou2009-01-291-0/+4
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69100 | antoine.pitrou | 2009-01-29 21:19:34 +0100 (jeu., 29 janv. 2009) | 5 lines Issue #2047: shutil.move() could believe that its destination path was inside its source path if it began with the same letters (e.g. "src" vs. "src.new"). ........
* Issue #4707: round(x, n) now returns an integer when x is an integer.Mark Dickinson2009-01-281-0/+3
| | | | Previously it returned a float.
* Merged revisions 69060-69063 via svnmerge fromGuilherme Polo2009-01-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69060 | guilherme.polo | 2009-01-28 17:23:28 -0200 (Wed, 28 Jan 2009) | 2 lines Added support for collecting tests only from specific packages. ........ r69061 | guilherme.polo | 2009-01-28 17:28:04 -0200 (Wed, 28 Jan 2009) | 4 lines * Renaming test_tk_* to test_ttk_* since that is what they are testing. * Added ttk tests to the expected skips mapping just like where test_tcl was expected to be skipped too. ........ r69062 | guilherme.polo | 2009-01-28 18:02:01 -0200 (Wed, 28 Jan 2009) | 1 line Make sure the root windows gets destroyed ........ r69063 | guilherme.polo | 2009-01-28 18:03:26 -0200 (Wed, 28 Jan 2009) | 2 lines Issue #5083: New 'gui' resource for regrtest. ........
* Merged revisions 69053 via svnmerge fromGuilherme Polo2009-01-281-0/+2
| | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69053 | guilherme.polo | 2009-01-28 13:56:01 -0200 (Wed, 28 Jan 2009) | 2 lines Demos for ttk added. ........
* Merged revisions 69050 via svnmerge fromGuilherme Polo2009-01-281-0/+2
| | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69050 | guilherme.polo | 2009-01-28 11:09:03 -0200 (Wed, 28 Jan 2009) | 2 lines Added the ttk module. See issue #2983: Ttk support for Tkinter. ........
* Issue 5021: doctest.testfile should set __name__Raymond Hettinger2009-01-271-0/+6
|
* Forward port r69001: itertools.combinations_with_replacement().Raymond Hettinger2009-01-271-1/+2
|
* Merged revisions 68951 via svnmerge fromTarek Ziadé2009-01-261-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68951 | tarek.ziade | 2009-01-26 00:34:00 +0100 (Mon, 26 Jan 2009) | 1 line Fixed #1885: --formats=tar,gztar was not working properly in the sdist command ........
* Forward port r68941 adding itertools.compress().Raymond Hettinger2009-01-261-0/+2
|
* As discussed on python-dev, remove several operator functionsRaymond Hettinger2009-01-261-0/+4
| | | | | | | | | isSequenceType(), isMappingType(), and isNumberType() in favor of using abstract base classes. Also, remove repeat() and irepeat() in favor of mul() and imul(). After the buildbots have had a go at this. Will backport to Py3.0.1. For Py2.7, will just mark as deprecated.
* Merged revisions 68929 via svnmerge fromTarek Ziadé2009-01-251-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68929 | tarek.ziade | 2009-01-25 19:19:25 +0100 (Sun, 25 Jan 2009) | 1 line Fixed #4863: removed distutils.mwerkscompiler ........
* Issue #4753: By enabling a configure option named '--with-computed-gotos'Antoine Pitrou2009-01-251-0/+5
| | | | | | on compilers that support it (notably: gcc, SunPro, icc), the bytecode evaluation loop is compiled with a new dispatch mechanism which gives speedups of up to 20%, depending on the system, on various benchmarks.
* merge r68915 to py3kJesse Noller2009-01-252-0/+5
|
* Merged revisions 68903,68906 via svnmerge fromMark Dickinson2009-01-241-0/+3
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68903 | mark.dickinson | 2009-01-24 16:40:29 +0000 (Sat, 24 Jan 2009) | 5 lines Issue #1672332: Fix unpickling of subnormal floats, which was raising ValueError on some platforms as a result of the platform strtod setting errno on underflow. ........ r68906 | mark.dickinson | 2009-01-24 21:08:38 +0000 (Sat, 24 Jan 2009) | 2 lines Issue #3657: fix occasional test_pickletools failures. ........
* Merged revisions 68893 via svnmerge fromMartin v. Löwis2009-01-241-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68893 | martin.v.loewis | 2009-01-24 16:47:27 +0100 (Sa, 24 Jan 2009) | 3 lines Issue #3881: Help Tcl to load even when started through the unreadable local symlink to "Program Files" on Vista. ........
* Merged revisions 68885 via svnmerge fromMartin v. Löwis2009-01-241-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68885 | martin.v.loewis | 2009-01-24 15:00:33 +0100 (Sa, 24 Jan 2009) | 3 lines Issue #4710: Extract directories properly in the zipfile module; allow adding directories to a zipfile. ........
* merge 68874 to py3kwq!Jesse Noller2009-01-231-0/+4
|
* Issue #4874: Most builtin decoders now reject unicode input.Antoine Pitrou2009-01-221-0/+2
|
* Merged revisions 68835 via svnmerge fromAntoine Pitrou2009-01-211-0/+5
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68835 | antoine.pitrou | 2009-01-21 01:45:36 +0100 (mer., 21 janv. 2009) | 6 lines Issue #5008: When a file is opened in append mode with the new IO library, do an explicit seek to the end of file (so that e.g. tell() returns the file size rather than 0). This is consistent with the behaviour of the traditional 2.x file object. ........
* Issue 5013: Fixed bug in FileHandler when delay was set - added fix for ↵Vinay Sajip2009-01-211-7/+10
| | | | RotatingFileHandler and changed header comment slightly.
* Issue 4842, patch 2/2: int('3L') should be invalid in Python 3.x.Mark Dickinson2009-01-201-0/+3
|
* Issue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with theMark Dickinson2009-01-201-0/+3
| | | | | | 'L' opcode always appends an 'L' on output, just as 2.x does. When unpickling, remove the trailing 'L' (if present) before passing the result to PyLong_FromString.
* Document the (very small) public API for importlib. As time goes on and someBrett Cannon2009-01-201-0/+2
| | | | key refactorings occur more of the API will be exposed and documented.
* merge r68768 to py3kJesse Noller2009-01-191-0/+4
|
* reenable the invalid fd test for fdopenBenjamin Peterson2009-01-191-0/+2
|
* merge cl r68737 to py3kJesse Noller2009-01-181-0/+3
|
* Correct issue number for 68728 checkinJesse Noller2009-01-181-1/+1
|
* Issues #10867: remove old cPickle imports from multiprocessingJesse Noller2009-01-181-0/+3
|
* Merge r68708 to py3k, fixes 4449Jesse Noller2009-01-181-0/+6
|
* Issue #4838: When a module is deallocated, free the memory backing the ↵Antoine Pitrou2009-01-171-0/+3
| | | | optional module state data.
* Issue #4910, patch 3/3: rename nb_long to nb_reservedMark Dickinson2009-01-171-0/+3
|
* fix inspect.formatargspec on functions with keyword-only arguments without ↵Benjamin Peterson2009-01-171-0/+3
| | | | defaults #4959
* Merged revisions 68611-68613 via svnmerge fromMark Dickinson2009-01-151-0/+2
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68611 | mark.dickinson | 2009-01-15 14:54:37 +0000 (Thu, 15 Jan 2009) | 2 lines Issue #4397. Fix occasional test_socket failure on OS X. ........ r68612 | mark.dickinson | 2009-01-15 14:58:28 +0000 (Thu, 15 Jan 2009) | 2 lines Comment typo ........ r68613 | mark.dickinson | 2009-01-15 15:17:43 +0000 (Thu, 15 Jan 2009) | 2 lines Another typo fix. ........
* Issue #1696199: Add collections.Counter().Raymond Hettinger2009-01-141-0/+3
| | | | Forward port from Py2.7.
* Issue #4935: The overflow checking code in the expandtabs() method commonAntoine Pitrou2009-01-131-0/+4
| | | | | | | to str, bytes and bytearray could be optimized away by the compiler (*), letting the interpreter segfault instead of raising an error. (*) or at least it is our interpretation
* Merged revisions 68560 via svnmerge fromAmaury Forgeot d'Arc2009-01-121-0/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68560 | amaury.forgeotdarc | 2009-01-13 00:36:55 +0100 (mar., 13 janv. 2009) | 6 lines #3720: Interpreter crashes when an evil iterator removes its own next function. Now the slot is filled with a function that always raises. Will not backport: extensions compiled with 2.6.x would not run on 2.6.0. ........
* Issue #4910 (1st patch of a series): fix int() and the correspondingMark Dickinson2009-01-121-0/+4
| | | | | | | | | PyNumber_Int/PyNumber_Long API function so that it no longer attempts to call the __long__ method for conversion. Only the __int__ and __trunc__ methods are used. (This removes a major remaining use of the nb_long slot from the Python 3.x core.) Thanks Benjamin for review.
* Merged revisions 68455,68476,68542 via svnmerge fromMartin v. Löwis2009-01-121-0/+2
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68455 | kristjan.jonsson | 2009-01-09 21:03:27 +0100 (Fr, 09 Jan 2009) | 1 line Issue 3582. Improved thread support and TLS for Windows ........ r68476 | kristjan.jonsson | 2009-01-10 13:14:31 +0100 (Sa, 10 Jan 2009) | 1 line Issue 4906: Preserve windows error state across PyThread_get_key_value ........ r68542 | martin.v.loewis | 2009-01-12 09:11:24 +0100 (Mo, 12 Jan 2009) | 2 lines Issue #4893: Use NT threading on CE. ........
* Merged revisions 68540 via svnmerge fromMartin v. Löwis2009-01-121-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68540 | martin.v.loewis | 2009-01-12 08:57:11 +0100 (Mo, 12 Jan 2009) | 2 lines Issue #4915: Port sysmodule to Windows CE. ........
* Fixes issue #3826 and #4791:Gregory P. Smith2009-01-121-0/+4
| | | | | | | Have SocketIO objects update their reference count in the underlying socket object on close() so that the underlying socket object is closed immediately when the last user is done rather than at an unknown later time when garbage collection can do it.
* Merged revisions 68527 via svnmerge fromMartin v. Löwis2009-01-111-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68527 | martin.v.loewis | 2009-01-11 10:43:55 +0100 (So, 11 Jan 2009) | 2 lines Issue #4895: Use _strdup on Windows CE. ........
* Merged revisions 68523 via svnmerge fromMartin v. Löwis2009-01-111-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68523 | martin.v.loewis | 2009-01-11 10:26:54 +0100 (So, 11 Jan 2009) | 2 lines Issue #4279: Fix build of parsermodule under Cygwin. ........
* Merged revisions 68496 via svnmerge fromAntoine Pitrou2009-01-101-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68496 | antoine.pitrou | 2009-01-10 19:33:21 +0100 (sam., 10 janv. 2009) | 3 lines Add ACKS entries for some of the patches I've been committing. ........
* Merge r68487 from svn+ssh://pythondev@svn.python.org/python/trunk:Matthias Klose2009-01-101-0/+3
| | | | | - Issue #4861: ctypes.util.find_library(): Robustify. Fix library detection on biarch systems. Try to rely on ldconfig only, without using objdump and gcc.
* Merged revisions 68484-68485 via svnmerge fromAntoine Pitrou2009-01-101-0/+2
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68484 | antoine.pitrou | 2009-01-10 17:13:45 +0100 (sam., 10 janv. 2009) | 3 lines Issue #3860: GzipFile and BZ2File now support the context manager protocol. ........ r68485 | antoine.pitrou | 2009-01-10 17:15:24 +0100 (sam., 10 janv. 2009) | 1 line Add NEWS entry for r68484. ........
* Issue #4868: utf-8, utf-16 and latin1 decoding are now 2x to 4x faster. TheAntoine Pitrou2009-01-101-0/+4
| | | | | | | | common cases are optimized thanks to a dedicated fast path and a moderate amount of loop unrolling. This will especially help text I/O (we already register a 30% speedup on large reads on the io-c branch).
* Merged revisions 68462 via svnmerge fromAntoine Pitrou2009-01-091-0/+6
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68462 | antoine.pitrou | 2009-01-09 22:40:55 +0100 (ven., 09 janv. 2009) | 6 lines Issue #4074: Change the criteria for doing a full garbage collection (i.e. collecting the oldest generation) so that allocating lots of objects without destroying them does not show quadratic performance. Based on a proposal by Martin von Löwis at http://mail.python.org/pipermail/python-dev/2008-June/080579.html. ........