summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 69617 via svnmerge fromBenjamin Peterson2009-02-141-38/+37
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69617 | benjamin.peterson | 2009-02-14 10:51:03 -0600 (Sat, 14 Feb 2009) | 1 line we're no longer using CVS, so this doesn't have to be binary ........
* Merged revisions 69609 via svnmerge fromTarek Ziadé2009-02-147-62/+56
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69609 | tarek.ziade | 2009-02-14 15:10:23 +0100 (Sat, 14 Feb 2009) | 1 line Fix for #5257: refactored all tests in distutils, so they use a temporary directory. ........
* Add keyword argument support to itertools.count().Raymond Hettinger2009-02-141-0/+1
|
* Merged revisions 69602 via svnmerge fromTarek Ziadé2009-02-131-1/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69602 | tarek.ziade | 2009-02-14 00:41:57 +0100 (Sat, 14 Feb 2009) | 1 line fix the environ for distutils test_util ........
* Merged revisions 69598 via svnmerge fromTarek Ziadé2009-02-132-2/+30
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69598 | tarek.ziade | 2009-02-14 00:00:43 +0100 (Sat, 14 Feb 2009) | 1 line Fixed #4524: distutils build_script command failed with --with-suffix=3 ........
* Merged revisions 69594 via svnmerge fromTarek Ziadé2009-02-131-0/+213
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69594 | tarek.ziade | 2009-02-13 23:22:03 +0100 (Fri, 13 Feb 2009) | 1 line Issue #2461: added tests for distutils.util ........
* Merged revisions 69585 via svnmerge fromTarek Ziadé2009-02-131-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69585 | tarek.ziade | 2009-02-13 17:13:16 +0100 (Fri, 13 Feb 2009) | 1 line reverted leak fix, to use the one done in py3k branch (r67382) ........
* #3694: fix an "XXX undetected error" leak in struct.Georg Brandl2009-02-131-0/+4
|
* part of #3613: fix get_host_info() usage of base64.encodestring().Georg Brandl2009-02-132-1/+10
|
* Merged revisions ↵Benjamin Peterson2009-02-135-12/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 69364-69365,69409-69410,69413,69417,69435,69442,69447,69495,69519-69521 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r69364 | kristjan.jonsson | 2009-02-06 04:17:34 -0600 (Fri, 06 Feb 2009) | 1 line Fix a number of Win32ErrorTests error cases. chmod wasn't being tested. 'access' never raises an error. ........ r69365 | armin.rigo | 2009-02-06 05:46:26 -0600 (Fri, 06 Feb 2009) | 2 lines Ivan on IRC in #twisted reported this crasher. ........ r69409 | georg.brandl | 2009-02-07 06:21:17 -0600 (Sat, 07 Feb 2009) | 1 line #5174: fix wrong file closing in example. ........ r69410 | neil.schemenauer | 2009-02-07 08:53:31 -0600 (Sat, 07 Feb 2009) | 4 lines Fix broken test in test_hotshot. Treating the current directory as an empty file is sloppy and non-portable. Use NamedTemporaryFile to make an empty file. ........ r69413 | neil.schemenauer | 2009-02-07 12:35:16 -0600 (Sat, 07 Feb 2009) | 2 lines Add test for issue #999042, explict global statement works. ........ r69417 | benjamin.peterson | 2009-02-07 17:01:19 -0600 (Sat, 07 Feb 2009) | 1 line document individual 2to3 fixers ........ r69435 | benjamin.peterson | 2009-02-08 08:38:13 -0600 (Sun, 08 Feb 2009) | 1 line document numliterals fixer ........ r69442 | benjamin.peterson | 2009-02-08 09:14:57 -0600 (Sun, 08 Feb 2009) | 1 line a few edits and typos ........ r69447 | vinay.sajip | 2009-02-08 13:06:08 -0600 (Sun, 08 Feb 2009) | 2 lines Issue #5170: Fixed Unicode output bug in logging and added test case. This is a regression which did not occur in 2.5. ........ r69495 | kristjan.jonsson | 2009-02-10 07:32:24 -0600 (Tue, 10 Feb 2009) | 1 line Issue 4804. Add a function to test the validity of file descriptors on Windows, and stop using global runtime settings to silence the warnings / assertions. ........ r69519 | gregory.p.smith | 2009-02-11 17:45:25 -0600 (Wed, 11 Feb 2009) | 3 lines Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes even on LP64 platforms (most 64-bit Linux, bsd, unix systems). ........ r69520 | benjamin.peterson | 2009-02-11 21:50:00 -0600 (Wed, 11 Feb 2009) | 1 line os.fsync() should be used to ensure that data is written to disk ........ r69521 | benjamin.peterson | 2009-02-11 22:17:04 -0600 (Wed, 11 Feb 2009) | 1 line no need for this __bases__ trick anymore ........
* Merged revisions 69551 via svnmerge fromTarek Ziadé2009-02-121-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69551 | tarek.ziade | 2009-02-12 21:56:21 +0100 (Thu, 12 Feb 2009) | 1 line fixing the leak introduced in r69304 ........
* Issue 4998: restore utility of __slots__ on Fraction.Mark Dickinson2009-02-122-0/+15
| | | | (forward merge of r68813).
* This fixes issue3883 (text on the buttons in the preferences panel for IDLE ↵Ronald Oussoren2009-02-121-4/+14
| | | | doesn't fit on OSX)
* This fixes issue5143 and includes a test.Ronald Oussoren2009-02-121-0/+34
| | | | | Issue5143 notes that getpath.c and main.c pass a 'char*' where a 'wchar_t*' is expected on OSX.
* Fix for issue5194, based on a patch by Ned Deily.Ronald Oussoren2009-02-125-6/+13
|
* One more test.Raymond Hettinger2009-02-121-0/+3
|
* Add an extra testcase.Raymond Hettinger2009-02-121-0/+3
|
* Fixes Issue #3745: Fix hashlib to always reject unicode and nonGregory P. Smith2009-02-121-0/+12
| | | | | buffer-api supporting objects as input no matter how it was compiled (built in implementations or external openssl library).
* Issue 5032: added a step argument to itertools.count() and allowed ↵Raymond Hettinger2009-02-121-1/+36
| | | | non-integer arguments.
* Issue #4631: Fix urlopen() result when an HTTP response uses chunked encoding.Antoine Pitrou2009-02-118-21/+47
|
* Merged revisions 69498 via svnmerge fromMark Dickinson2009-02-101-2/+2
| | | | | | | | | | | | | 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 69485 via svnmerge fromTarek Ziadé2009-02-102-3/+5
| | | | | | | | | | 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-102-2/+23
| | | | | | | | | | | | | | 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. ........
* Merged revisions 69481 via svnmerge fromBrett Cannon2009-02-102-7/+78
| | | | | | | | | | | | 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. ........
* 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 69461 via svnmerge fromGuilherme Polo2009-02-091-2/+3
| | | | | | | | | | | 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-081-0/+12
|
* Fix broken socket.makefile emulation in test_urllibNick Coghlan2009-02-081-1/+2
|
* Merged revisions 69425 via svnmerge fromNick Coghlan2009-02-081-6/+6
| | | | | | | | | | 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-082-7/+76
| | | | | | | | | | | | | | 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
|
* 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
|
* Rewrite the code implementing __import__ for importlib. Now it is much simplerBrett Cannon2009-02-078-495/+106
| | | | | | | | | 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 ........
* 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).
* Merged revisions 69366 via svnmerge fromTarek Ziadé2009-02-061-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69366 | tarek.ziade | 2009-02-06 14:27:38 +0100 (Fri, 06 Feb 2009) | 1 line Fixed #5167: test_customize_compiler does not apply under non unix compilers ........
* Merged revisions 69360 via svnmerge fromTarek Ziadé2009-02-062-1/+39
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69360 | tarek.ziade | 2009-02-06 09:55:23 +0100 (Fri, 06 Feb 2009) | 1 line removed types usage and added test coverage (work for #3986) ........
* Merged revisions 69141,69211-69212 via svnmerge fromBenjamin Peterson2009-02-062-9/+6
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69141 | benjamin.peterson | 2009-01-31 14:01:48 -0600 (Sat, 31 Jan 2009) | 1 line fix indentation ........ r69211 | guilherme.polo | 2009-02-02 14:23:29 -0600 (Mon, 02 Feb 2009) | 1 line Restore the previous geometry before leaving the test ........ r69212 | guilherme.polo | 2009-02-02 14:28:59 -0600 (Mon, 02 Feb 2009) | 1 line Moving to importlib ........