]> granicus.if.org Git - python/log
python
12 years ago#2118: IOError is deprecated, use OSError.
R David Murray [Sun, 14 Apr 2013 10:46:35 +0000 (06:46 -0400)]
#2118: IOError is deprecated, use OSError.

12 years agoMerge 3.3
Alexandre Vassalotti [Sun, 14 Apr 2013 10:44:47 +0000 (03:44 -0700)]
Merge 3.3

12 years agoCloses #16551. Cleanup pickle.py.
Serhiy Storchaka [Sun, 14 Apr 2013 10:37:02 +0000 (13:37 +0300)]
Closes #16551. Cleanup pickle.py.

12 years agoMerge heads.
Alexandre Vassalotti [Sun, 14 Apr 2013 10:31:40 +0000 (03:31 -0700)]
Merge heads.

12 years agoIssue #16550: Update the opcode descriptions of pickletools to use unsigned
Alexandre Vassalotti [Sun, 14 Apr 2013 10:30:35 +0000 (03:30 -0700)]
Issue #16550: Update the opcode descriptions of pickletools to use unsigned
integers where appropriate.  Initial patch by Serhiy Storchaka.

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 10:03:01 +0000 (12:03 +0200)]
merge with 3.3

12 years agoFix example ignoring ".svn" directories in compileall.
Georg Brandl [Sun, 14 Apr 2013 10:02:43 +0000 (12:02 +0200)]
Fix example ignoring ".svn" directories in compileall.

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 09:59:19 +0000 (11:59 +0200)]
merge with 3.3

12 years agoThe Integral class does not contain implementations for the bit-shifting operations...
Georg Brandl [Sun, 14 Apr 2013 09:58:54 +0000 (11:58 +0200)]
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 09:55:44 +0000 (11:55 +0200)]
merge with 3.3

12 years agoClarify that the function *definition* creates the function and the binding in the...
Georg Brandl [Sun, 14 Apr 2013 09:47:46 +0000 (11:47 +0200)]
Clarify that the function *definition* creates the function and the binding in the module globals.

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 09:40:27 +0000 (11:40 +0200)]
merge with 3.3

12 years agoCloses #14462: allow any valid Python identifier in sre group names, as documented.
Georg Brandl [Sun, 14 Apr 2013 09:40:00 +0000 (11:40 +0200)]
Closes #14462: allow any valid Python identifier in sre group names, as documented.

12 years agoStyle cleanups for pickle.py and _pickle.
Alexandre Vassalotti [Sun, 14 Apr 2013 09:25:10 +0000 (02:25 -0700)]
Style cleanups for pickle.py and _pickle.

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 09:16:46 +0000 (11:16 +0200)]
merge with 3.3

12 years agoCloses #13638: document PyErr_SetFromErrnoWithFilenameObject,
Georg Brandl [Sun, 14 Apr 2013 09:12:16 +0000 (11:12 +0200)]
Closes #13638: document PyErr_SetFromErrnoWithFilenameObject,
PyErr_SetFromWindowsErrWithFilenameObject, and
PyErr_SetExcFromWindowsErrWithFilenameObject.

Note that PyErr_SetExcFromWindowsErrWithFilenameObjectAndSomeOtherParametersSoThatTheNameGetsSoLongThatNobodyIsEverGonnaUseThisStrangeFunctionForAnything is still undocumented.

12 years agoMerge 3.3
Alexandre Vassalotti [Sun, 14 Apr 2013 09:11:16 +0000 (02:11 -0700)]
Merge 3.3

12 years agoMerge heads.
Alexandre Vassalotti [Sun, 14 Apr 2013 09:10:14 +0000 (02:10 -0700)]
Merge heads.

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 08:59:17 +0000 (10:59 +0200)]
merge with 3.3

12 years agobind('') does not do the same as bind('localhost')
Georg Brandl [Sun, 14 Apr 2013 08:59:04 +0000 (10:59 +0200)]
bind('') does not do the same as bind('localhost')

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 08:50:13 +0000 (10:50 +0200)]
merge with 3.3

12 years agoUpdate code examples using collections.abc classes.
Georg Brandl [Sun, 14 Apr 2013 08:50:05 +0000 (10:50 +0200)]
Update code examples using collections.abc classes.

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 08:31:24 +0000 (10:31 +0200)]
merge with 3.3

12 years agoCloses #17726: small clarification in design FAQ.
Georg Brandl [Sun, 14 Apr 2013 08:31:06 +0000 (10:31 +0200)]
Closes #17726: small clarification in design FAQ.

12 years agoClean up error messages raised by save_reduce in _pickle.
Alexandre Vassalotti [Sun, 14 Apr 2013 08:28:01 +0000 (01:28 -0700)]
Clean up error messages raised by save_reduce in _pickle.

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 08:19:31 +0000 (10:19 +0200)]
merge with 3.3

12 years agoUpdate using/mac documentation which was still on 2.5.
Georg Brandl [Sun, 14 Apr 2013 08:17:35 +0000 (10:17 +0200)]
Update using/mac documentation which was still on 2.5.

12 years agomerge with 3.3
Georg Brandl [Sun, 14 Apr 2013 08:13:50 +0000 (10:13 +0200)]
merge with 3.3

12 years agoClarify point in name mangling doc.
Georg Brandl [Sun, 14 Apr 2013 08:13:42 +0000 (10:13 +0200)]
Clarify point in name mangling doc.

12 years agoMerge 3.3
Alexandre Vassalotti [Sun, 14 Apr 2013 07:58:28 +0000 (00:58 -0700)]
Merge 3.3

12 years agoFix pickling test in test_memoryio.
Alexandre Vassalotti [Sun, 14 Apr 2013 07:56:39 +0000 (00:56 -0700)]
Fix pickling test in test_memoryio.

The test was closing the orginal object instead the copy. This didn't result
in visible failures because the loop range was incorrect as well.

12 years agoMerge heads.
Meador Inge [Sun, 14 Apr 2013 01:59:03 +0000 (20:59 -0500)]
Merge heads.

12 years agoIssue #16804: Fix 'python -S -m site' failure.
Meador Inge [Sun, 14 Apr 2013 01:51:04 +0000 (20:51 -0500)]
Issue #16804: Fix 'python -S -m site' failure.

This commit fixes a bug in the 'site' module that was causing an exception
to incorrectly be thrown when running 'python -S -m site'.  The problem was
that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly
initialized.  The code has been changed to use 'getuserbase' and
'getusersitepackages' instead so that the initialization always happens.

12 years agoIssue #16804: Fix 'python -S -m site' failure.
Meador Inge [Sun, 14 Apr 2013 01:29:49 +0000 (20:29 -0500)]
Issue #16804: Fix 'python -S -m site' failure.

This commit fixes a bug in the 'site' module that was causing an exception
to incorrectly be thrown when running 'python -S -m site'.  The problem was
that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly
initialized.  The code has been changed to use 'getuserbase' and
'getusersitepackages' instead so that the initialization always happens.

12 years agoAdd _PyUnicodeWriter_WriteCharInline()
Victor Stinner [Sun, 14 Apr 2013 00:35:33 +0000 (02:35 +0200)]
Add _PyUnicodeWriter_WriteCharInline()

12 years agoIssue #17693: CJK encoders now use the new Unicode API (PEP 393)
Victor Stinner [Sun, 14 Apr 2013 00:06:32 +0000 (02:06 +0200)]
Issue #17693: CJK encoders now use the new Unicode API (PEP 393)

12 years agoremove pointless change
Benjamin Peterson [Sat, 13 Apr 2013 21:20:36 +0000 (17:20 -0400)]
remove pointless change

12 years agoproperly lookup the __round__ special method (closes #17722)
Benjamin Peterson [Sat, 13 Apr 2013 21:19:01 +0000 (17:19 -0400)]
properly lookup the __round__ special method (closes #17722)

12 years agoFix misindent. This would test half less possibilities.
Antoine Pitrou [Sat, 13 Apr 2013 20:46:33 +0000 (22:46 +0200)]
Fix misindent.  This would test half less possibilities.

12 years agoIssue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal.
Antoine Pitrou [Sat, 13 Apr 2013 20:41:09 +0000 (22:41 +0200)]
Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal.
Initial patch by Daniel Riti.

12 years agoIssue #16061: Speed up str.replace() for replacing 1-character strings.
Serhiy Storchaka [Sat, 13 Apr 2013 19:45:04 +0000 (22:45 +0300)]
Issue #16061: Speed up str.replace() for replacing 1-character strings.

12 years ago#17719: fix incorrect version number in deprecation doc.
R David Murray [Sat, 13 Apr 2013 19:29:22 +0000 (15:29 -0400)]
#17719: fix incorrect version number in deprecation doc.

Patch by Kent Johnson.

12 years ago#2118: Make SMTPException a subclass of IOError.
R David Murray [Sat, 13 Apr 2013 18:49:48 +0000 (14:49 -0400)]
#2118: Make SMTPException a subclass of IOError.

Initial patch by Ned Jackson Lovely.

12 years agoMerge #2118: clarify smtplib exception documentation.
R David Murray [Sat, 13 Apr 2013 18:42:36 +0000 (14:42 -0400)]
Merge #2118: clarify smtplib exception documentation.

12 years agoReflow paragraph.
R David Murray [Sat, 13 Apr 2013 18:40:51 +0000 (14:40 -0400)]
Reflow paragraph.

12 years ago#2118: clarify smtplib exception documentation.
R David Murray [Sat, 13 Apr 2013 18:40:33 +0000 (14:40 -0400)]
#2118: clarify smtplib exception documentation.

12 years agoIssue #17016: Get rid of possible pointer wraparounds and integer overflows
Serhiy Storchaka [Sat, 13 Apr 2013 18:16:40 +0000 (21:16 +0300)]
Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.

12 years agoIssue #17016: Get rid of possible pointer wraparounds and integer overflows
Serhiy Storchaka [Sat, 13 Apr 2013 18:15:47 +0000 (21:15 +0300)]
Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.

12 years ago#17571: merge with 3.3.
Ezio Melotti [Sat, 13 Apr 2013 17:12:53 +0000 (20:12 +0300)]
#17571: merge with 3.3.

12 years ago#17571: remove broken links in datetime.py docstring.
Ezio Melotti [Sat, 13 Apr 2013 17:12:38 +0000 (20:12 +0300)]
#17571: remove broken links in datetime.py docstring.

12 years ago#17686: merge with 3.3.
Ezio Melotti [Sat, 13 Apr 2013 17:07:58 +0000 (20:07 +0300)]
#17686: merge with 3.3.

12 years ago#17686: fix broken link in Doc/using/unix.rst. Patch by Dan Riti.
Ezio Melotti [Sat, 13 Apr 2013 17:07:42 +0000 (20:07 +0300)]
#17686: fix broken link in Doc/using/unix.rst.  Patch by Dan Riti.

12 years agoIssue #17715: Merge fix from 3.3.
Mark Dickinson [Sat, 13 Apr 2013 16:46:04 +0000 (17:46 +0100)]
Issue #17715: Merge fix from 3.3.

12 years agoIssue #17715: Add missing NULL Check to PyNumber_Long.
Mark Dickinson [Sat, 13 Apr 2013 16:44:44 +0000 (17:44 +0100)]
Issue #17715: Add missing NULL Check to PyNumber_Long.

12 years agoIssue #17713: Test temporarily skipped while failure investigated.
Vinay Sajip [Sat, 13 Apr 2013 16:35:14 +0000 (17:35 +0100)]
Issue #17713: Test temporarily skipped while failure investigated.

12 years agoMerge heads.
Mark Dickinson [Sat, 13 Apr 2013 15:09:52 +0000 (16:09 +0100)]
Merge heads.

12 years agoFix incorrect indentation on 'versionadded' for weakref.ref.__callback__.
Mark Dickinson [Sat, 13 Apr 2013 15:09:18 +0000 (16:09 +0100)]
Fix incorrect indentation on 'versionadded' for weakref.ref.__callback__.

12 years agoRevert changes for #13355 by request from Raymond Hettinger
Andrew Svetlov [Sat, 13 Apr 2013 15:04:19 +0000 (18:04 +0300)]
Revert changes for #13355 by request from Raymond Hettinger

12 years agoRevert changes for #13355 by request from Raymond Hettinger
Andrew Svetlov [Sat, 13 Apr 2013 15:00:04 +0000 (18:00 +0300)]
Revert changes for #13355 by request from Raymond Hettinger

12 years agoIssue #17643: Add __callback__ attribute to weakref.ref.
Mark Dickinson [Sat, 13 Apr 2013 14:45:44 +0000 (15:45 +0100)]
Issue #17643: Add __callback__ attribute to weakref.ref.

12 years agoIssue #16447: Merge fix from 3.3.
Mark Dickinson [Sat, 13 Apr 2013 14:30:16 +0000 (15:30 +0100)]
Issue #16447: Merge fix from 3.3.

12 years agoIssue #16447: Fix potential segfault when setting __name__ on a class.
Mark Dickinson [Sat, 13 Apr 2013 14:26:58 +0000 (15:26 +0100)]
Issue #16447: Fix potential segfault when setting __name__ on a class.

12 years agoFix whitespaces
Andrew Svetlov [Fri, 12 Apr 2013 20:30:59 +0000 (23:30 +0300)]
Fix whitespaces

12 years agoFix whitespaces
Andrew Svetlov [Fri, 12 Apr 2013 20:30:41 +0000 (23:30 +0300)]
Fix whitespaces

12 years agoIssue #13355: Raise ValueError on random.triangular call with invalid params.
Andrew Svetlov [Fri, 12 Apr 2013 20:27:37 +0000 (23:27 +0300)]
Issue #13355: Raise ValueError on random.triangular call with invalid params.

Initial patch by Yuriy Senko.

12 years agoIssue #13355: Raise ValueError on random.triangular call with invalid params.
Andrew Svetlov [Fri, 12 Apr 2013 20:21:01 +0000 (23:21 +0300)]
Issue #13355: Raise ValueError on random.triangular call with invalid params.

Initial patch by Yuriy Senko.

12 years agoIssue #16658: add missing return to HTTPConnection.send().
Andrew Svetlov [Fri, 12 Apr 2013 19:50:42 +0000 (22:50 +0300)]
Issue #16658: add missing return to HTTPConnection.send().

Patch by Jeff Knupp

12 years agoIssue #16658: add missing return to HTTPConnection.send().
Andrew Svetlov [Fri, 12 Apr 2013 19:49:19 +0000 (22:49 +0300)]
Issue #16658: add missing return to HTTPConnection.send().

Patch by Jeff Knupp

12 years agoattempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595
Giampaolo Rodola' [Fri, 12 Apr 2013 16:28:15 +0000 (18:28 +0200)]
attempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595

12 years ago#17653: merge with 3.3.
Ezio Melotti [Fri, 12 Apr 2013 16:19:45 +0000 (19:19 +0300)]
#17653: merge with 3.3.

12 years ago#17653: fix typo in socketserver docs. Patch by Tshepang Lekhonkhobe.
Ezio Melotti [Fri, 12 Apr 2013 16:19:21 +0000 (19:19 +0300)]
#17653: fix typo in socketserver docs.  Patch by Tshepang Lekhonkhobe.

12 years agoClosed #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler to...
Vinay Sajip [Fri, 12 Apr 2013 16:04:23 +0000 (17:04 +0100)]
Closed #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler to rotate.

12 years agoNull merge.
Ezio Melotti [Fri, 12 Apr 2013 13:25:41 +0000 (16:25 +0300)]
Null merge.

12 years agoMerge heads.
Ezio Melotti [Fri, 12 Apr 2013 13:24:12 +0000 (16:24 +0300)]
Merge heads.

12 years agoMerge heads.
Ezio Melotti [Fri, 12 Apr 2013 13:23:24 +0000 (16:23 +0300)]
Merge heads.

12 years ago#17688: fix declaration for richcmp example in the docs.
Andrew Svetlov [Fri, 12 Apr 2013 13:09:00 +0000 (16:09 +0300)]
#17688: fix declaration for richcmp example in the docs.

Thanks to Daniel Mullner

12 years ago#17688: fix declaration for richcmp example in the docs.
Andrew Svetlov [Fri, 12 Apr 2013 13:08:40 +0000 (16:08 +0300)]
#17688: fix declaration for richcmp example in the docs.

Thanks to Daniel Mullner

12 years ago#6696: merge with 3.3.
Ezio Melotti [Fri, 12 Apr 2013 12:44:37 +0000 (15:44 +0300)]
#6696: merge with 3.3.

12 years ago#6696: add documentation for the Profile objects, and improve profile/cProfile docs...
Ezio Melotti [Fri, 12 Apr 2013 12:42:06 +0000 (15:42 +0300)]
#6696: add documentation for the Profile objects, and improve profile/cProfile docs.  Patch by Tom Pinckney.

12 years ago#17692: merge with 3.3.
Ezio Melotti [Fri, 12 Apr 2013 11:14:22 +0000 (14:14 +0300)]
#17692: merge with 3.3.

12 years ago#17692: test_sqlite now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 12 Apr 2013 11:13:47 +0000 (14:13 +0300)]
#17692: test_sqlite now works with unittest test discovery.  Patch by Zachary Ware.

12 years ago#17585: merge with 3.3.
Roger Serwy [Fri, 12 Apr 2013 00:18:22 +0000 (19:18 -0500)]
#17585: merge with 3.3.

12 years ago#17585: Fixed IDLE regression. Now closes when using exit() or quit().
Roger Serwy [Fri, 12 Apr 2013 00:16:44 +0000 (19:16 -0500)]
#17585: Fixed IDLE regression. Now closes when using exit() or quit().

12 years ago#17699: Fix the new getpass test failures on windows.
R David Murray [Thu, 11 Apr 2013 21:45:32 +0000 (17:45 -0400)]
#17699: Fix the new getpass test failures on windows.

Patch by Zachary Ware.

12 years agoIssue #13056: Reenable test_multibytecodec.Test_StreamWriter tests
Victor Stinner [Thu, 11 Apr 2013 20:41:11 +0000 (22:41 +0200)]
Issue #13056: Reenable test_multibytecodec.Test_StreamWriter tests

12 years agoClose #17693: Rewrite CJK decoders to use the _PyUnicodeWriter API instead of
Victor Stinner [Thu, 11 Apr 2013 20:09:04 +0000 (22:09 +0200)]
Close #17693: Rewrite CJK decoders to use the _PyUnicodeWriter API instead of
the legacy Py_UNICODE API.

Add also a new _PyUnicodeWriter_WriteChar() function.

12 years agopython-gdb.py: Replace invalid Unicode character with U+FFFD to be able to
Victor Stinner [Thu, 11 Apr 2013 19:37:45 +0000 (21:37 +0200)]
python-gdb.py: Replace invalid Unicode character with U+FFFD to be able to
display invalid strings. Such strings can be found while Python is creating a
new string, in a text decoder for example, when Python is compiled in debug
mode.

12 years agoFix supernumerary 's' in sys._debugmallocstats() output.
Antoine Pitrou [Thu, 11 Apr 2013 19:02:20 +0000 (21:02 +0200)]
Fix supernumerary 's' in sys._debugmallocstats() output.

12 years agoFix supernumerary 's' in sys._debugmallocstats() output.
Antoine Pitrou [Thu, 11 Apr 2013 19:01:40 +0000 (21:01 +0200)]
Fix supernumerary 's' in sys._debugmallocstats() output.

12 years agoFix a crash when setting a servername callback on a SSL server socket and the client...
Antoine Pitrou [Thu, 11 Apr 2013 18:48:42 +0000 (20:48 +0200)]
Fix a crash when setting a servername callback on a SSL server socket and the client doesn't send a server name.
Patch by Kazuhiro Yoshida.
(originally issue #8109)

12 years ago#17690: merge with 3.3.
Ezio Melotti [Thu, 11 Apr 2013 17:30:48 +0000 (20:30 +0300)]
#17690: merge with 3.3.

12 years ago#17690: test_time now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 11 Apr 2013 17:29:42 +0000 (20:29 +0300)]
#17690: test_time now works with unittest test discovery.  Patch by Zachary Ware.

12 years agoFix invalid markup.
Georg Brandl [Thu, 11 Apr 2013 14:10:13 +0000 (16:10 +0200)]
Fix invalid markup.

12 years agoMerge #14971: Use class method name, not function.__name__, during unittest discovery.
R David Murray [Thu, 11 Apr 2013 12:58:11 +0000 (08:58 -0400)]
Merge #14971: Use class method name, not function.__name__, during unittest discovery.

12 years ago#14971: Use class method name, not function.__name__, during unittest discovery.
R David Murray [Thu, 11 Apr 2013 12:55:45 +0000 (08:55 -0400)]
#14971: Use class method name, not function.__name__, during unittest discovery.

12 years agonull merge
Senthil Kumaran [Thu, 11 Apr 2013 03:56:32 +0000 (20:56 -0700)]
null merge

12 years agonormalize whitespace
Senthil Kumaran [Thu, 11 Apr 2013 03:55:58 +0000 (20:55 -0700)]
normalize whitespace

12 years agonormalize whitespace. caught by hook
Senthil Kumaran [Thu, 11 Apr 2013 03:54:23 +0000 (20:54 -0700)]
normalize whitespace. caught by hook

12 years agomerge from 3.3
Senthil Kumaran [Thu, 11 Apr 2013 03:53:12 +0000 (20:53 -0700)]
merge from 3.3

#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
contribution by Thomas Fenzl & Maksim Kozyarchuk

12 years ago#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
Senthil Kumaran [Thu, 11 Apr 2013 03:51:19 +0000 (20:51 -0700)]
#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
contribution by Thomas Fenzl & Maksim Kozyarchuk