Antoine Pitrou [Tue, 10 Aug 2010 00:22:01 +0000 (00:22 +0000)]
Fix buildbot issues due to _ctypes failing to compile in 3.1.
Recorded rollback of revisions 83837,83841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
Antoine Pitrou [Mon, 9 Aug 2010 23:47:57 +0000 (23:47 +0000)]
Merged revisions 83921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83921 | antoine.pitrou | 2010-08-10 01:39:31 +0200 (mar., 10 août 2010) | 4 lines
Issue #6915: Under Windows, os.listdir() didn't release the Global
Interpreter Lock around all system calls. Original patch by Ryan Kelly.
........
Antoine Pitrou [Mon, 9 Aug 2010 22:41:38 +0000 (22:41 +0000)]
Merged revisions 83918 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83918 | antoine.pitrou | 2010-08-10 00:38:19 +0200 (mar., 10 août 2010) | 5 lines
Issue #3757: thread-local objects now support cyclic garbage collection.
Thread-local objects involved in reference cycles will be deallocated
timely by the cyclic GC, even if the underlying thread is still running.
........
Senthil Kumaran [Mon, 9 Aug 2010 20:08:48 +0000 (20:08 +0000)]
Merged revisions 83901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83901 | senthil.kumaran | 2010-08-10 01:31:35 +0530 (Tue, 10 Aug 2010) | 3 lines
Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Changes in Modules.
........
Senthil Kumaran [Mon, 9 Aug 2010 20:05:35 +0000 (20:05 +0000)]
Merged revisions 83900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83900 | senthil.kumaran | 2010-08-10 01:23:52 +0530 (Tue, 10 Aug 2010) | 3 lines
Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Docs changed.
........
Senthil Kumaran [Mon, 9 Aug 2010 09:06:23 +0000 (09:06 +0000)]
Merged revisions 83882 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83882 | senthil.kumaran | 2010-08-09 14:33:57 +0530 (Mon, 09 Aug 2010) | 3 lines
spelling mistake.
........
Senthil Kumaran [Mon, 9 Aug 2010 09:02:18 +0000 (09:02 +0000)]
Merged revisions 83880 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83880 | senthil.kumaran | 2010-08-09 14:26:25 +0530 (Mon, 09 Aug 2010) | 3 lines
Fix Issue5416 - explain negative value for count in bytes object replace.
........
Antoine Pitrou [Sun, 8 Aug 2010 20:49:19 +0000 (20:49 +0000)]
Merged revisions 83854 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83854 | antoine.pitrou | 2010-08-08 22:46:42 +0200 (dim., 08 août 2010) | 4 lines
Issue #5319: Print an error if flushing stdout fails at interpreter
shutdown.
........
Benjamin Peterson [Sun, 8 Aug 2010 19:23:25 +0000 (19:23 +0000)]
Merged revisions 83845 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r83845 | benjamin.peterson | 2010-08-08 14:01:25 -0500 (Sun, 08 Aug 2010) | 69 lines
Merged revisions 82779,82855,83740,83789-83791,83797-83801,83803,83811,83827,83844 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r82779 | benjamin.peterson | 2010-07-10 14:45:08 -0500 (Sat, 10 Jul 2010) | 1 line
typo in attribute name #9217
........
r82855 | benjamin.peterson | 2010-07-13 16:27:38 -0500 (Tue, 13 Jul 2010) | 1 line
remove more extraneous commas #9245
........
r83740 | alexandre.vassalotti | 2010-08-05 01:58:36 -0500 (Thu, 05 Aug 2010) | 4 lines
Issue 5077: Update fixer for the other functions gone from the operator module.
Patch by Meador Inge.
........
r83789 | benjamin.peterson | 2010-08-07 17:45:14 -0500 (Sat, 07 Aug 2010) | 1 line
cleanup and use unicode consistently
........
r83790 | benjamin.peterson | 2010-08-07 17:52:06 -0500 (Sat, 07 Aug 2010) | 1 line
unicode literal
........
r83791 | benjamin.peterson | 2010-08-07 17:52:55 -0500 (Sat, 07 Aug 2010) | 1 line
.get() is pointless here
........
r83797 | benjamin.peterson | 2010-08-07 18:54:51 -0500 (Sat, 07 Aug 2010) | 1 line
add a function to find how a node is indented
........
r83798 | benjamin.peterson | 2010-08-07 18:55:28 -0500 (Sat, 07 Aug 2010) | 1 line
when splitting import statements, use correct indentation #9386
........
r83799 | benjamin.peterson | 2010-08-07 18:57:43 -0500 (Sat, 07 Aug 2010) | 1 line
double quotes
........
r83800 | benjamin.peterson | 2010-08-07 18:58:52 -0500 (Sat, 07 Aug 2010) | 1 line
add another test
........
r83801 | benjamin.peterson | 2010-08-07 19:02:10 -0500 (Sat, 07 Aug 2010) | 1 line
cleanup; style-nits
........
r83803 | benjamin.peterson | 2010-08-07 19:05:08 -0500 (Sat, 07 Aug 2010) | 1 line
slightly more explicit
........
r83811 | benjamin.peterson | 2010-08-07 22:56:44 -0500 (Sat, 07 Aug 2010) | 4 lines
Fix node.pre_order() to call the right method on its children.
This was a rather tragic copy-paste error.
........
r83827 | benjamin.peterson | 2010-08-08 08:12:48 -0500 (Sun, 08 Aug 2010) | 1 line
cause test to actually run and fix it
........
r83844 | benjamin.peterson | 2010-08-08 13:46:37 -0500 (Sun, 08 Aug 2010) | 1 line
fix whitespace
........
................
Benjamin Peterson [Sun, 8 Aug 2010 19:17:15 +0000 (19:17 +0000)]
revert r83831, unix test breakage
Thomas Heller [Sun, 8 Aug 2010 18:24:06 +0000 (18:24 +0000)]
Merged revisions 83837,83841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83837 | thomas.heller | 2010-08-08 19:58:53 +0200 (So, 08 Aug 2010) | 3 lines
Fix issue5504: ctypes does now work with systems where mmap can't be
PROT_WRITE and PROT_EXEC.
........
r83841 | thomas.heller | 2010-08-08 20:16:20 +0200 (So, 08 Aug 2010) | 2 lines
Fix issue6869: refcount problem in the _ctypes extension.
........
Tim Golden [Sun, 8 Aug 2010 16:18:18 +0000 (16:18 +0000)]
Issue #2304: Add additional quotes when using cmd shell on Windows. Original patch from Gabriel Genellina
Senthil Kumaran [Sun, 8 Aug 2010 11:54:44 +0000 (11:54 +0000)]
Merged revisions 83822 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83822 | senthil.kumaran | 2010-08-08 17:20:22 +0530 (Sun, 08 Aug 2010) | 3 lines
Add a news entry for Issue8280.
........
Senthil Kumaran [Sun, 8 Aug 2010 11:30:58 +0000 (11:30 +0000)]
Merged revisions 83818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83818 | senthil.kumaran | 2010-08-08 16:57:53 +0530 (Sun, 08 Aug 2010) | 4 lines
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
This is how it should work,wget and curl work like this way too. Old behavior was wrong.
........
Tim Golden [Sun, 8 Aug 2010 11:18:34 +0000 (11:18 +0000)]
Issue #3210: Revert C module changes and apply patch from Hirokazu Yamamoto instead
Raymond Hettinger [Sun, 8 Aug 2010 01:32:06 +0000 (01:32 +0000)]
Issue #4570: Clean-up tutorial example
Raymond Hettinger [Sun, 8 Aug 2010 00:56:52 +0000 (00:56 +0000)]
Issue 8814: functools.wraps() did not copy __annotations__.
Raymond Hettinger [Sun, 8 Aug 2010 00:32:32 +0000 (00:32 +0000)]
Backport doc readability improvements for the collections module.
Raymond Hettinger [Sat, 7 Aug 2010 23:38:16 +0000 (23:38 +0000)]
Fix typo
Raymond Hettinger [Sat, 7 Aug 2010 23:33:05 +0000 (23:33 +0000)]
Document implementation notes for priority queues
Raymond Hettinger [Sat, 7 Aug 2010 21:40:14 +0000 (21:40 +0000)]
Backport doc updates for the bisect module
Mark Dickinson [Sat, 7 Aug 2010 13:05:49 +0000 (13:05 +0000)]
Merged revisions 83780 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83780 | mark.dickinson | 2010-08-07 13:33:36 +0100 (Sat, 07 Aug 2010) | 1 line
Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses.
........
Brian Curtin [Sat, 7 Aug 2010 03:52:38 +0000 (03:52 +0000)]
Merged revisions 83771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83771 | brian.curtin | 2010-08-06 22:47:21 -0500 (Fri, 06 Aug 2010) | 3 lines
Fix an assertRaises situation and typo. Also pass all tests to run_unittest
rather than do it by platform -- the proper skips are in place already.
........
Brian Curtin [Fri, 6 Aug 2010 19:52:50 +0000 (19:52 +0000)]
Include Windows.h for BOOL. 2.7 and 3.2 already had this due to
a feature 3.1 doesn't have. Followup to #9324.
Brian Curtin [Fri, 6 Aug 2010 19:34:52 +0000 (19:34 +0000)]
Merged revisions 83763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83763 | brian.curtin | 2010-08-06 14:27:32 -0500 (Fri, 06 Aug 2010) | 3 lines
Fix #9324: Add parameter validation to signal.signal on Windows in order
to prevent crashes.
........
Tim Golden [Fri, 6 Aug 2010 13:20:12 +0000 (13:20 +0000)]
Issue #3210: Ensure stdio handles are closed if CreateProcess fails
Raymond Hettinger [Fri, 6 Aug 2010 09:57:49 +0000 (09:57 +0000)]
Issue8757: Implicit set-to-frozenset conversion not thread-safe.
Mark Dickinson [Fri, 6 Aug 2010 09:42:28 +0000 (09:42 +0000)]
Merged revisions 83751-83752 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83751 | mark.dickinson | 2010-08-06 10:36:57 +0100 (Fri, 06 Aug 2010) | 1 line
Issue #9526: Remove outdated casts to int that were preventing the array module from working correctly with arrays > 2GB.
........
r83752 | mark.dickinson | 2010-08-06 10:38:58 +0100 (Fri, 06 Aug 2010) | 1 line
Misc/NEWS entry for r83751.
........
Gerhard Häring [Fri, 6 Aug 2010 06:13:25 +0000 (06:13 +0000)]
Issue #3854: Documented using the sqlite3 module with multiple threads.
Mark Dickinson [Wed, 4 Aug 2010 18:43:36 +0000 (18:43 +0000)]
Merged revisions 83732 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83732 | mark.dickinson | 2010-08-04 19:42:43 +0100 (Wed, 04 Aug 2010) | 3 lines
Issue #9498: Add reference to sys.float_info from 'numeric types' docs.
Thanks Yitz Gale.
........
Senthil Kumaran [Wed, 4 Aug 2010 17:49:13 +0000 (17:49 +0000)]
Merged revisions 83729 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83729 | senthil.kumaran | 2010-08-04 23:16:23 +0530 (Wed, 04 Aug 2010) | 3 lines
Sending the auth info as string. Fix BytesWarning: str() on a bytes instance Exception on buildbot.
........
Brian Curtin [Wed, 4 Aug 2010 15:54:19 +0000 (15:54 +0000)]
Merged revisions 83722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83722 | brian.curtin | 2010-08-04 10:47:24 -0500 (Wed, 04 Aug 2010) | 7 lines
Fix #9513 to remove relative imports from multiprocessing.
The test suite currently skips test_multiprocessing on Windows
because it fails on finding _multiprocessing in several
win32-specific blocks. Removing the relative import lets this
through and allows the test to run (and pass).
........
Antoine Pitrou [Wed, 4 Aug 2010 15:48:41 +0000 (15:48 +0000)]
Merged revisions 83719 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83719 | antoine.pitrou | 2010-08-04 17:43:16 +0200 (mer., 04 août 2010) | 4 lines
Issue #9496: Provide a test suite for the rlcompleter module. Patch by
Michele Orrù.
........
Antoine Pitrou [Wed, 4 Aug 2010 13:25:07 +0000 (13:25 +0000)]
Merged revisions 83715 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83715 | antoine.pitrou | 2010-08-04 15:24:41 +0200 (mer., 04 août 2010) | 3 lines
I'm interested in threading issues as well
........
Antoine Pitrou [Wed, 4 Aug 2010 10:27:17 +0000 (10:27 +0000)]
Merged revisions 83709 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83709 | antoine.pitrou | 2010-08-04 12:26:30 +0200 (mer., 04 août 2010) | 3 lines
Something fun to maintain
........
Giampaolo Rodolà [Wed, 4 Aug 2010 09:04:53 +0000 (09:04 +0000)]
Merged revisions 83705 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83705 | giampaolo.rodola | 2010-08-04 11:02:27 +0200 (mer, 04 ago 2010) | 1 line
fix issue #2944: asyncore doesn't handle connection refused correctly (patch by Alexander Shigin). Merged from 2.7 branch.
........
Senthil Kumaran [Wed, 4 Aug 2010 04:53:07 +0000 (04:53 +0000)]
Merged revisions 83701 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83701 | senthil.kumaran | 2010-08-04 10:20:44 +0530 (Wed, 04 Aug 2010) | 3 lines
Fix Issue754016 - urlparse goes wrong with IP:port without scheme
........
Antoine Pitrou [Wed, 4 Aug 2010 00:19:35 +0000 (00:19 +0000)]
Merged revisions 83696 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83696 | antoine.pitrou | 2010-08-04 02:18:49 +0200 (mer., 04 août 2010) | 3 lines
That test was never run (since thread has been renamed to _thread in 3.x)
........
R. David Murray [Tue, 3 Aug 2010 23:35:44 +0000 (23:35 +0000)]
Merged revisions 83690 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83690 | r.david.murray | 2010-08-03 18:14:10 -0400 (Tue, 03 Aug 2010) | 10 lines
#3196: if needed pad a short base64 encoded word before trying to decode.
The RFCs encourage following Postel's law: be liberal in what you accept.
So if someone forgot to pad the base64 encoded word payload to an
even four bytes, we add the padding before handing it to base64mime.decode.
Previously, missing padding resulted in a HeaderParseError.
Patch by Jason Williams.
........
Mark Dickinson [Tue, 3 Aug 2010 21:33:04 +0000 (21:33 +0000)]
Issue #8447: Make distutils.sysconfig follow symlinks in the path to
the interpreter executable. This fixes a failure of test_httpservers
on OS X.
Mark Dickinson [Tue, 3 Aug 2010 18:45:30 +0000 (18:45 +0000)]
Merged revisions 83683 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83683 | mark.dickinson | 2010-08-03 19:44:16 +0100 (Tue, 03 Aug 2010) | 1 line
Misc/NEWS entry for r83677.
........
Antoine Pitrou [Tue, 3 Aug 2010 18:41:05 +0000 (18:41 +0000)]
Recorded merge of revisions 83678 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83678 | antoine.pitrou | 2010-08-03 20:32:26 +0200 (mar., 03 août 2010) | 4 lines
In test_threading_local, test both the default _thread._local implementation
and the pure Python implementation in Lib/_threading_local.py
........
Mark Dickinson [Tue, 3 Aug 2010 18:33:11 +0000 (18:33 +0000)]
Merged revisions 83677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83677 | mark.dickinson | 2010-08-03 19:31:54 +0100 (Tue, 03 Aug 2010) | 1 line
Fix memory leak in ssl module.
........
Antoine Pitrou [Tue, 3 Aug 2010 17:11:13 +0000 (17:11 +0000)]
Blocked revisions 83673 via svnmerge
........
r83673 | antoine.pitrou | 2010-08-03 19:09:36 +0200 (mar., 03 août 2010) | 4 lines
Issue #8867: Fix `Tools/scripts/serve.py` to work with files containing
non-ASCII content.
........
Mark Dickinson [Tue, 3 Aug 2010 16:52:23 +0000 (16:52 +0000)]
Merged revisions 83670 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83670 | mark.dickinson | 2010-08-03 17:49:49 +0100 (Tue, 03 Aug 2010) | 3 lines
Issue #8065: Fix another memory leak in readline module, from failure to free
the result of a call to history_get_history_state.
........
Mark Dickinson [Tue, 3 Aug 2010 16:14:09 +0000 (16:14 +0000)]
Merged revisions 83667 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83667 | mark.dickinson | 2010-08-03 17:08:16 +0100 (Tue, 03 Aug 2010) | 2 lines
Issue #9450: Fix memory leaks in readline.remove/replace_history_entry.
........
Georg Brandl [Tue, 3 Aug 2010 12:37:34 +0000 (12:37 +0000)]
Merged revisions 83663 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83663 | georg.brandl | 2010-08-03 14:36:57 +0200 (Di, 03 Aug 2010) | 1 line
A couple of nits how to ignore errors.
........
Georg Brandl [Tue, 3 Aug 2010 12:34:35 +0000 (12:34 +0000)]
Merged revisions 83660 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83660 | georg.brandl | 2010-08-03 14:31:59 +0200 (Di, 03 Aug 2010) | 1 line
Get rid of UserWarnings when running Sphinx from tools dir.
........
Ronald Oussoren [Tue, 3 Aug 2010 07:43:36 +0000 (07:43 +0000)]
Merged revisions 83644 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83644 | ronald.oussoren | 2010-08-03 09:42:42 +0200 (Tue, 03 Aug 2010) | 2 lines
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
........
Georg Brandl [Mon, 2 Aug 2010 19:00:34 +0000 (19:00 +0000)]
Blocked revisions 83543 via svnmerge
........
r83543 | georg.brandl | 2010-08-02 20:59:52 +0200 (Mo, 02 Aug 2010) | 1 line
#8560: add progress indicator to regrtest.
........
Georg Brandl [Mon, 2 Aug 2010 17:36:05 +0000 (17:36 +0000)]
Merged revisions 83531 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83531 | georg.brandl | 2010-08-02 19:24:49 +0200 (Mo, 02 Aug 2010) | 1 line
#7372: fix regression in pstats: a previous fix to handle cProfile data in add_callers broke handling of profile data.
........
Senthil Kumaran [Mon, 2 Aug 2010 17:11:50 +0000 (17:11 +0000)]
Merged revisions 83529 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83529 | senthil.kumaran | 2010-08-02 22:39:02 +0530 (Mon, 02 Aug 2010) | 3 lines
Rewording the getheader method of HTTPResponse.
........
Senthil Kumaran [Mon, 2 Aug 2010 12:01:21 +0000 (12:01 +0000)]
Merged revisions 83521 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83521 | senthil.kumaran | 2010-08-02 16:34:58 +0530 (Mon, 02 Aug 2010) | 3 lines
Fix Issue8572 - httplib getheader() throws error instead of default
........
R. David Murray [Sun, 1 Aug 2010 23:52:25 +0000 (23:52 +0000)]
Merged revisions 83506 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83506 | r.david.murray | 2010-08-01 19:43:28 -0400 (Sun, 01 Aug 2010) | 2 lines
Fix ACKS alphabetization.
........
Georg Brandl [Sun, 1 Aug 2010 22:33:12 +0000 (22:33 +0000)]
Merged revisions 83501 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83501 | georg.brandl | 2010-08-02 00:31:05 +0200 (Mo, 02 Aug 2010) | 1 line
Fix style of referring to issues.
........
Georg Brandl [Sun, 1 Aug 2010 21:40:25 +0000 (21:40 +0000)]
Merged revisions 82832,82834 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r82832 | georg.brandl | 2010-07-12 11:00:29 +0200 (Mo, 12 Jul 2010) | 1 line
Take care of duplicate target name warnings.
........
r82834 | georg.brandl | 2010-07-12 11:06:13 +0200 (Mo, 12 Jul 2010) | 1 line
Use raw string literals for regexes containing backlash.
........
Georg Brandl [Sun, 1 Aug 2010 21:33:45 +0000 (21:33 +0000)]
Blocked revisions 82848,82872-82874,82951 via svnmerge
........
r82848 | georg.brandl | 2010-07-13 08:38:10 +0200 (Di, 13 Jul 2010) | 1 line
Add bytes in literal_eval doc.
........
r82872 | georg.brandl | 2010-07-14 10:53:18 +0200 (Mi, 14 Jul 2010) | 1 line
Remove XXX from text.
........
r82873 | georg.brandl | 2010-07-14 10:53:36 +0200 (Mi, 14 Jul 2010) | 1 line
Remove unused code that would raise a NameError.
........
r82874 | georg.brandl | 2010-07-14 10:54:40 +0200 (Mi, 14 Jul 2010) | 1 line
#9235: fix missing import of sys.
........
r82951 | georg.brandl | 2010-07-18 15:43:32 +0200 (So, 18 Jul 2010) | 1 line
#9110: update to ContextDecorator doc.
........
Georg Brandl [Sun, 1 Aug 2010 21:32:08 +0000 (21:32 +0000)]
Merged revisions 82871,82960-82961 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r82871 | georg.brandl | 2010-07-14 10:00:22 +0200 (Mi, 14 Jul 2010) | 1 line
#9258: fix copy-paste errors.
........
r82960 | georg.brandl | 2010-07-19 08:52:35 +0200 (Mo, 19 Jul 2010) | 1 line
Clarify.
........
r82961 | georg.brandl | 2010-07-19 08:57:52 +0200 (Mo, 19 Jul 2010) | 1 line
Clarify :option: description.
........
Georg Brandl [Sun, 1 Aug 2010 21:29:32 +0000 (21:29 +0000)]
Blocked revisions 82949,82964 via svnmerge
........
r82949 | georg.brandl | 2010-07-18 12:11:03 +0200 (So, 18 Jul 2010) | 1 line
#9279: remove the pdb.doc file, put its contents in pdb.__doc__. Also sync this and the pdb docs, introduce a new directive for pdb commands and a role to link to them.
........
r82964 | georg.brandl | 2010-07-19 10:02:46 +0200 (Mo, 19 Jul 2010) | 1 line
pydoc.pager does not promise to use $PAGER.
........
Georg Brandl [Sun, 1 Aug 2010 21:28:39 +0000 (21:28 +0000)]
Merged revisions 82965 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r82965 | georg.brandl | 2010-07-19 13:28:05 +0200 (Mo, 19 Jul 2010) | 1 line
Clarification. Yay importlib!
........
Georg Brandl [Sun, 1 Aug 2010 21:27:48 +0000 (21:27 +0000)]
Merged revisions 83065 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83065 | georg.brandl | 2010-07-23 10:46:35 +0200 (Fr, 23 Jul 2010) | 1 line
Use augassign.
........
Georg Brandl [Sun, 1 Aug 2010 21:25:46 +0000 (21:25 +0000)]
Merged revisions 83106 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83106 | georg.brandl | 2010-07-23 18:55:26 +0200 (Fr, 23 Jul 2010) | 1 line
Fix some markup glitches.
........
Georg Brandl [Sun, 1 Aug 2010 21:24:48 +0000 (21:24 +0000)]
Blocked revisions 83107 via svnmerge
........
r83107 | georg.brandl | 2010-07-23 18:55:42 +0200 (Fr, 23 Jul 2010) | 1 line
Update to 1.0.
........
Georg Brandl [Sun, 1 Aug 2010 21:24:23 +0000 (21:24 +0000)]
Blocked revisions 83168 via svnmerge
........
r83168 | georg.brandl | 2010-07-26 19:00:20 +0200 (Mo, 26 Jul 2010) | 1 line
Fix indentation in example.
........
Georg Brandl [Sun, 1 Aug 2010 21:23:10 +0000 (21:23 +0000)]
Merged revisions 83160-83161,83166,83169,83171 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83160 | georg.brandl | 2010-07-26 10:51:42 +0200 (Mo, 26 Jul 2010) | 1 line
#9381: fix markup.
........
r83161 | georg.brandl | 2010-07-26 11:33:12 +0200 (Mo, 26 Jul 2010) | 1 line
Add Brian Quinlan.
........
r83166 | georg.brandl | 2010-07-26 17:11:49 +0200 (Mo, 26 Jul 2010) | 1 line
Fix grammar.
........
r83169 | georg.brandl | 2010-07-26 19:09:32 +0200 (Mo, 26 Jul 2010) | 1 line
Add Reid.
........
r83171 | georg.brandl | 2010-07-26 23:12:13 +0200 (Mo, 26 Jul 2010) | 1 line
Clarify.
........
Georg Brandl [Sun, 1 Aug 2010 21:19:50 +0000 (21:19 +0000)]
Blocked revisions 83181 via svnmerge
........
r83181 | georg.brandl | 2010-07-27 20:19:21 +0200 (Di, 27 Jul 2010) | 1 line
Update Sphinx to 1.0.1.
........
Georg Brandl [Sun, 1 Aug 2010 21:16:54 +0000 (21:16 +0000)]
Merged revisions 83201 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83201 | georg.brandl | 2010-07-28 10:19:35 +0200 (Mi, 28 Jul 2010) | 1 line
#9354: Provide getsockopt() in asyncore file_wrapper(). Patch by Lukas Langa.
........
Georg Brandl [Sun, 1 Aug 2010 21:11:59 +0000 (21:11 +0000)]
Blocked revisions 83202,83213,83218-83220,83222 via svnmerge
........
r83202 | georg.brandl | 2010-07-28 15:13:46 +0200 (Mi, 28 Jul 2010) | 1 line
#
1682942: add some ConfigParser features: alternate delimiters, alternate comments, empty lines in values. Also enhance the docs with more examples and mention SafeConfigParser before ConfigParser. Patch by Lukas Langa, review by myself, Eric and Ezio.
........
r83213 | georg.brandl | 2010-07-28 19:37:27 +0200 (Mi, 28 Jul 2010) | 1 line
Add missing file.
........
r83218 | georg.brandl | 2010-07-29 13:49:05 +0200 (Do, 29 Jul 2010) | 1 line
#6538: fix regex documentation again -- use fictional class names "regex" and "match" but do not document them as classes, remove 1.5 compat info and use new default argument syntax where possible.
........
r83219 | georg.brandl | 2010-07-29 13:56:20 +0200 (Do, 29 Jul 2010) | 1 line
Fix for r83202: improve the handling of empty lines.
........
r83220 | georg.brandl | 2010-07-29 14:17:40 +0200 (Do, 29 Jul 2010) | 1 line
#9411: allow selecting an encoding for configparser files. Also adds a new test config file to test special cases.
........
r83222 | georg.brandl | 2010-07-29 15:19:42 +0200 (Do, 29 Jul 2010) | 1 line
Fix #9412: make list of messages an instance attribute instead of class attribute.
........
Georg Brandl [Sun, 1 Aug 2010 21:09:54 +0000 (21:09 +0000)]
Merged revisions 83223 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83223 | georg.brandl | 2010-07-29 15:38:37 +0200 (Do, 29 Jul 2010) | 1 line
#3874: document HTMLParser.unknown_decl().
........
Georg Brandl [Sun, 1 Aug 2010 21:09:16 +0000 (21:09 +0000)]
Merged revisions 83217 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83217 | georg.brandl | 2010-07-29 13:15:36 +0200 (Do, 29 Jul 2010) | 1 line
Remove Python 1.5 compatibility note.
........
Georg Brandl [Sun, 1 Aug 2010 21:08:39 +0000 (21:08 +0000)]
Blocked revisions 83236 via svnmerge
........
r83236 | georg.brandl | 2010-07-29 19:16:10 +0200 (Do, 29 Jul 2010) | 1 line
#6630: allow customizing flags for compiling string.Template.idpattern.
........
Georg Brandl [Sun, 1 Aug 2010 21:03:01 +0000 (21:03 +0000)]
Merged revisions 83226-83227,83229-83232 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83226 | georg.brandl | 2010-07-29 16:17:12 +0200 (Do, 29 Jul 2010) | 1 line
#
1090076: explain the behavior of *vars* in get() better.
........
r83227 | georg.brandl | 2010-07-29 16:23:06 +0200 (Do, 29 Jul 2010) | 1 line
Use Py_CLEAR().
........
r83229 | georg.brandl | 2010-07-29 16:32:22 +0200 (Do, 29 Jul 2010) | 1 line
#9407: document configparser.Error.
........
r83230 | georg.brandl | 2010-07-29 16:36:11 +0200 (Do, 29 Jul 2010) | 1 line
Use correct directive and name.
........
r83231 | georg.brandl | 2010-07-29 16:46:07 +0200 (Do, 29 Jul 2010) | 1 line
#9397: remove mention of dbm.bsd which does not exist anymore.
........
r83232 | georg.brandl | 2010-07-29 16:49:08 +0200 (Do, 29 Jul 2010) | 1 line
#9388: remove ERA_YEAR which is never defined in the source code.
........
Georg Brandl [Sun, 1 Aug 2010 20:57:27 +0000 (20:57 +0000)]
Merged revisions 83238 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83238 | georg.brandl | 2010-07-29 19:55:01 +0200 (Do, 29 Jul 2010) | 1 line
#4108: the first default entry (User-agent: *) wins.
........
Georg Brandl [Sun, 1 Aug 2010 20:55:37 +0000 (20:55 +0000)]
Merged revisions 83431 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83431 | ronald.oussoren | 2010-08-01 21:18:13 +0200 (So, 01 Aug 2010) | 6 lines
test_getgroups as introduced with issue7900 failed on systems
where 'id -G' and posix.getgroups() returned the same information,
but one of the sources contains duplicate information. Rewrite the
check using sets instead of lists.
........
Georg Brandl [Sun, 1 Aug 2010 20:54:22 +0000 (20:54 +0000)]
Recorded merge of revisions 83444 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83444 | georg.brandl | 2010-08-01 22:51:02 +0200 (So, 01 Aug 2010) | 1 line
Revert r83395, it introduces test failures and is not necessary anyway since we now have to nul-terminate the string anyway.
........
Antoine Pitrou [Sun, 1 Aug 2010 20:12:04 +0000 (20:12 +0000)]
Merged revisions 83440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83440 | antoine.pitrou | 2010-08-01 22:08:46 +0200 (dim., 01 août 2010) | 4 lines
Issue #8397: Raise an error when attempting to mix iteration and regular
reads on a BZ2File object, rather than returning incorrect results.
........
Georg Brandl [Sun, 1 Aug 2010 19:36:38 +0000 (19:36 +0000)]
Blocked revisions 83260,83262-83263,83266,83270,83274-83275,83283-83287,83291-83293,83308,83315-83318 via svnmerge
........
r83260 | georg.brandl | 2010-07-30 09:14:01 +0200 (Fr, 30 Jul 2010) | 1 line
#4179: In pdb, allow "list ." as a command to return to the currently debugged line.
........
r83262 | georg.brandl | 2010-07-30 10:29:39 +0200 (Fr, 30 Jul 2010) | 1 line
#
1437051: allow "continue"/"next"/etc. in .pdbrc, also add pdb -c option to give these commands. This allows to run a script until an exception occurs.
........
r83263 | georg.brandl | 2010-07-30 10:43:32 +0200 (Fr, 30 Jul 2010) | 1 line
Allow giving an explicit line number to "until".
........
r83266 | georg.brandl | 2010-07-30 11:14:20 +0200 (Fr, 30 Jul 2010) | 1 line
#
1472251: remove addition of "\n" to code given to pdb.run[eval](), the bug in exec() that made this necessary has been fixed. Also document that you can give code objects to run() and runeval(), and add some tests to test_pdb.
........
r83270 | georg.brandl | 2010-07-30 11:54:44 +0200 (Fr, 30 Jul 2010) | 1 line
Remove redundant import.
........
r83274 | georg.brandl | 2010-07-30 13:31:03 +0200 (Fr, 30 Jul 2010) | 1 line
#3143: enable "collapsible sidebar" feature of new Sphinx version.
........
r83275 | georg.brandl | 2010-07-30 14:01:20 +0200 (Fr, 30 Jul 2010) | 1 line
#809887: improve pdb feedback for breakpoint-related actions. Also add a functional test for these commands.
........
r83283 | georg.brandl | 2010-07-30 16:16:43 +0200 (Fr, 30 Jul 2010) | 1 line
#7964 followup: add test case to ensure issue remains fixed.
........
r83284 | georg.brandl | 2010-07-30 17:01:23 +0200 (Fr, 30 Jul 2010) | 1 line
Add Breakpoint.bpformat(), which returns the info usually printed by bpprint(). Necessary for major refactoring of pdb output handling.
........
r83285 | georg.brandl | 2010-07-30 17:33:52 +0200 (Fr, 30 Jul 2010) | 1 line
pdb now has its own tests.
........
r83286 | georg.brandl | 2010-07-30 18:00:46 +0200 (Fr, 30 Jul 2010) | 7 lines
Several enhancements to pdb and its test suite.
* added basic test for basic commands
* removed duplication of command docs, and moved them to their implementation
* unified and useful display of exceptions
* output messages and errors using overridable methods (also fixes #
1503502)
........
r83287 | georg.brandl | 2010-07-30 19:04:28 +0200 (Fr, 30 Jul 2010) | 1 line
Add "longlist" and "source" commands, ideas borrowed from pdb++ by Antonio Cuni.
........
r83291 | georg.brandl | 2010-07-30 20:08:12 +0200 (Fr, 30 Jul 2010) | 1 line
Fix source finding if the given frame is a module-level frame.
........
r83292 | georg.brandl | 2010-07-30 20:15:16 +0200 (Fr, 30 Jul 2010) | 1 line
Test that "source" with nonexisting things works as expected.
........
r83293 | georg.brandl | 2010-07-30 20:46:38 +0200 (Fr, 30 Jul 2010) | 1 line
Show the traceback line numbers as well as the current line numbers if an exception is being debugged. Courtesy of pdb++ by Antonio Cuni. Also document -> and >> markers for "list".
........
r83308 | georg.brandl | 2010-07-31 00:20:16 +0200 (Sa, 31 Jul 2010) | 1 line
Part of #7245: when KeyboardInterrupt is raised while defining commands, restore the old commands instead of producing a traceback.
........
r83315 | georg.brandl | 2010-07-31 10:14:16 +0200 (Sa, 31 Jul 2010) | 1 line
Fix pdb test failures on the buildbots.
........
r83316 | georg.brandl | 2010-07-31 10:20:02 +0200 (Sa, 31 Jul 2010) | 1 line
Make urllib tests pass for now. Will figure out what the correct semantics should be after release.
........
r83317 | georg.brandl | 2010-07-31 10:27:46 +0200 (Sa, 31 Jul 2010) | 1 line
Update pydoc topics and adapt Topics builder to Sphinx 1.0.
........
r83318 | georg.brandl | 2010-07-31 10:56:11 +0200 (Sa, 31 Jul 2010) | 1 line
Bump versions and review NEWS file.
........
Georg Brandl [Sun, 1 Aug 2010 19:35:16 +0000 (19:35 +0000)]
Merged revisions 83259,83261,83264-83265,83268-83269,83271-83272,83281 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83259 | georg.brandl | 2010-07-30 09:03:39 +0200 (Fr, 30 Jul 2010) | 1 line
Clarification.
........
r83261 | georg.brandl | 2010-07-30 09:21:26 +0200 (Fr, 30 Jul 2010) | 1 line
#9230: allow Pdb.checkline() to be called without a current frame, for setting breakpoints before starting debugging.
........
r83264 | georg.brandl | 2010-07-30 10:45:26 +0200 (Fr, 30 Jul 2010) | 1 line
Document the "jump" command in pdb.__doc__, and add a version tag for "until X".
........
r83265 | georg.brandl | 2010-07-30 10:54:49 +0200 (Fr, 30 Jul 2010) | 1 line
#8015: fix crash when entering an empty line for breakpoint commands. Also restore environment properly when an exception occurs during the definition of commands.
........
r83268 | georg.brandl | 2010-07-30 11:23:23 +0200 (Fr, 30 Jul 2010) | 2 lines
Issue #8048: Prevent doctests from failing when sys.displayhook has
been reassigned.
........
r83269 | georg.brandl | 2010-07-30 11:43:00 +0200 (Fr, 30 Jul 2010) | 1 line
#6719: In pdb, do not stop somewhere in the encodings machinery if the source file to be debugged is in a non-builtin encoding.
........
r83271 | georg.brandl | 2010-07-30 11:59:28 +0200 (Fr, 30 Jul 2010) | 1 line
#5727: Restore the ability to use readline when calling into pdb in doctests.
........
r83272 | georg.brandl | 2010-07-30 12:29:19 +0200 (Fr, 30 Jul 2010) | 1 line
#5294: Fix the behavior of pdb "continue" command when called in the top-level debugged frame.
........
r83281 | georg.brandl | 2010-07-30 15:36:43 +0200 (Fr, 30 Jul 2010) | 1 line
Add myself for pdb.
........
Georg Brandl [Sun, 1 Aug 2010 19:23:36 +0000 (19:23 +0000)]
Blocked revisions 83320-83323,83326-83327,83329,83339,83342-83343,83348-83351,83359-83361,83375,83394,83399,83406 via svnmerge
........
r83320 | georg.brandl | 2010-07-31 11:01:16 +0200 (Sa, 31 Jul 2010) | 1 line
Update copyright years and add releases to release list. Also update Sphinx version number.
........
r83321 | georg.brandl | 2010-07-31 11:03:30 +0200 (Sa, 31 Jul 2010) | 1 line
At least give IDLE 3.1 a release date. No further entries there for 3.2 though.
........
r83322 | tarek.ziade | 2010-07-31 11:10:51 +0200 (Sa, 31 Jul 2010) | 1 line
reverted distutils doc to its 3.1 state
........
r83323 | georg.brandl | 2010-07-31 11:15:10 +0200 (Sa, 31 Jul 2010) | 1 line
After distutils doc reversal, change back **bold todo** items to XXX comments.
........
r83326 | georg.brandl | 2010-07-31 12:08:09 +0200 (Sa, 31 Jul 2010) | 1 line
Avoid triggering DeprecationWarnings in test_smtpd and smtpd.
........
r83327 | raymond.hettinger | 2010-07-31 12:11:39 +0200 (Sa, 31 Jul 2010) | 1 line
Add functools.lfu_cache() and functools.lru_cache().
........
r83329 | georg.brandl | 2010-07-31 12:16:21 +0200 (Sa, 31 Jul 2010) | 1 line
Revert r83327. This will have to wait until after the alpha1 release.
........
r83339 | georg.brandl | 2010-07-31 13:00:47 +0200 (Sa, 31 Jul 2010) | 1 line
Rewrap.
........
r83342 | georg.brandl | 2010-07-31 13:52:46 +0200 (Sa, 31 Jul 2010) | 1 line
Import test_pdb with its full name, so that running python -m test.test_pdb succeeds.
........
r83343 | georg.brandl | 2010-07-31 14:06:51 +0200 (Sa, 31 Jul 2010) | 1 line
From Martin: New UUIDs for the 3.2 release series.
........
r83348 | georg.brandl | 2010-07-31 20:05:35 +0200 (Sa, 31 Jul 2010) | 1 line
Post-release updates.
........
r83349 | antoine.pitrou | 2010-07-31 20:08:33 +0200 (Sa, 31 Jul 2010) | 3 lines
Add ssl changes to the 3.2 "what's new".
........
r83350 | georg.brandl | 2010-07-31 20:09:23 +0200 (Sa, 31 Jul 2010) | 1 line
Re-commit r83327 now that the release is done.
........
r83351 | georg.brandl | 2010-07-31 20:09:46 +0200 (Sa, 31 Jul 2010) | 1 line
Move news item to the correct position.
........
r83359 | georg.brandl | 2010-07-31 22:08:15 +0200 (Sa, 31 Jul 2010) | 1 line
#1286: allow using fileinput.FileInput as context manager.
........
r83360 | georg.brandl | 2010-07-31 22:13:44 +0200 (Sa, 31 Jul 2010) | 1 line
Clarify comment in comments test case explaining comment semantics.
........
r83361 | georg.brandl | 2010-07-31 23:04:00 +0200 (Sa, 31 Jul 2010) | 1 line
#3788: more tests for http.cookies, now at 95% coverage. Also bring coding style in the module up to PEP 8, where it does not break backwards compatibility.
........
r83375 | antoine.pitrou | 2010-08-01 00:48:02 +0200 (So, 01 Aug 2010) | 3 lines
Reorder entries by module lexicographic order
........
r83394 | georg.brandl | 2010-08-01 10:46:24 +0200 (So, 01 Aug 2010) | 1 line
No need to split this, there are enough long lines.
........
r83399 | georg.brandl | 2010-08-01 11:17:53 +0200 (So, 01 Aug 2010) | 1 line
Package some new files that are needed for running the test suite from the MSI package.
........
r83406 | georg.brandl | 2010-08-01 16:50:00 +0200 (So, 01 Aug 2010) | 1 line
#8046: add context manager protocol support to mmap objects. Also add closed property.
........
Georg Brandl [Sun, 1 Aug 2010 19:21:34 +0000 (19:21 +0000)]
Merged revisions 83325,83328,83341 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83325 | georg.brandl | 2010-07-31 11:37:03 +0200 (Sa, 31 Jul 2010) | 1 line
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.
........
r83328 | raymond.hettinger | 2010-07-31 12:14:41 +0200 (Sa, 31 Jul 2010) | 1 line
Document how to change OrderedDict update order from first to last.
........
r83341 | georg.brandl | 2010-07-31 13:40:07 +0200 (Sa, 31 Jul 2010) | 1 line
#9430: document timedelta str() and repr().
........
Georg Brandl [Sun, 1 Aug 2010 19:17:57 +0000 (19:17 +0000)]
Merged revisions 83352,83355-83358,83362,83366,83368-83369 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83352 | georg.brandl | 2010-07-31 20:11:07 +0200 (Sa, 31 Jul 2010) | 1 line
#9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags.
........
r83355 | georg.brandl | 2010-07-31 21:17:11 +0200 (Sa, 31 Jul 2010) | 1 line
Fix bad merge: test_support -> support.
........
r83356 | georg.brandl | 2010-07-31 21:29:15 +0200 (Sa, 31 Jul 2010) | 1 line
Remove trailing whitespace.
........
r83357 | georg.brandl | 2010-07-31 21:59:55 +0200 (Sa, 31 Jul 2010) | 1 line
#5778: document that sys.version can contain a newline.
........
r83358 | georg.brandl | 2010-07-31 22:05:31 +0200 (Sa, 31 Jul 2010) | 1 line
#9442: do not document a specific format for sys.version; rather refer to version_info and the platform module.
........
r83362 | georg.brandl | 2010-07-31 23:12:15 +0200 (Sa, 31 Jul 2010) | 1 line
#8910: add a file explaining why Lib/test/data is there.
........
r83366 | georg.brandl | 2010-07-31 23:26:40 +0200 (Sa, 31 Jul 2010) | 1 line
There always is a False and True now.
........
r83368 | georg.brandl | 2010-07-31 23:40:15 +0200 (Sa, 31 Jul 2010) | 1 line
#7909: the prefixes \\.\ and \\?\ indicate special Windows paths, do not try to manipulate them. See http://msdn.microsoft.com/en-us/library/
aa365247%28VS.85%29.aspx for details.
........
r83369 | georg.brandl | 2010-07-31 23:41:42 +0200 (Sa, 31 Jul 2010) | 1 line
Fix "Berkeley" name.
........
Georg Brandl [Sun, 1 Aug 2010 19:09:07 +0000 (19:09 +0000)]
Merged revisions 83370,83372-83374,83384 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83370 | georg.brandl | 2010-07-31 23:51:48 +0200 (Sa, 31 Jul 2010) | 5 lines
#8198: the Helper class should not save the stdin and stdout objects
at import time, rather by default use the current streams like the
other APIs that output help.
........
r83372 | georg.brandl | 2010-08-01 00:05:54 +0200 (So, 01 Aug 2010) | 1 line
#4007: remove *.a and *.so.X.Y files in "make clean".
........
r83373 | georg.brandl | 2010-08-01 00:11:11 +0200 (So, 01 Aug 2010) | 1 line
#5147: revert accidental indentation of header constant for MozillaCookieJar.
........
r83374 | georg.brandl | 2010-08-01 00:32:52 +0200 (So, 01 Aug 2010) | 1 line
#5146: handle UID THREAD command correctly.
........
r83384 | georg.brandl | 2010-08-01 08:32:55 +0200 (So, 01 Aug 2010) | 1 line
Build properties using lambdas. This makes test_pyclbr pass again, because it does not think that input and output are methods anymore.
........
Georg Brandl [Sun, 1 Aug 2010 19:07:28 +0000 (19:07 +0000)]
Merged revisions 83371,83390 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83371 | georg.brandl | 2010-07-31 23:54:24 +0200 (Sa, 31 Jul 2010) | 1 line
#8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3).
........
r83390 | georg.brandl | 2010-08-01 10:07:49 +0200 (So, 01 Aug 2010) | 1 line
#8230: make Lib/test/sortperf.py run on Python 3.
........
Georg Brandl [Sun, 1 Aug 2010 19:04:55 +0000 (19:04 +0000)]
Merged revisions 83385-83389,83391 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83385 | georg.brandl | 2010-08-01 08:42:45 +0200 (So, 01 Aug 2010) | 1 line
#8773: mailbox.py does not need to be executable.
........
r83386 | georg.brandl | 2010-08-01 08:44:46 +0200 (So, 01 Aug 2010) | 1 line
#8768: name test method properly so that it gets executed.
........
r83387 | georg.brandl | 2010-08-01 08:53:28 +0200 (So, 01 Aug 2010) | 1 line
#8735: better explain semantics of *values* argument for parse().
........
r83388 | georg.brandl | 2010-08-01 09:48:43 +0200 (So, 01 Aug 2010) | 1 line
#7395: fix traceback in do_add() when no stats are loaded. Apply same fix for do_sort() and do_reverse().
........
r83389 | georg.brandl | 2010-08-01 09:57:47 +0200 (So, 01 Aug 2010) | 1 line
Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended.
........
r83391 | georg.brandl | 2010-08-01 10:10:08 +0200 (So, 01 Aug 2010) | 1 line
Add another news entry.
........
Georg Brandl [Sun, 1 Aug 2010 18:59:44 +0000 (18:59 +0000)]
Merged revisions 83395,83417 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83395 | georg.brandl | 2010-08-01 10:49:18 +0200 (So, 01 Aug 2010) | 1 line
#8821: do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character.
........
r83417 | georg.brandl | 2010-08-01 20:38:26 +0200 (So, 01 Aug 2010) | 1 line
#5776: fix mistakes in python specfile. (Nobody probably uses it anyway.)
........
Georg Brandl [Sun, 1 Aug 2010 18:56:30 +0000 (18:56 +0000)]
Merged revisions 83393,83396,83398,83404-83405,83408 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r83393 | georg.brandl | 2010-08-01 10:35:29 +0200 (So, 01 Aug 2010) | 1 line
#
1690103: fix initial namespace for code run with trace.main().
........
r83396 | georg.brandl | 2010-08-01 10:52:32 +0200 (So, 01 Aug 2010) | 1 line
#4810: document "--" option separator in timeit help.
........
r83398 | georg.brandl | 2010-08-01 11:06:34 +0200 (So, 01 Aug 2010) | 1 line
#8826: the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes. Handle that as a special case.
........
r83404 | georg.brandl | 2010-08-01 16:25:22 +0200 (So, 01 Aug 2010) | 1 line
#6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in Demo/embed code.
........
r83405 | georg.brandl | 2010-08-01 16:38:17 +0200 (So, 01 Aug 2010) | 1 line
#4943: do not try to include drive letters (and colons) when looking for a probably module name.
........
r83408 | georg.brandl | 2010-08-01 17:30:56 +0200 (So, 01 Aug 2010) | 1 line
#5551: symbolic links never can be mount points. Fixes the fix for #1713.
........
Senthil Kumaran [Sun, 1 Aug 2010 17:55:50 +0000 (17:55 +0000)]
Merged revisions 83415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83415 | senthil.kumaran | 2010-08-01 23:23:37 +0530 (Sun, 01 Aug 2010) | 3 lines
Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication
........
Antoine Pitrou [Sun, 1 Aug 2010 16:57:42 +0000 (16:57 +0000)]
Merged revisions 83411 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83411 | antoine.pitrou | 2010-08-01 18:53:42 +0200 (dim., 01 août 2010) | 4 lines
Issue #9448: Fix a leak of OS resources (mutexes or semaphores) when
re-initializing a buffered IO object by calling its `__init__` method.
........
Brian Curtin [Sun, 1 Aug 2010 15:44:11 +0000 (15:44 +0000)]
Merged revisions 83407 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83407 | brian.curtin | 2010-08-01 10:26:26 -0500 (Sun, 01 Aug 2010) | 3 lines
Fix #8105. Add validation to mmap.mmap so invalid file descriptors
don't cause a crash on Windows.
........
Mark Dickinson [Sun, 1 Aug 2010 10:43:42 +0000 (10:43 +0000)]
Merged revisions 83400 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83400 | mark.dickinson | 2010-08-01 11:41:49 +0100 (Sun, 01 Aug 2010) | 7 lines
Issue #9416: Fix some issues with complex formatting where the
output with no type specifier failed to match the str output:
- format(complex(-0.0, 2.0), '-') omitted the real part from the output,
- format(complex(0.0, 2.0), '-') included a sign and parentheses.
........
R. David Murray [Sun, 1 Aug 2010 04:14:22 +0000 (04:14 +0000)]
Merged revisions 83380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83380 | r.david.murray | 2010-07-31 23:31:09 -0400 (Sat, 31 Jul 2010) | 17 lines
#8620: Cmd no longer truncates last character if stdin ends without newline
Cmd used to blindly chop off the last character of every input line. If
the input reached EOF and there was no final new line, it would truncate
the last character of the last command. This fix instead strips trailing
\r\n from the input lines. While this is a small behavior change, it
should not break any working code, since feeding a '\r\n' terminated
file to Cmd would previously leave the \r's on the lines, resulting
in failed command execution.
I wrote the unit test in preparation for a PyOhio TeachMe session
run by Catherine Devlin, and we can thank Catherine and the PyOhio
session attendees for the fix. I've added Catherine to the Acks file
for organizing and leading the TeachMe session, out of which we will
hopefully get some new contributors.
........
Raymond Hettinger [Sat, 31 Jul 2010 10:16:57 +0000 (10:16 +0000)]
Document how to change OrderedDict update order from first to last.
Raymond Hettinger [Sat, 31 Jul 2010 07:03:42 +0000 (07:03 +0000)]
Only expose the abstract base classes.
The concrete types are for internal use (registration).
Keep from accidentally resurrecting the types module in collections.
Mark Dickinson [Fri, 30 Jul 2010 13:13:54 +0000 (13:13 +0000)]
Merged revisions 83277 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83277 | mark.dickinson | 2010-07-30 14:13:02 +0100 (Fri, 30 Jul 2010) | 1 line
Add note about surprising behaviour from round function.
........
Mark Dickinson [Thu, 29 Jul 2010 21:43:24 +0000 (21:43 +0000)]
Merged revisions 83239 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83239 | mark.dickinson | 2010-07-29 22:41:59 +0100 (Thu, 29 Jul 2010) | 2 lines
Issue #9422: Fix memory leak when re-initializing a struct.Struct object.
........
Mark Dickinson [Thu, 29 Jul 2010 13:59:01 +0000 (13:59 +0000)]
Merged revisions 83224 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83224 | mark.dickinson | 2010-07-29 14:56:56 +0100 (Thu, 29 Jul 2010) | 1 line
Fix typo.
........
Senthil Kumaran [Wed, 28 Jul 2010 16:30:46 +0000 (16:30 +0000)]
Merged revisions 83209 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83209 | senthil.kumaran | 2010-07-28 21:57:56 +0530 (Wed, 28 Jul 2010) | 3 lines
Fix Issue6325 - robotparse to honor urls with query strings.
........
Ezio Melotti [Tue, 27 Jul 2010 23:47:57 +0000 (23:47 +0000)]
Blocked revisions 83183,83186 via svnmerge
........
r83183 | ezio.melotti | 2010-07-28 01:03:33 +0300 (Wed, 28 Jul 2010) | 1 line
Use proper skips and assert* methods in test_asyncore.
........
r83186 | ezio.melotti | 2010-07-28 01:24:13 +0300 (Wed, 28 Jul 2010) | 1 line
With skipUnless there is no need to add test classes conditionally.
........
Alexander Belopolsky [Tue, 27 Jul 2010 23:04:30 +0000 (23:04 +0000)]
Blocked revisions 83188 via svnmerge
........
r83188 | alexander.belopolsky | 2010-07-27 19:02:38 -0400 (Tue, 27 Jul 2010) | 3 lines
Issue #9378: python -m pickle <pickle file> will now load and display
the first object in the pickle file.
........
Antoine Pitrou [Tue, 27 Jul 2010 22:09:59 +0000 (22:09 +0000)]
Merged revisions 83184 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83184 | antoine.pitrou | 2010-07-28 00:08:27 +0200 (mer., 28 juil. 2010) | 3 lines
Issue #9294: remove dead code in Objects/object.c. Patch by Grant Limberg.
........