]> granicus.if.org Git - python/log
python
14 years agoExplicitly mention that people should not depend on immediate
Gregory P. Smith [Thu, 10 Mar 2011 19:34:52 +0000 (11:34 -0800)]
Explicitly mention that people should not depend on immediate
finalization of  objects.

14 years agoExplicitly mention that people should not depend on immediate
Gregory P. Smith [Thu, 10 Mar 2011 19:32:29 +0000 (11:32 -0800)]
Explicitly mention that people should not depend on immediate
finalization of objects.

HG Enter commit message.  Lines beginning with 'HG:' are removed.

14 years agoReword the finalization note.
Gregory P. Smith [Thu, 10 Mar 2011 19:28:50 +0000 (11:28 -0800)]
Reword the finalization note.

14 years agoExplicitly mention that people should not depend on immediate
Gregory P. Smith [Thu, 10 Mar 2011 19:25:44 +0000 (11:25 -0800)]
Explicitly mention that people should not depend on immediate
finalization of objects in the language reference.

14 years agoRemove unused import.
Eric V. Smith [Thu, 10 Mar 2011 13:44:08 +0000 (08:44 -0500)]
Remove unused import.

14 years agoMerge from 3.2.
Ezio Melotti [Thu, 10 Mar 2011 11:54:21 +0000 (13:54 +0200)]
Merge from 3.2.

14 years agoPort a couple of changes from 3.1.
Ezio Melotti [Thu, 10 Mar 2011 11:46:50 +0000 (13:46 +0200)]
Port a couple of changes from 3.1.

14 years agoBackport from 3.2 several improvements and fixes for unittest.rst.
Ezio Melotti [Thu, 10 Mar 2011 10:16:35 +0000 (12:16 +0200)]
Backport from 3.2 several improvements and fixes for unittest.rst.

14 years agoMerge fix for issue #11450
Antoine Pitrou [Wed, 9 Mar 2011 11:53:30 +0000 (12:53 +0100)]
Merge fix for issue #11450

14 years agoMerge fix for issue #11450
Antoine Pitrou [Wed, 9 Mar 2011 11:47:20 +0000 (12:47 +0100)]
Merge fix for issue #11450

14 years agoIssue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
Antoine Pitrou [Wed, 9 Mar 2011 11:34:41 +0000 (12:34 +0100)]
Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
there are many tags (e.g. when using mq).  Patch by Nadeem Vawda.

14 years agoIssue #5622: merge fix from 3.2.
Ned Deily [Wed, 9 Mar 2011 10:49:59 +0000 (02:49 -0800)]
Issue #5622: merge fix from 3.2.

14 years agoIssue #5622: merge fix from 3.1.
Ned Deily [Wed, 9 Mar 2011 10:42:23 +0000 (02:42 -0800)]
Issue #5622: merge fix from 3.1.

14 years agoIssue #5622: Fix curses.wrapper to raise correct exception if curses
Ned Deily [Wed, 9 Mar 2011 10:36:51 +0000 (02:36 -0800)]
Issue #5622: Fix curses.wrapper to raise correct exception if curses
initialization fails.

14 years agoIssue #11444: Merge fix from 3.2.
Vinay Sajip [Tue, 8 Mar 2011 22:54:11 +0000 (22:54 +0000)]
Issue #11444: Merge fix from 3.2.

14 years agoIssue #11444: Merge fix from 3.1.
Vinay Sajip [Tue, 8 Mar 2011 22:53:21 +0000 (22:53 +0000)]
Issue #11444: Merge fix from 3.1.

14 years agoIssue #11444: Lock handlers while flushing/closing during shutdown.
Vinay Sajip [Tue, 8 Mar 2011 22:49:57 +0000 (22:49 +0000)]
Issue #11444: Lock handlers while flushing/closing during shutdown.

14 years ago#8594: fix ResourceWarning in test_ftplib.py - patch by Nadeem Vawda.
Giampaolo Rodolà [Tue, 8 Mar 2011 20:33:21 +0000 (21:33 +0100)]
#8594: fix ResourceWarning in test_ftplib.py - patch by Nadeem Vawda.

14 years ago#11298: merge from 3.2.
Ezio Melotti [Tue, 8 Mar 2011 14:49:57 +0000 (16:49 +0200)]
#11298: merge from 3.2.

14 years ago#11298: Improve the unittest discovery explanation.
Ezio Melotti [Tue, 8 Mar 2011 14:17:35 +0000 (16:17 +0200)]
#11298: Improve the unittest discovery explanation.

14 years agomerge heads
Benjamin Peterson [Tue, 8 Mar 2011 04:52:41 +0000 (22:52 -0600)]
merge heads

14 years agomerge 3.2
Benjamin Peterson [Tue, 8 Mar 2011 04:52:31 +0000 (22:52 -0600)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Tue, 8 Mar 2011 04:51:59 +0000 (22:51 -0600)]
merge 3.1

14 years agotransform izip_longest #11424
Benjamin Peterson [Tue, 8 Mar 2011 04:50:37 +0000 (22:50 -0600)]
transform izip_longest #11424

14 years agotransform izip_longest #11424
Benjamin Peterson [Tue, 8 Mar 2011 04:50:37 +0000 (22:50 -0600)]
transform izip_longest #11424

14 years agoIssue #11424: Merged fix from 3.2.
Vinay Sajip [Mon, 7 Mar 2011 18:14:36 +0000 (18:14 +0000)]
Issue #11424: Merged fix from 3.2.

14 years ago#Issue 11424: added equivalent fixes for dictConfig.
Vinay Sajip [Mon, 7 Mar 2011 18:02:57 +0000 (18:02 +0000)]
#Issue 11424: added equivalent fixes for dictConfig.

14 years ago#Issue 11424: merged fix from 3.1.
Vinay Sajip [Mon, 7 Mar 2011 17:59:50 +0000 (17:59 +0000)]
#Issue 11424: merged fix from 3.1.

14 years agoIssue #11424: Fix bug in determining child loggers.
Vinay Sajip [Mon, 7 Mar 2011 17:49:33 +0000 (17:49 +0000)]
Issue #11424: Fix bug in determining child loggers.

14 years agoName c -> cls in example.
Georg Brandl [Mon, 7 Mar 2011 07:31:52 +0000 (08:31 +0100)]
Name c -> cls in example.

14 years agomerge 3.2
Benjamin Peterson [Mon, 7 Mar 2011 00:10:58 +0000 (18:10 -0600)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Mon, 7 Mar 2011 00:04:10 +0000 (18:04 -0600)]
merge 3.1

14 years agomerge 3.1
Benjamin Peterson [Sun, 6 Mar 2011 23:15:06 +0000 (17:15 -0600)]
merge 3.1

14 years agoonly do this sys.stderr replacing on CPython
Benjamin Peterson [Sun, 6 Mar 2011 23:14:30 +0000 (17:14 -0600)]
only do this sys.stderr replacing on CPython

14 years agoMerge 3.2.
Thomas Wouters [Sun, 6 Mar 2011 19:52:15 +0000 (11:52 -0800)]
Merge 3.2.

14 years agoMerge 3.1.
Thomas Wouters [Sun, 6 Mar 2011 19:51:24 +0000 (11:51 -0800)]
Merge 3.1.

14 years agoIssue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
Thomas Wouters [Sun, 6 Mar 2011 19:49:15 +0000 (11:49 -0800)]
Issue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
working correctly with a relative path.

14 years agoavoid casting with this nice macro
Benjamin Peterson [Sun, 6 Mar 2011 15:06:34 +0000 (09:06 -0600)]
avoid casting with this nice macro

14 years agoConvert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
Martin v. Löwis [Sun, 6 Mar 2011 11:24:49 +0000 (12:24 +0100)]
Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.

14 years agoConvert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
Martin v. Löwis [Sun, 6 Mar 2011 11:23:39 +0000 (12:23 +0100)]
Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.

14 years agoConvert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
Martin v. Löwis [Sun, 6 Mar 2011 10:28:23 +0000 (11:28 +0100)]
Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.

14 years agoMerge doc fixes.
Georg Brandl [Sun, 6 Mar 2011 10:12:54 +0000 (11:12 +0100)]
Merge doc fixes.

14 years agoMerge doc fixes.
Georg Brandl [Sun, 6 Mar 2011 10:12:42 +0000 (11:12 +0100)]
Merge doc fixes.

14 years ago#11294: add missing ERA_T_FMT to locale docs.
Georg Brandl [Sun, 6 Mar 2011 10:09:51 +0000 (11:09 +0100)]
#11294: add missing ERA_T_FMT to locale docs.

14 years ago#11292: add missing A_REVERSE to curses attribute table.
Georg Brandl [Sun, 6 Mar 2011 10:08:35 +0000 (11:08 +0100)]
#11292: add missing A_REVERSE to curses attribute table.

14 years ago#11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie...
Georg Brandl [Sun, 6 Mar 2011 10:07:11 +0000 (11:07 +0100)]
#11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ].

14 years ago#11227: use Host header in asyncore example.
Georg Brandl [Sun, 6 Mar 2011 10:05:03 +0000 (11:05 +0100)]
#11227: use Host header in asyncore example.

14 years ago#11373: fix spelling.
Georg Brandl [Sun, 6 Mar 2011 09:57:52 +0000 (10:57 +0100)]
#11373: fix spelling.

14 years ago#11405: do not reference the string module again for its deprecated functions, only...
Georg Brandl [Sun, 6 Mar 2011 09:56:18 +0000 (10:56 +0100)]
#11405: do not reference the string module again for its deprecated functions, only for Template class.

14 years ago#11392: you can trust the computer, but you have to know what it does.
Georg Brandl [Sun, 6 Mar 2011 09:53:55 +0000 (10:53 +0100)]
#11392: you can trust the computer, but you have to know what it does.

14 years ago#11337: remove unreferenced footnote.
Georg Brandl [Sun, 6 Mar 2011 09:51:18 +0000 (10:51 +0100)]
#11337: remove unreferenced footnote.

14 years ago#11400: remove reference to pre-1.5 assignment behavior.
Georg Brandl [Sun, 6 Mar 2011 09:48:43 +0000 (10:48 +0100)]
#11400: remove reference to pre-1.5 assignment behavior.

14 years agomerge heads
Georg Brandl [Sun, 6 Mar 2011 09:36:06 +0000 (10:36 +0100)]
merge heads

14 years agoRemove sys.subversion and svn build identification leftovers.
Georg Brandl [Sun, 6 Mar 2011 09:35:42 +0000 (10:35 +0100)]
Remove sys.subversion and svn build identification leftovers.

14 years agoMerge build identification to default branch.
Georg Brandl [Sun, 6 Mar 2011 09:26:32 +0000 (10:26 +0100)]
Merge build identification to default branch.

14 years agoMerge build identification to 3.2 branch.
Georg Brandl [Sun, 6 Mar 2011 09:13:00 +0000 (10:13 +0100)]
Merge build identification to 3.2 branch.

14 years agoIssue #11408: In threading.Lock.acquire(), only call gettimeofday() when
Antoine Pitrou [Sun, 6 Mar 2011 07:40:35 +0000 (08:40 +0100)]
Issue #11408: In threading.Lock.acquire(), only call gettimeofday() when
really necessary.  Patch by Charles-François Natali.

14 years agoMerge fix for issue #11391
Antoine Pitrou [Sun, 6 Mar 2011 00:53:19 +0000 (01:53 +0100)]
Merge fix for issue #11391

14 years agoMerge fix for issue #11391
Antoine Pitrou [Sun, 6 Mar 2011 00:50:56 +0000 (01:50 +0100)]
Merge fix for issue #11391

14 years agoFix buildbot failure following 97a5590b9291
Antoine Pitrou [Sun, 6 Mar 2011 00:47:18 +0000 (01:47 +0100)]
Fix buildbot failure following 97a5590b9291

14 years agoIssue #11391: Writing to a mmap object created with
Antoine Pitrou [Sun, 6 Mar 2011 00:11:03 +0000 (01:11 +0100)]
Issue #11391: Writing to a mmap object created with
`mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a
TypeError.  Patch by Charles-François Natali.

14 years agoLib/email/test/data/msg_26.txt had its line endings wrong in the SVN repository.
Antoine Pitrou [Sat, 5 Mar 2011 20:49:50 +0000 (21:49 +0100)]
Lib/email/test/data/msg_26.txt had its line endings wrong in the SVN repository.
(they were probably converted right in working copies through an SVN property)

14 years agoAdapt platform and test_platform to the build identification changes.
Georg Brandl [Sat, 5 Mar 2011 20:09:22 +0000 (21:09 +0100)]
Adapt platform and test_platform to the build identification changes.

14 years agoCommit the hg build identification patch from the pymigr repo.
Georg Brandl [Sat, 5 Mar 2011 19:51:24 +0000 (20:51 +0100)]
Commit the hg build identification patch from the pymigr repo.

14 years agoMerge tags from 3.2.
Georg Brandl [Sat, 5 Mar 2011 19:31:42 +0000 (20:31 +0100)]
Merge tags from 3.2.

14 years agoMerge tags from 3.1.
Georg Brandl [Sat, 5 Mar 2011 19:30:52 +0000 (20:30 +0100)]
Merge tags from 3.1.

14 years agoMore tag fixups.
Georg Brandl [Sat, 5 Mar 2011 19:29:01 +0000 (20:29 +0100)]
More tag fixups.

14 years agoAdd the map of SVN revision numbers to changeset ids.
Antoine Pitrou [Sat, 5 Mar 2011 16:46:03 +0000 (17:46 +0100)]
Add the map of SVN revision numbers to changeset ids.
This is mostly to help history-digging, especially when
focussing on feature branches.
Note that not all changesets are in the main repository,
but they are all in the full history repository.

14 years agoDummy-merge 3.2 branch into default branch.
Georg Brandl [Sat, 5 Mar 2011 14:16:28 +0000 (15:16 +0100)]
Dummy-merge 3.2 branch into default branch.

14 years agoDummy-merge 3.1 branch into 3.2 branch.
Georg Brandl [Sat, 5 Mar 2011 14:15:55 +0000 (15:15 +0100)]
Dummy-merge 3.1 branch into 3.2 branch.

14 years agoFix tag references in default branch.
Georg Brandl [Sat, 5 Mar 2011 14:12:14 +0000 (15:12 +0100)]
Fix tag references in default branch.

14 years agoAdd updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl [Sat, 5 Mar 2011 14:11:35 +0000 (15:11 +0100)]
Add updated .hgeol file and fix newlines in the 3.2 branch.

14 years agoFix tag references in 3.2 branch.
Georg Brandl [Sat, 5 Mar 2011 14:11:23 +0000 (15:11 +0100)]
Fix tag references in 3.2 branch.

14 years agoAdd updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl [Sat, 5 Mar 2011 14:10:38 +0000 (15:10 +0100)]
Add updated .hgeol file and fix newlines in the 3.1 branch.

14 years agoFix tag references in 3.1 branch.
Georg Brandl [Sat, 5 Mar 2011 14:10:23 +0000 (15:10 +0100)]
Fix tag references in 3.1 branch.

14 years agoIssue #3080: Add PyImport_AddModuleObject() and PyImport_ExecCodeModuleObject()
Victor Stinner [Fri, 4 Mar 2011 12:57:09 +0000 (12:57 +0000)]
Issue #3080: Add PyImport_AddModuleObject() and PyImport_ExecCodeModuleObject()

14 years agoIssue #3080: Add PyModule_NewObject() function
Victor Stinner [Fri, 4 Mar 2011 12:57:07 +0000 (12:57 +0000)]
Issue #3080: Add PyModule_NewObject() function

14 years agoUpdate Misc/NEWS to include issue #9795 (nntplib context manager support)
Giampaolo Rodolà [Fri, 4 Mar 2011 12:54:34 +0000 (12:54 +0000)]
Update Misc/NEWS to include issue #9795 (nntplib context manager support)

14 years agoInclude Марк Коренберг and Steffen Daode Nurpmeso in Mist/ACKS for contributions...
Giampaolo Rodolà [Fri, 4 Mar 2011 12:51:08 +0000 (12:51 +0000)]
Include Марк Коренберг and Steffen Daode Nurpmeso in Mist/ACKS for contributions in issues 11265 and 11351.

14 years agoMentioned new clear() method of MutableSequence in its doc, and added unit tests...
Eli Bendersky [Fri, 4 Mar 2011 10:38:14 +0000 (10:38 +0000)]
Mentioned new clear() method of MutableSequence in its doc, and added unit tests for its mixin methods

14 years agoIssue #11388: Added a clear() method to MutableSequence
Eli Bendersky [Fri, 4 Mar 2011 05:34:58 +0000 (05:34 +0000)]
Issue #11388: Added a clear() method to MutableSequence

14 years agoMerged revisions 88735 via svnmerge from
Eli Bendersky [Fri, 4 Mar 2011 05:10:57 +0000 (05:10 +0000)]
Merged revisions 88735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88735 | eli.bendersky | 2011-03-04 06:55:25 +0200 (Fri, 04 Mar 2011) | 2 lines

  Issue #11386: Fixed the exception thrown by bytearray.pop() for empty bytearrays
........

14 years agoIssue #11386: Fixed the exception thrown by bytearray.pop() for empty bytearrays
Eli Bendersky [Fri, 4 Mar 2011 04:55:25 +0000 (04:55 +0000)]
Issue #11386: Fixed the exception thrown by bytearray.pop() for empty bytearrays

14 years agoIssue 9795: adds context manager protocol to nntplib.NNTP class so that it can used...
Giampaolo Rodolà [Thu, 3 Mar 2011 18:34:06 +0000 (18:34 +0000)]
Issue 9795: adds context manager protocol to nntplib.NNTP class so that it can used with the 'with' statement.

14 years agoIssue #10516: added copy() and clear() methods to bytearrays as well
Eli Bendersky [Thu, 3 Mar 2011 18:21:02 +0000 (18:21 +0000)]
Issue #10516: added copy() and clear() methods to bytearrays as well

14 years agoMerged revisions 88730 via svnmerge from
R. David Murray [Thu, 3 Mar 2011 18:12:34 +0000 (18:12 +0000)]
Merged revisions 88730 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88730 | r.david.murray | 2011-03-03 13:03:36 -0500 (Thu, 03 Mar 2011) | 2 lines

  #11306: Treat EROFS like EACCES when making a 'file is read-only' decision
........

14 years ago#11306: Treat EROFS like EACCES when making a 'file is read-only' decision
R. David Murray [Thu, 3 Mar 2011 18:03:36 +0000 (18:03 +0000)]
#11306: Treat EROFS like EACCES when making a 'file is read-only' decision

14 years agoIssue 11351 - apply patch by Steffen Daode Nurpmeso which should fix TestSendfile...
Giampaolo Rodolà [Thu, 3 Mar 2011 16:10:51 +0000 (16:10 +0000)]
Issue 11351 - apply patch by Steffen Daode Nurpmeso which should fix TestSendfile.test_headers failure on OSX.

14 years agoMerged revisions 88726 via svnmerge from
Giampaolo Rodolà [Thu, 3 Mar 2011 14:11:46 +0000 (14:11 +0000)]
Merged revisions 88726 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88726 | giampaolo.rodola | 2011-03-03 15:10:58 +0100 (gio, 03 mar 2011) | 1 line

  fix attribute error
........

14 years agofix attribute error
Giampaolo Rodolà [Thu, 3 Mar 2011 14:10:58 +0000 (14:10 +0000)]
fix attribute error

14 years agoMerged revisions 88722 via svnmerge from
Giampaolo Rodolà [Thu, 3 Mar 2011 14:09:45 +0000 (14:09 +0000)]
Merged revisions 88722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88722 | giampaolo.rodola | 2011-03-03 14:57:47 +0100 (gio, 03 mar 2011) | 1 line

  Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send().
........

14 years agoIssue #11377: Fix quoting on Windows in test_platform
Victor Stinner [Thu, 3 Mar 2011 14:07:21 +0000 (14:07 +0000)]
Issue #11377: Fix quoting on Windows in test_platform

14 years agoMerged revisions 88722 via svnmerge from
Giampaolo Rodolà [Thu, 3 Mar 2011 13:59:28 +0000 (13:59 +0000)]
Merged revisions 88722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88722 | giampaolo.rodola | 2011-03-03 14:57:47 +0100 (gio, 03 mar 2011) | 1 line

  Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send().
........

14 years agoFix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on...
Giampaolo Rodolà [Thu, 3 Mar 2011 13:57:47 +0000 (13:57 +0000)]
Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send().

14 years agoIssue #11377: Deprecate platform.popen() and reimplement it with os.popen().
Victor Stinner [Thu, 3 Mar 2011 12:54:07 +0000 (12:54 +0000)]
Issue #11377: Deprecate platform.popen() and reimplement it with os.popen().

14 years agoIssue #8513: On UNIX, subprocess supports bytes command string.
Victor Stinner [Thu, 3 Mar 2011 12:54:05 +0000 (12:54 +0000)]
Issue #8513: On UNIX, subprocess supports bytes command string.

14 years agoUpdate compiler recursion crasher to more reliably blow the stack and add a tracker...
Nick Coghlan [Thu, 3 Mar 2011 11:08:33 +0000 (11:08 +0000)]
Update compiler recursion crasher to more reliably blow the stack and add a tracker issue for it

14 years agoMerged revisions 88717 via svnmerge from
Fred Drake [Thu, 3 Mar 2011 05:29:59 +0000 (05:29 +0000)]
Merged revisions 88717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines

  issue 11372: use range instead of xrange
........

14 years agoissue 11372: use range instead of xrange
Fred Drake [Thu, 3 Mar 2011 05:27:17 +0000 (05:27 +0000)]
issue 11372: use range instead of xrange

14 years agoadd tests for xml.pulldom #9373
Benjamin Peterson [Wed, 2 Mar 2011 23:40:36 +0000 (23:40 +0000)]
add tests for xml.pulldom #9373

Thanks to Mark Smith for the patch.