summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue 5032: added a step argument to itertools.count() and allowed ↵Raymond Hettinger2009-02-124-41/+133
| | | | non-integer arguments.
* Issue #4910: PyNumber_Int is deprecated in 3.0.1; will be removed in 3.1.Mark Dickinson2009-02-113-4/+15
|
* Blocked revisions 69509 via svnmergeBenjamin Peterson2009-02-110-0/+0
| | | | | | | | ........ r69509 | raymond.hettinger | 2009-02-10 18:06:17 -0600 (Tue, 10 Feb 2009) | 1 line Clean-up named tuple docs. ........
* Issue #4631: Fix urlopen() result when an HTTP response uses chunked encoding.Antoine Pitrou2009-02-119-21/+50
|
* Clean-up named tuple docs.Raymond Hettinger2009-02-111-4/+5
|
* (The fix has been slightly adjusted.)Thomas Heller2009-02-102-1/+5
| | | | | | | | | | | | Merged revisions 69505 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r69505 | thomas.heller | 2009-02-10 19:43:01 +0100 (Di, 10 Feb 2009) | 3 lines Issue#5203: ctypes segfaults when passing a unicode string to a function without argtypes, if HAVE_USABLE_WCHAR_T is false. ........
* Merged revisions 69500 via svnmerge fromMark Dickinson2009-02-101-1/+2
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69500 | mark.dickinson | 2009-02-10 16:17:16 +0000 (Tue, 10 Feb 2009) | 4 lines _testcapi depends on testcapi_long.h Thanks Lisandro Dalcin. ........
* Merged revisions 69498 via svnmerge fromMark Dickinson2009-02-106-10/+39
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69498 | mark.dickinson | 2009-02-10 15:46:50 +0000 (Tue, 10 Feb 2009) | 6 lines Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for negative arguments. Previously, it raised TypeError. Thanks Lisandro Dalcin. ........
* Merged revisions 69494 via svnmerge fromHirokazu Yamamoto2009-02-103-218/+218
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69494 | hirokazu.yamamoto | 2009-02-10 22:31:28 +0900 | 1 line Fixed svn:eol-style. ........
* Merged revisions 69489-69490 via svnmerge fromMartin v. Löwis2009-02-103-24/+32
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69489 | martin.v.loewis | 2009-02-10 14:09:19 +0100 (Di, 10 Feb 2009) | 1 line Issue #5134: Silence compiler warnings when compiling sqlite with VC++. ........ r69490 | martin.v.loewis | 2009-02-10 14:12:12 +0100 (Di, 10 Feb 2009) | 1 line Set eol-style to native ........
* Merged revisions 69485 via svnmerge fromTarek Ziadé2009-02-103-3/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69485 | tarek.ziade | 2009-02-10 13:31:09 +0100 (Tue, 10 Feb 2009) | 1 line Fixed #3386: the optional prefix argument was ignored under OS2 and NT in distutils.sysconfig.get_python_lib ........
* Merged revisions 69466,69480 via svnmerge fromBenjamin Peterson2009-02-105-3/+39
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69466 | raymond.hettinger | 2009-02-09 12:39:41 -0600 (Mon, 09 Feb 2009) | 3 lines Issue 5171: itertools.product docstring missing 'repeat' argument ........ r69480 | raymond.hettinger | 2009-02-09 19:24:05 -0600 (Mon, 09 Feb 2009) | 1 line Issue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames. ........
* This header was supposed to be committed in r69476Guilherme Polo2009-02-101-0/+25
|
* Merged revisions 69481 via svnmerge fromBrett Cannon2009-02-104-8/+84
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69481 | brett.cannon | 2009-02-09 18:07:38 -0800 (Mon, 09 Feb 2009) | 4 lines compileall used the ctime of bytecode and source to determine if the bytecode should be recreated. This created a timing hole. Fixed by just doing what import does; check the mtime and magic number. ........
* Merged revisions 69474 via svnmerge fromGuilherme Polo2009-02-091-2/+2
| | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69474 | guilherme.polo | 2009-02-09 18:57:45 -0200 (Mon, 09 Feb 2009) | 1 line Enforcing Tk 8.3.1 requirement. ........
* Merged revisions 69473 via svnmerge fromGuilherme Polo2009-02-093-29/+99
| | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69473 | guilherme.polo | 2009-02-09 18:50:27 -0200 (Mon, 09 Feb 2009) | 3 lines Fixed issue #5122: Synchronize tk load failure check to prevent a potential deadlock. ........
* Add a NOTE that alternative VMs should be supported by importlib in a nicerBrett Cannon2009-02-091-0/+4
| | | | fashion by factoring out bytecode support.
* Merged revisions 69460,69467,69470 via svnmerge fromGuilherme Polo2009-02-095-21/+84
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69460 | guilherme.polo | 2009-02-09 14:09:17 -0200 (Mon, 09 Feb 2009) | 1 line Turned setup_master public ........ r69467 | guilherme.polo | 2009-02-09 17:21:21 -0200 (Mon, 09 Feb 2009) | 2 lines Some tests for Tkinter.Text.search ........ r69470 | guilherme.polo | 2009-02-09 17:57:04 -0200 (Mon, 09 Feb 2009) | 1 line Checking for tk availability before continuing (basically the same that is done in test_ttk_guionly) ........
* Merged revisions 69459 via svnmerge fromMark Dickinson2009-02-093-5/+40
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69459 | mark.dickinson | 2009-02-09 14:18:43 +0000 (Mon, 09 Feb 2009) | 3 lines Issue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs. It now forces its argument to double before testing for infinity. ........
* Merged revisions 69461 via svnmerge fromGuilherme Polo2009-02-092-2/+5
| | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69461 | guilherme.polo | 2009-02-09 14:41:09 -0200 (Mon, 09 Feb 2009) | 3 lines Fixed issue #4890: Handle empty text search pattern in Tkinter.Text.search ........
* fix len() when __len__() returns a non number type #5137Benjamin Peterson2009-02-083-1/+16
|
* Blocked revisions 69443 via svnmergeMark Dickinson2009-02-080-0/+0
| | | | | | | | ........ r69443 | mark.dickinson | 2009-02-08 17:33:11 +0000 (Sun, 08 Feb 2009) | 2 lines Silence 'arg may be used uninitialized in this function' warning from gcc. ........
* Merged revisions 69436 via svnmerge fromMark Dickinson2009-02-081-1/+1
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69436 | mark.dickinson | 2009-02-08 14:42:28 +0000 (Sun, 08 Feb 2009) | 10 lines Issue #789290: make sure that hash(2**63) == hash(2.**63) on 64-bit platforms. The previous code was fragile, depending on the twin accidents that: (1) in C, casting the double value 2.**63 to long returns the integer value -2**63, and (2) in Python, hash(-2**63) == hash(2**63). There's already a test for this in test_hash. ........
* remove memoryview.__str__ #5182Benjamin Peterson2009-02-082-17/+3
|
* Blocked revisions 69433 via svnmergeMark Dickinson2009-02-080-0/+0
| | | | | | | | ........ r69433 | mark.dickinson | 2009-02-08 13:58:10 +0000 (Sun, 08 Feb 2009) | 2 lines Remove redundant assignment in _PyObject_LengthHint ........
* Issue #1717: add a DeprecationWarning in 3.x on type initializationMark Dickinson2009-02-081-0/+15
| | | | | for types that implement tp_reserved (formerly tp_compare) but not tp_richcompare.
* Fix broken socket.makefile emulation in test_urllibNick Coghlan2009-02-081-1/+2
|
* Merged revisions 69425 via svnmerge fromNick Coghlan2009-02-084-9/+21
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69425 | nick.coghlan | 2009-02-08 13:17:00 +1000 (Sun, 08 Feb 2009) | 1 line Issue #4512 closeout: Make ZipImport.get_filename() a public method ........
* Merged revisions 69419-69420 via svnmerge fromNick Coghlan2009-02-086-13/+112
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69419 | nick.coghlan | 2009-02-08 11:26:34 +1000 (Sun, 08 Feb 2009) | 1 line Issue 4195: Restore the ability to execute packages with the -m switch (but this time in a way that leaves the import machinery in a valid state). (Original patch by Andi Vajda) ........ r69420 | nick.coghlan | 2009-02-08 11:46:01 +1000 (Sun, 08 Feb 2009) | 1 line Mention patch submitter in NEWS entry for r69419 ........
* revert 69416; it didn't help muchBenjamin Peterson2009-02-081-1/+1
|
* fix typo and test_urllib failuresBenjamin Peterson2009-02-071-1/+1
|
* Issue #4704: remove use of cmp() in pybench, bump its version number to 2.1,Antoine Pitrou2009-02-077-19/+40
| | | | and make it 2.6-compatible.
* Add the missing importlib.test.extension.util.Brett Cannon2009-02-071-0/+21
|
* Merged revisions 69404 via svnmerge fromGuilherme Polo2009-02-072-37/+42
| | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69404 | guilherme.polo | 2009-02-07 00:20:29 -0200 (Sat, 07 Feb 2009) | 2 lines Eliminated the need to use ttk.__loadtk__ and the problems related it. ........
* Update NOTES for importlib now that a replacement for functools.wraps isBrett Cannon2009-02-071-1/+1
| | | | available.
* Create a simple substitute for functools.wraps to use in importlib._bootstrap.Brett Cannon2009-02-072-5/+10
|
* Factor out helper code from importlib.test.extension.test_path_hook.Brett Cannon2009-02-076-42/+21
|
* Add a note for importlib about backporting some of functools.wraps ↵Brett Cannon2009-02-071-1/+4
| | | | functionality.
* Move importlib completely over to using rpartition and accepting the emptyBrett Cannon2009-02-074-15/+22
| | | | string for top-level modules.
* Move importlib's built-in importer to use rpartition for __package__.Brett Cannon2009-02-072-2/+4
|
* Move importlib's frozen importer over to rpartition for setting __package__.Brett Cannon2009-02-072-5/+4
|
* Blocked revisions 69373-69374,69389,69394 via svnmergeBenjamin Peterson2009-02-070-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ........ r69373 | neil.schemenauer | 2009-02-06 15:08:52 -0600 (Fri, 06 Feb 2009) | 5 lines Overhaul Lib/compiler block ordering. The previous code was filled with hacks. The new code is based on issue #2472 posted by Antoine Pitrou. I did some further cleanups of the pyassem code and optimized the block ordering pass. ........ r69374 | neil.schemenauer | 2009-02-06 15:33:45 -0600 (Fri, 06 Feb 2009) | 6 lines Convert "srcdir" into an absolute path if that seems prudent. Currrently the only user of this is Lib/distutils/tests/test_build_ext.py (in order to find the source for xxmodule.c). I'm not sure if other platforms need similar tweaks, I'm not brave enough to attempt it without being able to test. ........ r69389 | neil.schemenauer | 2009-02-06 18:13:39 -0600 (Fri, 06 Feb 2009) | 2 lines Make names generated for 'with' variables match the built-in compiler. ........ r69394 | neil.schemenauer | 2009-02-06 18:54:41 -0600 (Fri, 06 Feb 2009) | 4 lines Issue #999042: The Python compiler now handles explict global statements correctly (should be assigned using STORE_GLOBAL opcode). This was done by having the system table differentiate between explict and implicit globals. ........
* Rewrite the code implementing __import__ for importlib. Now it is much simplerBrett Cannon2009-02-079-498/+113
| | | | | | | | | and relies much more on meta path finders to abstract out various parts of import. As part of this the semantics for import_module tightened up and now follow __import__ much more closely (biggest thing is that the 'package' argument must now already be imported, else a SystemError is raised).
* long -> intGuilherme Polo2009-02-071-1/+1
|
* Merged revisions 69385 via svnmerge fromTarek Ziadé2009-02-072-16/+47
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69385 | tarek.ziade | 2009-02-07 01:05:39 +0100 (Sat, 07 Feb 2009) | 1 line #3986 replacing string and types call (like in the Py3k branch), and put exec_msg call at the right place ........
* Merged revisions 69376-69377 via svnmerge fromGuilherme Polo2009-02-062-18/+33
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69376 | guilherme.polo | 2009-02-06 20:26:22 -0200 (Fri, 06 Feb 2009) | 3 lines Partial fix to issue #1731706: memory leak in Tkapp_Call when calling from a thread different than the one that created the Tcl interpreter. ........ r69377 | guilherme.polo | 2009-02-06 20:48:07 -0200 (Fri, 06 Feb 2009) | 5 lines Issue #1731706: Call Tcl_ConditionFinalize for Tcl_Conditions that will not be used again (this requires Tcl/Tk 8.3.1), also fix a memory leak in Tkapp_Call when calling from a thread different than the one that created the Tcl interpreter. ........
* Fixing changes from the last merge.Guilherme Polo2009-02-062-2/+3
|
* Make test_build_ext.py use sysconfig "srcdir" to find the source forNeil Schemenauer2009-02-062-5/+23
| | | | | xxmodule.c. Have sysconfig make the srcdir path absolute if that seems necessary (running non-installed Python outside the build directory).
* #5173: StandardError wasn't removed in 2.6.Georg Brandl2009-02-061-1/+1
|
* Replace references to python-3000 mailing list with python-dev inMark Dickinson2009-02-061-2/+2
| | | | README.