]>
granicus.if.org Git - python/log
Benjamin Peterson [Sat, 27 Feb 2010 17:41:13 +0000 (17:41 +0000)]
check PyDict_New() for error
Benjamin Peterson [Sat, 27 Feb 2010 17:40:01 +0000 (17:40 +0000)]
only accept AttributeError as indicating no __prepare__ attribute on a metaclass, allowing lookup errors to propogate
Florent Xicluna [Sat, 27 Feb 2010 16:12:22 +0000 (16:12 +0000)]
Use UTF-8 encoding to create Python test scripts.
Florent Xicluna [Sat, 27 Feb 2010 15:16:59 +0000 (15:16 +0000)]
Blocked revisions 78497 via svnmerge
........
r78497 | florent.xicluna | 2010-02-27 16:10:19 +0100 (sam, 27 fév 2010) | 2 lines
#7793: Fix RuntimeError when running "regrtest -R" for multibyte codecs.
........
Florent Xicluna [Sat, 27 Feb 2010 14:21:57 +0000 (14:21 +0000)]
For 3.x, the "backslashreplace" error handling is plugged on the "write" method.
Recorded merge of revisions 78488 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78488 | florent.xicluna | 2010-02-27 14:31:23 +0100 (sam, 27 fév 2010) | 2 lines
Issue #
1729305 : Fix doctest to handle encode error with "backslashreplace". It fixes #7667 too.
........
Ezio Melotti [Sat, 27 Feb 2010 13:54:27 +0000 (13:54 +0000)]
Merged revisions 78489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78489 | ezio.melotti | 2010-02-27 15:50:35 +0200 (Sat, 27 Feb 2010) | 1 line
Fix missing parenthesis.
........
Ezio Melotti [Sat, 27 Feb 2010 12:43:58 +0000 (12:43 +0000)]
Blocked revisions 78486 via svnmerge
........
r78486 | ezio.melotti | 2010-02-27 14:42:52 +0200 (Sat, 27 Feb 2010) | 1 line
Add a test for normpath to test_macpath.
........
Florent Xicluna [Sat, 27 Feb 2010 11:31:21 +0000 (11:31 +0000)]
Merged revisions 78482 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78482 | florent.xicluna | 2010-02-27 12:19:18 +0100 (sam, 27 fév 2010) | 2 lines
Add entry for issue #691291.
........
Gregory P. Smith [Sat, 27 Feb 2010 08:33:11 +0000 (08:33 +0000)]
Update a comment with more details.
Gregory P. Smith [Sat, 27 Feb 2010 07:22:22 +0000 (07:22 +0000)]
Add an os.get_exec_path() function to return the list of directories
that launching a subprocess will search for the executable.
Refactors some code in os._execvpe().
Ezio Melotti [Sat, 27 Feb 2010 01:11:44 +0000 (01:11 +0000)]
Blocked revisions 78465 via svnmerge
........
r78465 | ezio.melotti | 2010-02-27 01:27:06 +0200 (Sat, 27 Feb 2010) | 1 line
typo: __next__ -> next
........
Benjamin Peterson [Sat, 27 Feb 2010 00:45:21 +0000 (00:45 +0000)]
revert unapplicable change to py3k
Benjamin Peterson [Sat, 27 Feb 2010 00:17:04 +0000 (00:17 +0000)]
Blocked revisions 78468 via svnmerge
........
r78468 | benjamin.peterson | 2010-02-26 18:11:42 -0600 (Fri, 26 Feb 2010) | 1 line
run autoconf
........
Benjamin Peterson [Sat, 27 Feb 2010 00:14:20 +0000 (00:14 +0000)]
run autoconf
Benjamin Peterson [Sat, 27 Feb 2010 00:13:52 +0000 (00:13 +0000)]
Merged revisions 78467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78467 | ezio.melotti | 2010-02-26 18:05:42 -0600 (Fri, 26 Feb 2010) | 1 line
Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase).
........
Andrew M. Kuchling [Fri, 26 Feb 2010 13:35:56 +0000 (13:35 +0000)]
Merged revisions 78463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78463 | andrew.kuchling | 2010-02-26 08:22:50 -0500 (Fri, 26 Feb 2010) | 1 line
#7407: specify default maxsize value; patch by Floris Bruynooghe
........
Florent Xicluna [Fri, 26 Feb 2010 11:12:33 +0000 (11:12 +0000)]
Merged revisions 78461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78461 | florent.xicluna | 2010-02-26 11:40:58 +0100 (ven, 26 fév 2010) | 2 lines
#691291: codecs.open() should not convert end of lines on reading and writing.
........
Senthil Kumaran [Fri, 26 Feb 2010 00:53:23 +0000 (00:53 +0000)]
Merged revisions 78457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78457 | senthil.kumaran | 2010-02-26 06:17:05 +0530 (Fri, 26 Feb 2010) | 3 lines
Fixing issue5475 : urllib2.getproxies not documented
........
Vinay Sajip [Thu, 25 Feb 2010 23:13:06 +0000 (23:13 +0000)]
Merged revisions 77967,77969,78033,78055,78081,78085,78108 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77967 | vinay.sajip | 2010-02-04 18:48:53 +0000 (Thu, 04 Feb 2010) | 1 line
Logging: Implemented PEP 391.
........
r77969 | vinay.sajip | 2010-02-04 20:18:28 +0000 (Thu, 04 Feb 2010) | 1 line
Removed spurious print statement.
........
r78033 | benjamin.peterson | 2010-02-06 22:08:15 +0000 (Sat, 06 Feb 2010) | 1 line
make waiting for the server to start robust
........
r78055 | vinay.sajip | 2010-02-07 01:37:08 +0000 (Sun, 07 Feb 2010) | 1 line
Issue #7868: logging: added loggerClass attribute to Manager.
........
r78081 | vinay.sajip | 2010-02-07 12:56:54 +0000 (Sun, 07 Feb 2010) | 1 line
Issue #7869: logging: improved format-time diagnostics and removed some 1.5.2 support code.
........
r78085 | vinay.sajip | 2010-02-07 13:06:51 +0000 (Sun, 07 Feb 2010) | 1 line
logging: Removed some more 1.5.2 support code.
........
r78108 | vinay.sajip | 2010-02-08 21:18:15 +0000 (Mon, 08 Feb 2010) | 1 line
logging: gingerly re-enabling skipped tests after improving thread sync code in configurator.
........
Martin v. Löwis [Thu, 25 Feb 2010 20:45:06 +0000 (20:45 +0000)]
Merged revisions 78327,78399,78454 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78327 | andrew.kuchling | 2010-02-22 18:21:54 +0100 (Mo, 22 Feb 2010) | 1 line
Note granting of commit privileges to Larry Hastings
........
r78399 | brett.cannon | 2010-02-24 02:38:04 +0100 (Mi, 24 Feb 2010) | 1 line
Record that Dino Viehland got commit privs.
........
r78454 | martin.v.loewis | 2010-02-25 21:42:40 +0100 (Do, 25 Feb 2010) | 2 lines
Add Florent Xicluna.
........
Ezio Melotti [Thu, 25 Feb 2010 17:53:21 +0000 (17:53 +0000)]
Blocked revisions 78449 via svnmerge
........
r78449 | ezio.melotti | 2010-02-25 19:36:04 +0200 (Thu, 25 Feb 2010) | 1 line
#7649: "u'%c' % char" now behaves like "u'%s' % char" and raises a UnicodeDecodeError if 'char' is a byte string that can't be decoded using the default encoding.
........
Eric Smith [Thu, 25 Feb 2010 14:58:13 +0000 (14:58 +0000)]
Merged revisions 78444 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78444 | eric.smith | 2010-02-25 09:26:33 -0500 (Thu, 25 Feb 2010) | 1 line
Issue #7928: Document str.format element_index better.
........
Eric Smith [Thu, 25 Feb 2010 14:18:57 +0000 (14:18 +0000)]
Merged revisions 78440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78440 | eric.smith | 2010-02-25 09:14:35 -0500 (Thu, 25 Feb 2010) | 1 line
Issue #5965: Add documentation for parts of format specification language.
........
Benjamin Peterson [Thu, 25 Feb 2010 01:22:28 +0000 (01:22 +0000)]
plug reference leak
Larry Hastings [Wed, 24 Feb 2010 22:49:58 +0000 (22:49 +0000)]
Issue #5939: Add additional runtime checking to ensure a valid capsule
in Modules/_ctypes/callproc.c. Reviewed by Benjamin P. My first commit!
Senthil Kumaran [Wed, 24 Feb 2010 21:03:37 +0000 (21:03 +0000)]
Merged revisions 78431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78431 | senthil.kumaran | 2010-02-25 02:25:31 +0530 (Thu, 25 Feb 2010) | 4 lines
Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
a existing req object already having data.
........
Ezio Melotti [Wed, 24 Feb 2010 16:55:43 +0000 (16:55 +0000)]
Merged revisions 78424 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78424 | ezio.melotti | 2010-02-24 18:49:56 +0200 (Wed, 24 Feb 2010) | 1 line
typos
........
Senthil Kumaran [Wed, 24 Feb 2010 16:53:16 +0000 (16:53 +0000)]
Merged revisions 78422 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78422 | senthil.kumaran | 2010-02-24 22:15:46 +0530 (Wed, 24 Feb 2010) | 2 lines
Fix for Issue3819 - urllib2 sends Basic auth across redirects
........
Eric Smith [Wed, 24 Feb 2010 15:42:29 +0000 (15:42 +0000)]
Merged revisions 78418 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78418 | eric.smith | 2010-02-24 09:15:36 -0500 (Wed, 24 Feb 2010) | 1 line
Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings.
........
R. David Murray [Wed, 24 Feb 2010 02:37:33 +0000 (02:37 +0000)]
Blocked revisions 78412 via svnmerge
........
r78412 | r.david.murray | 2010-02-23 21:31:27 -0500 (Tue, 23 Feb 2010) | 6 lines
Issue 7975: in python 2.6 bsddb.dbshelve switched from DictMixin to
MutableMapping, and thereby lost functionality because the replacement
functionality was implemented incorrectly or incompletely). Since bsddb
isn't in py3k, this patch just goes back to using DictMixin in order to
correct the regression.
........
Benjamin Peterson [Wed, 24 Feb 2010 02:28:05 +0000 (02:28 +0000)]
Merged revisions 78408 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r78408 | benjamin.peterson | 2010-02-23 20:24:35 -0600 (Tue, 23 Feb 2010) | 9 lines
Merged revisions 78407 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r78407 | benjamin.peterson | 2010-02-23 20:21:34 -0600 (Tue, 23 Feb 2010) | 1 line
rewrite test to not rely on __doc__ being present
........
................
R. David Murray [Wed, 24 Feb 2010 02:11:08 +0000 (02:11 +0000)]
Merged revisions 78403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78403 | r.david.murray | 2010-02-23 21:08:28 -0500 (Tue, 23 Feb 2010) | 3 lines
The primary copy of lib2to3 is not trunk, so the lib2to3 change
should not have been included in the -OO patch, back it out.
........
R. David Murray [Wed, 24 Feb 2010 01:46:21 +0000 (01:46 +0000)]
Merged revisions 78351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78351 | r.david.murray | 2010-02-22 19:24:49 -0500 (Mon, 22 Feb 2010) | 5 lines
Issue 6292: for the moment at least, the test suite passes if run
with -OO. Tests requiring docstrings are skipped. Patch by
Brian Curtin, thanks to Matias Torchinsky for helping review and
improve the patch.
........
Amaury Forgeot d'Arc [Wed, 24 Feb 2010 00:10:48 +0000 (00:10 +0000)]
Merged revisions 78393 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78393 | amaury.forgeotdarc | 2010-02-24 00:19:39 +0100 (mer., 24 févr. 2010) | 2 lines
#4852: Remove dead code in every thread implementation, unused for many years.
........
Victor Stinner [Tue, 23 Feb 2010 23:21:33 +0000 (23:21 +0000)]
Blocked revisions 78392 via svnmerge
........
r78392 | victor.stinner | 2010-02-24 00:16:07 +0100 (mer., 24 févr. 2010) | 4 lines
Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF
=> raise an UnicodeDecodeError. Patch written by Ezio Melotti.
........
R. David Murray [Tue, 23 Feb 2010 23:00:34 +0000 (23:00 +0000)]
Fix version added for csv writeheader.
R. David Murray [Tue, 23 Feb 2010 22:57:58 +0000 (22:57 +0000)]
Merged revisions 78384 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78384 | dirkjan.ochtman | 2010-02-23 16:09:52 -0500 (Tue, 23 Feb 2010) | 4 lines
Fix #
1537721 : add writeheader() method to csv.DictWriter.
Reviewed by skip.montanaro and thomas.wouters.
........
Thomas Heller [Tue, 23 Feb 2010 20:25:02 +0000 (20:25 +0000)]
Merged revisions 78380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78380 | thomas.heller | 2010-02-23 21:11:44 +0100 (Di, 23 Feb 2010) | 4 lines
ctypes CThunkObject was not registered correctly with the cycle
garbage collector, leading to possible leaks when using callback
functions.
........
Mark Dickinson [Tue, 23 Feb 2010 13:20:58 +0000 (13:20 +0000)]
Merged revisions 78372-78373 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78372 | mark.dickinson | 2010-02-23 12:53:52 +0000 (Tue, 23 Feb 2010) | 1 line
Make global variable overflowok into a keyword argument; this fixes a failure when running ./python -m test.regrtest -R 3:2: test_format
........
r78373 | mark.dickinson | 2010-02-23 13:06:50 +0000 (Tue, 23 Feb 2010) | 1 line
Fix spacing nit. Thanks Eric Smith for the public humiliation.
........
Tarek Ziadé [Tue, 23 Feb 2010 06:00:04 +0000 (06:00 +0000)]
Merged revisions 78367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78367 | tarek.ziade | 2010-02-23 00:53:05 -0500 (Tue, 23 Feb 2010) | 1 line
fixed #5801: removed spurious empty lines in wsgiref
........
Tarek Ziadé [Tue, 23 Feb 2010 05:39:18 +0000 (05:39 +0000)]
Merged revisions 78364 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78364 | tarek.ziade | 2010-02-23 00:36:41 -0500 (Tue, 23 Feb 2010) | 1 line
completed the __all__ list and changed the module doctest
........
Tarek Ziadé [Tue, 23 Feb 2010 05:30:31 +0000 (05:30 +0000)]
Merged revisions 78359-78360 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78359 | tarek.ziade | 2010-02-23 00:16:41 -0500 (Tue, 23 Feb 2010) | 1 line
added make_archive (and secondary APIs) to shutil
........
r78360 | tarek.ziade | 2010-02-23 00:20:22 -0500 (Tue, 23 Feb 2010) | 1 line
added a note on shutil new APIs
........
Tarek Ziadé [Tue, 23 Feb 2010 05:03:26 +0000 (05:03 +0000)]
Merged revisions 78354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78354 | tarek.ziade | 2010-02-22 23:57:05 -0500 (Mon, 22 Feb 2010) | 1 line
removed debugging code
........
Eric Smith [Tue, 23 Feb 2010 00:22:24 +0000 (00:22 +0000)]
Merged revisions 78349 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78349 | eric.smith | 2010-02-22 19:11:16 -0500 (Mon, 22 Feb 2010) | 1 line
Issue #6902: Fix problem with built-in types format incorrectly with 0 padding.
........
Andrew M. Kuchling [Mon, 22 Feb 2010 23:26:10 +0000 (23:26 +0000)]
#4532: fixes to make 3.x compile on QNX 6.3.2 (reported by Matt Kraai)
Andrew M. Kuchling [Mon, 22 Feb 2010 22:16:58 +0000 (22:16 +0000)]
#6666: fix bug in trace.py that applied the list of ignored dirs only to 1st file
Jack Diederich [Mon, 22 Feb 2010 19:55:46 +0000 (19:55 +0000)]
fixes issue #
1522237 , bad init check in _threading_local
Antoine Pitrou [Mon, 22 Feb 2010 19:41:37 +0000 (19:41 +0000)]
Poor PLAN9, it isn't supported
Eric Smith [Mon, 22 Feb 2010 18:54:44 +0000 (18:54 +0000)]
Merged revisions 78329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78329 | eric.smith | 2010-02-22 13:33:47 -0500 (Mon, 22 Feb 2010) | 1 line
Issue #7988: Fix default alignment to be right aligned for complex.__format__. Now it matches other numeric types.
........
Senthil Kumaran [Mon, 22 Feb 2010 17:17:22 +0000 (17:17 +0000)]
Fixing Issue7399 - Fixing an example of urllib usage.
Andrew M. Kuchling [Mon, 22 Feb 2010 16:52:52 +0000 (16:52 +0000)]
Merged revisions 78318 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78318 | andrew.kuchling | 2010-02-22 11:26:47 -0500 (Mon, 22 Feb 2010) | 1 line
#7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen
........
Ezio Melotti [Mon, 22 Feb 2010 16:34:50 +0000 (16:34 +0000)]
Merged revisions 78319 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78319 | ezio.melotti | 2010-02-22 18:30:58 +0200 (Mon, 22 Feb 2010) | 1 line
#7482: clarify error message in case of division by zero of float and complex numbers.
........
Ezio Melotti [Mon, 22 Feb 2010 15:59:01 +0000 (15:59 +0000)]
#7310: fix the repr() of os.environ
Mark Dickinson [Mon, 22 Feb 2010 15:41:48 +0000 (15:41 +0000)]
Merged revisions 78312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78312 | mark.dickinson | 2010-02-22 15:40:28 +0000 (Mon, 22 Feb 2010) | 1 line
Clarify description of three-argument pow for Decimal types: the exponent of the result is always 0.
........
Andrew M. Kuchling [Mon, 22 Feb 2010 15:24:43 +0000 (15:24 +0000)]
#7794: describe 3.1 support for executing directories and zip archives
Andrew M. Kuchling [Mon, 22 Feb 2010 15:15:21 +0000 (15:15 +0000)]
Merged revisions 78308 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78308 | andrew.kuchling | 2010-02-22 10:13:17 -0500 (Mon, 22 Feb 2010) | 2 lines
#6414: clarify description of processor endianness.
Text by Alexey Shamrin; I changed 'DEC Alpha' to the more relevant 'Intel Itanium'.
........
Eric Smith [Mon, 22 Feb 2010 14:58:30 +0000 (14:58 +0000)]
Issue #5988: Delete deprecated functions PyOS_ascii_formatd, PyOS_ascii_strtod, and PyOS_ascii_atof.
Andrew M. Kuchling [Mon, 22 Feb 2010 14:57:30 +0000 (14:57 +0000)]
Merged revisions 78303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78303 | andrew.kuchling | 2010-02-22 09:53:17 -0500 (Mon, 22 Feb 2010) | 1 line
#7794: describe 2.6 support for executing directories and zip archives
........
Senthil Kumaran [Mon, 22 Feb 2010 11:00:50 +0000 (11:00 +0000)]
Merged revisions 78299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78299 | senthil.kumaran | 2010-02-22 16:25:08 +0530 (Mon, 22 Feb 2010) | 4 lines
Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing
server to resource in the 405 response msg.
........
Brett Cannon [Sun, 21 Feb 2010 14:50:48 +0000 (14:50 +0000)]
The last bug reported for 'time' made me realize I hate dealing with it, so I
am taking myself off as its official maintainer.
Mark Dickinson [Sun, 21 Feb 2010 14:49:52 +0000 (14:49 +0000)]
Merged revisions 78287 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78287 | mark.dickinson | 2010-02-21 14:42:27 +0000 (Sun, 21 Feb 2010) | 1 line
Reduce number of random tests in test_strtod, to avoid hogging buildbot time.
........
Mark Dickinson [Sun, 21 Feb 2010 13:46:40 +0000 (13:46 +0000)]
Blocked revisions 78280 via svnmerge
........
r78280 | mark.dickinson | 2010-02-21 12:57:35 +0000 (Sun, 21 Feb 2010) | 1 line
Fix complex type to avoid implicit calls to complex.__coerce__.
........
Mark Dickinson [Sun, 21 Feb 2010 13:42:03 +0000 (13:42 +0000)]
Merged revisions 78281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78281 | mark.dickinson | 2010-02-21 13:37:53 +0000 (Sun, 21 Feb 2010) | 1 line
Issue #7384: skip test_curses on FreeBSD, in order to allow other buildbot tests to complete.
........
R. David Murray [Sun, 21 Feb 2010 04:39:40 +0000 (04:39 +0000)]
Merged revisions 78274 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78274 | r.david.murray | 2010-02-20 23:23:00 -0500 (Sat, 20 Feb 2010) | 9 lines
Issue 7970: When email.Parser.Parser parses a MIME message of type
message/rfc822 it turns it into an object whose body consists of
a list containing a single Message object. HeaderParser, on the
other hand, just copies the body as a string. Generator.flatten
has a special handler for the message mime type that expected the
body to be the one item list. This fails if the message was parsed
by HeaderParser. So we now check to see if the body is a string
first, and if so just we just emit it.
........
Senthil Kumaran [Sat, 20 Feb 2010 22:19:04 +0000 (22:19 +0000)]
Merged revisions 78268 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Ezio Melotti [Sat, 20 Feb 2010 09:47:55 +0000 (09:47 +0000)]
Merged revisions 78249 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78249 | ezio.melotti | 2010-02-20 11:40:07 +0200 (Sat, 20 Feb 2010) | 1 line
Remove e assertIs definitions and use correct assert* methods.
........
Brett Cannon [Fri, 19 Feb 2010 16:04:36 +0000 (16:04 +0000)]
Add a NEWS entry for r78242.
Brett Cannon [Fri, 19 Feb 2010 16:01:06 +0000 (16:01 +0000)]
Importlib was not matching import's handling of .pyc files where it had less
then 8 bytes total in the file.
Fixes issues 7361 & 7875.
Brett Cannon [Fri, 19 Feb 2010 15:57:10 +0000 (15:57 +0000)]
Check that sys.path_hooks and __import__ are not changed by tests.
Ezio Melotti [Fri, 19 Feb 2010 14:49:02 +0000 (14:49 +0000)]
urllib.urlparse -> urllib.parse.urlparse
Georg Brandl [Fri, 19 Feb 2010 09:10:15 +0000 (09:10 +0000)]
#5341: fix parenthesis placement.
Senthil Kumaran [Fri, 19 Feb 2010 07:42:50 +0000 (07:42 +0000)]
Merged revisions 78234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78234 | senthil.kumaran | 2010-02-19 13:02:48 +0530 (Fri, 19 Feb 2010) | 2 lines
Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986
........
Fred Drake [Fri, 19 Feb 2010 06:08:41 +0000 (06:08 +0000)]
Merged revisions 78232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78232 | fred.drake | 2010-02-19 00:24:30 -0500 (Fri, 19 Feb 2010) | 3 lines
- apply patch from issue 7005
- add corresponding documentation
........
Benjamin Peterson [Fri, 19 Feb 2010 01:05:32 +0000 (01:05 +0000)]
lower case
Benjamin Peterson [Fri, 19 Feb 2010 00:58:13 +0000 (00:58 +0000)]
add a link to sys.std* in io docs
Martin v. Löwis [Thu, 18 Feb 2010 16:27:43 +0000 (16:27 +0000)]
Merged revisions 78213 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78213 | martin.v.loewis | 2010-02-18 10:22:20 +0100 (Do, 18 Feb 2010) | 3 lines
Stop providing crtassem.h symbols when compiling with
Visual Studio 2010, as msvcr100.dll is not a platform
assembly anymore.
........
Mark Dickinson [Thu, 18 Feb 2010 14:54:37 +0000 (14:54 +0000)]
Remove references to the 'long' type in py3k decimal docs.
Mark Dickinson [Thu, 18 Feb 2010 14:49:50 +0000 (14:49 +0000)]
Merged revisions 78217-78218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78217 | mark.dickinson | 2010-02-18 14:27:02 +0000 (Thu, 18 Feb 2010) | 5 lines
Issue #7633: Context method in the decimal module (with the exception
of the 'canonical' and 'is_canonical' methods) now consistently accept
integer arguments wherever a Decimal instance is accepted. Thanks
Juan José Conti for the patch.
........
r78218 | mark.dickinson | 2010-02-18 14:45:33 +0000 (Thu, 18 Feb 2010) | 1 line
Doctest fixes for decimal.py: add an integer-argument doctest for logical_invert; don't use integer literals with a leading zero.
........
Ezio Melotti [Thu, 18 Feb 2010 09:37:05 +0000 (09:37 +0000)]
Merged revisions 78136 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78136 | ezio.melotti | 2010-02-10 23:40:33 +0200 (Wed, 10 Feb 2010) | 1 line
#7712: add a temp_cwd context manager to test_support and use it in regrtest to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
........
Ezio Melotti [Tue, 16 Feb 2010 23:59:54 +0000 (23:59 +0000)]
Merged revisions 78211 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78211 | ezio.melotti | 2010-02-17 01:58:49 +0200 (Wed, 17 Feb 2010) | 1 line
#7941: fix error message
........
Ezio Melotti [Tue, 16 Feb 2010 23:31:04 +0000 (23:31 +0000)]
Merged revisions 78207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line
#7930: fix stripid
........
Martin v. Löwis [Mon, 15 Feb 2010 21:45:06 +0000 (21:45 +0000)]
Merged revisions 78202 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78202 | martin.v.loewis | 2010-02-15 22:41:12 +0100 (Mo, 15 Feb 2010) | 2 lines
Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9.
........
Eric Smith [Mon, 15 Feb 2010 11:57:31 +0000 (11:57 +0000)]
Merged revisions 78198 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78198 | eric.smith | 2010-02-15 06:55:38 -0500 (Mon, 15 Feb 2010) | 1 line
Remove incorrect apostrophe.
........
Martin v. Löwis [Mon, 15 Feb 2010 08:35:16 +0000 (08:35 +0000)]
Merged revisions 78194 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78194 | martin.v.loewis | 2010-02-15 09:32:00 +0100 (Mo, 15 Feb 2010) | 2 lines
Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.
........
Mark Dickinson [Sun, 14 Feb 2010 14:08:54 +0000 (14:08 +0000)]
Merged revisions 78189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78189 | mark.dickinson | 2010-02-14 13:40:30 +0000 (Sun, 14 Feb 2010) | 1 line
Silence more 'comparison between signed and unsigned' warnings.
........
Mark Dickinson [Sun, 14 Feb 2010 12:53:32 +0000 (12:53 +0000)]
Merged revisions 78183-78184 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78183 | mark.dickinson | 2010-02-14 12:16:43 +0000 (Sun, 14 Feb 2010) | 1 line
Silence some 'comparison between signed and unsigned' compiler warnings.
........
r78184 | mark.dickinson | 2010-02-14 12:31:26 +0000 (Sun, 14 Feb 2010) | 1 line
Silence more compiler warnings; fix an instance of potential undefined behaviour from signed overflow.
........
Ezio Melotti [Sun, 14 Feb 2010 03:11:06 +0000 (03:11 +0000)]
#7888: fix deprecation on the wrong method.
Ezio Melotti [Sun, 14 Feb 2010 02:54:22 +0000 (02:54 +0000)]
Merged revisions 78176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78176 | ezio.melotti | 2010-02-14 04:50:23 +0200 (Sun, 14 Feb 2010) | 1 line
#7921: fix links. Patch by Brian Curtin.
........
Mark Dickinson [Sat, 13 Feb 2010 18:37:34 +0000 (18:37 +0000)]
Revert an earlier attempt (r76810) to fix the intermittent test_capi failures fixed in r78172.
Mark Dickinson [Sat, 13 Feb 2010 18:34:53 +0000 (18:34 +0000)]
Issue #7924: Fix an intermittent 'XXX undetected error' crash in
test_capi, due to test_capsule failing to clear an exception. Many
thanks to Florent Xicluna for the diagnosis and fix.
Mark Dickinson [Fri, 12 Feb 2010 21:18:34 +0000 (21:18 +0000)]
Merged revisions 78166 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78166 | mark.dickinson | 2010-02-12 21:16:38 +0000 (Fri, 12 Feb 2010) | 1 line
Check that 'd' isn't allowed as an exponent specifier in inputs to the float function.
........
Ezio Melotti [Fri, 12 Feb 2010 00:28:42 +0000 (00:28 +0000)]
Merged revisions 78162 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78162 | ezio.melotti | 2010-02-12 01:50:57 +0200 (Fri, 12 Feb 2010) | 1 line
#7907: fix wrong function name in doc. Patch by Brian Curtin.
........
Tarek Ziadé [Thu, 11 Feb 2010 20:47:18 +0000 (20:47 +0000)]
Merged revisions 78019 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78019 | georg.brandl | 2010-02-06 11:23:16 +0100 (Sat, 06 Feb 2010) | 1 line
Review sysconfig docs.
........
Michael Foord [Thu, 11 Feb 2010 14:16:38 +0000 (14:16 +0000)]
Merged revisions 78158 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78158 | michael.foord | 2010-02-11 14:12:07 +0000 (Thu, 11 Feb 2010) | 1 line
Adding TextTestResult to unittest.__all__
........
Ronald Oussoren [Thu, 11 Feb 2010 13:38:58 +0000 (13:38 +0000)]
Merged revisions 78154 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78154 | ronald.oussoren | 2010-02-11 14:26:54 +0100 (Thu, 11 Feb 2010) | 2 lines
Finish fix for issue 7715, after explicit search for calls to `arch`
........
Ronald Oussoren [Thu, 11 Feb 2010 13:23:08 +0000 (13:23 +0000)]
Fix for issue #7715: explicitly use the system arch instead of whatever is
on the user's path. This is needed because GNU arch is not necessarily
compatible with Apple's version.
Ronald Oussoren [Thu, 11 Feb 2010 13:15:00 +0000 (13:15 +0000)]
Merged revisions 78148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78148 | ronald.oussoren | 2010-02-11 14:13:08 +0100 (Thu, 11 Feb 2010) | 3 lines
Add guard around the prototype for completion_matches to enable
compilition with libedit on OSX 10.5
........
R. David Murray [Thu, 11 Feb 2010 02:42:19 +0000 (02:42 +0000)]
Merged revisions 78141-78142 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78141 | r.david.murray | 2010-02-10 20:38:42 -0500 (Wed, 10 Feb 2010) | 6 lines
Issue 5754: tweak shelve doc wording to make it clearer that even when
writeback=True values are written to the backing store when assigned to
the shelf. Add test to confirm that this happens. Doc patch and added
test by Robert Lehmann. I also fixed the cross references to the sync
and close methods.
........
r78142 | r.david.murray | 2010-02-10 20:56:42 -0500 (Wed, 10 Feb 2010) | 3 lines
Improve issue 7835 fix per MAL to handle the case that the
module dictionary has also been cleared.
........
Benjamin Peterson [Thu, 11 Feb 2010 02:31:04 +0000 (02:31 +0000)]
fix comment
R. David Murray [Thu, 11 Feb 2010 00:15:05 +0000 (00:15 +0000)]
Merged revisions 78137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78137 | r.david.murray | 2010-02-10 17:42:04 -0500 (Wed, 10 Feb 2010) | 8 lines
Issue 7835: Shelve's __del__ method calls its close method, and its
close method refers to an identifier in the global module namespace.
This means that when __del__ is called during interpreter shutdown (if,
for example, the calling program still has a pointer to the shelf),
sometimes that global identifier would wind up being None, causing
mysterious 'ignored' exceptions. This patch checks for the possible None
value first before using the global, thus avoiding the error messages.
........