]> granicus.if.org Git - python/log
python
11 years agoKeep asyncio working with Python 3.3 too.
Guido van Rossum [Sat, 23 Nov 2013 23:36:43 +0000 (15:36 -0800)]
Keep asyncio working with Python 3.3 too.

11 years agoasyncio: Change bounded semaphore into a subclass, like threading.[Bounded]Semaphore.
Guido van Rossum [Sat, 23 Nov 2013 23:09:16 +0000 (15:09 -0800)]
asyncio: Change bounded semaphore into a subclass, like threading.[Bounded]Semaphore.

11 years agoIssue #19358: "make clinic" now runs the Argument Clinic preprocessor
Larry Hastings [Sat, 23 Nov 2013 22:58:45 +0000 (14:58 -0800)]
Issue #19358: "make clinic" now runs the Argument Clinic preprocessor
over all CPython source files.

11 years agoIssue #19730: Argument Clinic now supports all the existing PyArg
Larry Hastings [Sat, 23 Nov 2013 22:54:00 +0000 (14:54 -0800)]
Issue #19730: Argument Clinic now supports all the existing PyArg
"format units" as legacy converters, as well as two new features:
"self converters" and the "version" directive.

11 years agoIssue #19722: Added opcode.stack_effect(), which accurately
Larry Hastings [Sat, 23 Nov 2013 22:49:22 +0000 (14:49 -0800)]
Issue #19722: Added opcode.stack_effect(), which accurately
computes the stack effect of bytecode instructions.

11 years agoUpdate Tcl/Tk to 8.6.1.
Martin v. Löwis [Sat, 23 Nov 2013 22:05:27 +0000 (23:05 +0100)]
Update Tcl/Tk to 8.6.1.

11 years agoIssue #19735: Implement private function ssl._create_stdlib_context() to
Christian Heimes [Sat, 23 Nov 2013 21:43:47 +0000 (22:43 +0100)]
Issue #19735: Implement private function ssl._create_stdlib_context() to
create SSLContext objects in Python's stdlib module. It provides a single
configuration point and makes use of SSLContext.load_default_certs().

11 years agoIssue #16203: Add re.fullmatch() function and regex.fullmatch() method,
Serhiy Storchaka [Sat, 23 Nov 2013 21:20:30 +0000 (23:20 +0200)]
Issue #16203: Add re.fullmatch() function and regex.fullmatch() method,
which anchor the pattern at both ends of the string to match.

Original patch by Matthew Barnett.

11 years agoPackage _overlapped.
Martin v. Löwis [Sat, 23 Nov 2013 21:02:00 +0000 (22:02 +0100)]
Package _overlapped.

11 years agoMerge heads
Serhiy Storchaka [Sat, 23 Nov 2013 20:45:06 +0000 (22:45 +0200)]
Merge heads

11 years agoIssue #13592: Improved the repr for regular expression pattern objects.
Serhiy Storchaka [Sat, 23 Nov 2013 20:42:43 +0000 (22:42 +0200)]
Issue #13592: Improved the repr for regular expression pattern objects.
Based on patch by Hugo Lopes Tavares.

11 years agoFix test_pickletools.py doctest's on 32-bit platforms. I hate doctests.
Gregory P. Smith [Sat, 23 Nov 2013 20:40:46 +0000 (20:40 +0000)]
Fix test_pickletools.py doctest's on 32-bit platforms.  I hate doctests.

11 years agoFix signed / unsigned comparison
Antoine Pitrou [Sat, 23 Nov 2013 20:34:04 +0000 (21:34 +0100)]
Fix signed / unsigned comparison

11 years agotest_pickle: speed up test_long
Antoine Pitrou [Sat, 23 Nov 2013 20:20:49 +0000 (21:20 +0100)]
test_pickle: speed up test_long

11 years agoIssue #19641: Added the audioop.byteswap() function to convert big-endian
Serhiy Storchaka [Sat, 23 Nov 2013 20:26:01 +0000 (22:26 +0200)]
Issue #19641: Added the audioop.byteswap() function to convert big-endian
samples to little-endian and vice versa.

11 years agogcc doesn't realize that dummy is always initialized by the function call
Gregory P. Smith [Sat, 23 Nov 2013 20:21:28 +0000 (20:21 +0000)]
gcc doesn't realize that dummy is always initialized by the function call
and warns about potential uninitialized use.
Silence that by initializing it to null.

11 years agoIssue #17810: Fixed NULL check in _PyObject_GetItemsIter()
Christian Heimes [Sat, 23 Nov 2013 20:19:43 +0000 (21:19 +0100)]
Issue #17810: Fixed NULL check in _PyObject_GetItemsIter()
CID 1131948:  Logically dead code  (DEADCODE)

11 years agomerge
Christian Heimes [Sat, 23 Nov 2013 20:14:01 +0000 (21:14 +0100)]
merge

11 years agoIssue #17810: Add two missing error checks to save_global
Christian Heimes [Sat, 23 Nov 2013 20:13:39 +0000 (21:13 +0100)]
Issue #17810: Add two missing error checks to save_global
CID 1131946:  Unchecked return value  (CHECKED_RETURN)

11 years agoMerge heads
Serhiy Storchaka [Sat, 23 Nov 2013 20:12:36 +0000 (22:12 +0200)]
Merge heads

11 years agoIssue #15204: Deprecated the 'U' mode in file-like objects.
Serhiy Storchaka [Sat, 23 Nov 2013 20:12:06 +0000 (22:12 +0200)]
Issue #15204: Deprecated the 'U' mode in file-like objects.

11 years agoMerge
Antoine Pitrou [Sat, 23 Nov 2013 20:06:21 +0000 (21:06 +0100)]
Merge

11 years agoIssue #17810: return -1 on error
Christian Heimes [Sat, 23 Nov 2013 20:05:31 +0000 (21:05 +0100)]
Issue #17810: return -1 on error

11 years agoFix writing out 64-bit size fields on 32-bit builds
Antoine Pitrou [Sat, 23 Nov 2013 20:05:08 +0000 (21:05 +0100)]
Fix writing out 64-bit size fields on 32-bit builds

11 years agoIssue #17810: Add NULL check to save_frozenset
Christian Heimes [Sat, 23 Nov 2013 20:01:40 +0000 (21:01 +0100)]
Issue #17810: Add NULL check to save_frozenset
CID 1131949:  Dereference null return value  (NULL_RETURNS)

11 years agoasyncio: Use socketpair() from test_utils in tests (Saúl Ibarra Corretgé).
Guido van Rossum [Sat, 23 Nov 2013 19:51:53 +0000 (11:51 -0800)]
asyncio: Use socketpair() from test_utils in tests (Saúl Ibarra Corretgé).

11 years agoFix typo.
Guido van Rossum [Sat, 23 Nov 2013 19:51:09 +0000 (11:51 -0800)]
Fix typo.

11 years ago#10712: 2to3 has a new "asserts" fixer that replaces deprecated names of unittest...
Ezio Melotti [Sat, 23 Nov 2013 19:14:42 +0000 (21:14 +0200)]
#10712: 2to3 has a new "asserts" fixer that replaces deprecated names of unittest methods.

11 years ago#19639: update the repr of the match objects in the docs. Patch by Claudiu Popa.
Ezio Melotti [Sat, 23 Nov 2013 18:27:27 +0000 (20:27 +0200)]
#19639: update the repr of the match objects in the docs.  Patch by Claudiu Popa.

11 years agoFix whitespace
Antoine Pitrou [Sat, 23 Nov 2013 18:01:36 +0000 (19:01 +0100)]
Fix whitespace

11 years agoIssue #17810: Implement PEP 3154, pickle protocol 4.
Antoine Pitrou [Sat, 23 Nov 2013 17:59:12 +0000 (18:59 +0100)]
Issue #17810: Implement PEP 3154, pickle protocol 4.
Most of the work is by Alexandre.

11 years ago#13633: Added a new convert_charrefs keyword arg to HTMLParser that, when True, autom...
Ezio Melotti [Sat, 23 Nov 2013 17:52:05 +0000 (19:52 +0200)]
#13633: Added a new convert_charrefs keyword arg to HTMLParser that, when True, automatically converts all character references.

11 years agoFixed incorrectly applying a patch for issue19668.
Serhiy Storchaka [Sat, 23 Nov 2013 17:50:47 +0000 (19:50 +0200)]
Fixed incorrectly applying a patch for issue19668.

11 years agoUndo (hopefully) buildbot failures
Antoine Pitrou [Sat, 23 Nov 2013 17:22:02 +0000 (18:22 +0100)]
Undo (hopefully) buildbot failures

11 years agoUndo (hopefully) buildbot failures
Antoine Pitrou [Sat, 23 Nov 2013 17:20:42 +0000 (18:20 +0100)]
Undo (hopefully) buildbot failures

11 years agoRelax timing even more, hopefully again fixes issue 19579.
Guido van Rossum [Sat, 23 Nov 2013 17:20:12 +0000 (09:20 -0800)]
Relax timing even more, hopefully again fixes issue 19579.

11 years agoMerge heads
Serhiy Storchaka [Sat, 23 Nov 2013 17:08:38 +0000 (19:08 +0200)]
Merge heads

11 years agoIsue #19634: test_y_before_1900() is expected to fail on Solaris
Victor Stinner [Sat, 23 Nov 2013 16:58:26 +0000 (17:58 +0100)]
Isue #19634: test_y_before_1900() is expected to fail on Solaris

11 years agoIssue #19668: Added support for the cp1125 encoding.
Serhiy Storchaka [Sat, 23 Nov 2013 16:52:23 +0000 (18:52 +0200)]
Issue #19668: Added support for the cp1125 encoding.

11 years agoAdd news about pdb fix for yield[from].
Guido van Rossum [Sat, 23 Nov 2013 16:46:14 +0000 (08:46 -0800)]
Add news about pdb fix for yield[from].

11 years agoIssue #19308: fix the gdb plugin on gdbs linked with Python 3
Antoine Pitrou [Sat, 23 Nov 2013 16:40:36 +0000 (17:40 +0100)]
Issue #19308: fix the gdb plugin on gdbs linked with Python 3

11 years agoIssue #19308: fix the gdb plugin on gdbs linked with Python 3
Antoine Pitrou [Sat, 23 Nov 2013 16:40:36 +0000 (17:40 +0100)]
Issue #19308: fix the gdb plugin on gdbs linked with Python 3

11 years agoTweak ssl docs
Antoine Pitrou [Sat, 23 Nov 2013 15:16:29 +0000 (16:16 +0100)]
Tweak ssl docs

11 years ago - Modules/_struct.c (unpackiter_type): Define static.
doko@ubuntu.com [Sat, 23 Nov 2013 15:07:55 +0000 (16:07 +0100)]
 - Modules/_struct.c (unpackiter_type): Define static.

11 years agomerge
Christian Heimes [Sat, 23 Nov 2013 14:59:07 +0000 (15:59 +0100)]
merge

11 years agoIssue #19689: Add ssl.create_default_context() factory function. It creates
Christian Heimes [Sat, 23 Nov 2013 14:58:30 +0000 (15:58 +0100)]
Issue #19689: Add ssl.create_default_context() factory function. It creates
a new SSLContext object with secure default settings.

11 years agoIssue #19715: try the utime(..., None) approach again, now that it should be more...
Antoine Pitrou [Sat, 23 Nov 2013 14:25:59 +0000 (15:25 +0100)]
Issue #19715: try the utime(..., None) approach again, now that it should be more precise under Windows

11 years agoIssue #19727: os.utime(..., None) is now potentially more precise under Windows.
Antoine Pitrou [Sat, 23 Nov 2013 14:23:26 +0000 (15:23 +0100)]
Issue #19727: os.utime(..., None) is now potentially more precise under Windows.

11 years agoIssue #19634: time.strftime("%y") now raises a ValueError on Solaris when given
Victor Stinner [Sat, 23 Nov 2013 13:59:33 +0000 (14:59 +0100)]
Issue #19634: time.strftime("%y") now raises a ValueError on Solaris when given
a year before 1900.

11 years agoIssue #17201: ZIP64 extensions now are enabled by default.
Serhiy Storchaka [Sat, 23 Nov 2013 13:55:38 +0000 (15:55 +0200)]
Issue #17201: ZIP64 extensions now are enabled by default.
Patch by William Mallard.

11 years agoIssue #19716: add a test that Path.touch() doesn't change a file's contents.
Antoine Pitrou [Sat, 23 Nov 2013 13:52:39 +0000 (14:52 +0100)]
Issue #19716: add a test that Path.touch() doesn't change a file's contents.
Patch by Kushal Das.

11 years agoCorrect documentation clientAuth -> CLIENT_AUTH
Christian Heimes [Sat, 23 Nov 2013 13:42:01 +0000 (14:42 +0100)]
Correct documentation clientAuth -> CLIENT_AUTH

11 years agoMerge heads
Serhiy Storchaka [Sat, 23 Nov 2013 13:34:05 +0000 (15:34 +0200)]
Merge heads

11 years agoMerge
Michael Foord [Sat, 23 Nov 2013 13:30:03 +0000 (13:30 +0000)]
Merge

11 years agoIssue 17457: extend test discovery to support namespace packages
Michael Foord [Sat, 23 Nov 2013 13:29:23 +0000 (13:29 +0000)]
Issue 17457: extend test discovery to support namespace packages

11 years agoIssue #19733: Temporary disable test_image on MacOSX.
Serhiy Storchaka [Sat, 23 Nov 2013 13:22:10 +0000 (15:22 +0200)]
Issue #19733: Temporary disable test_image on MacOSX.

11 years agoIssue #19733: Temporary disable test_image on MacOSX.
Serhiy Storchaka [Sat, 23 Nov 2013 13:21:33 +0000 (15:21 +0200)]
Issue #19733: Temporary disable test_image on MacOSX.

11 years agoFix refleak introduced by 4f730c045f5f (issue #18408) and unveiled by 95eea8624d05...
Antoine Pitrou [Sat, 23 Nov 2013 13:05:23 +0000 (14:05 +0100)]
Fix refleak introduced by 4f730c045f5f (issue #18408) and unveiled by 95eea8624d05 (issue #16596).

11 years agoIssue #19292: Add SSLContext.load_default_certs() to load default root CA
Christian Heimes [Sat, 23 Nov 2013 12:56:58 +0000 (13:56 +0100)]
Issue #19292: Add SSLContext.load_default_certs() to load default root CA
certificates from default stores or system stores. By default the method
loads CA certs for authentication of server certs.

11 years agoDocument create_connection
Antoine Pitrou [Sat, 23 Nov 2013 12:55:35 +0000 (13:55 +0100)]
Document create_connection

11 years agoStart documenting the event loop
Antoine Pitrou [Sat, 23 Nov 2013 12:10:08 +0000 (13:10 +0100)]
Start documenting the event loop

11 years agoDocument asyncio transport APIs
Antoine Pitrou [Sat, 23 Nov 2013 11:50:52 +0000 (12:50 +0100)]
Document asyncio transport APIs

11 years agoIssue #18874: Remove tracemalloc.set_traceback_limit()
Victor Stinner [Sat, 23 Nov 2013 11:37:20 +0000 (12:37 +0100)]
Issue #18874: Remove tracemalloc.set_traceback_limit()

tracemalloc.start() now has an option nframe parameter

11 years agoIssue #18874: Implement the PEP 454 (tracemalloc)
Victor Stinner [Sat, 23 Nov 2013 11:27:24 +0000 (12:27 +0100)]
Issue #18874: Implement the PEP 454 (tracemalloc)

11 years agomerge
Ned Deily [Sat, 23 Nov 2013 11:33:00 +0000 (03:33 -0800)]
merge

11 years agoIssue #15663: Revert OS X installer built-in Tcl/Tk support for 3.4.0b1.
Ned Deily [Sat, 23 Nov 2013 11:30:11 +0000 (03:30 -0800)]
Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.4.0b1.

11 years agoFix transport docstrings
Antoine Pitrou [Sat, 23 Nov 2013 11:30:00 +0000 (12:30 +0100)]
Fix transport docstrings

11 years agoIssue #8813: X509_VERIFY_PARAM is only available on OpenSSL 0.9.8+
Christian Heimes [Sat, 23 Nov 2013 10:24:32 +0000 (11:24 +0100)]
Issue #8813: X509_VERIFY_PARAM is only available on OpenSSL 0.9.8+
The patch removes the verify_flags feature on Mac OS X 10.4 with OpenSSL 0.9.7l 28 Sep 2006.

11 years agoIssue #19551: Update installer Welcome file.
Ned Deily [Sat, 23 Nov 2013 08:24:15 +0000 (00:24 -0800)]
Issue #19551: Update installer Welcome file.

11 years agoUpdate third-party libraries for OS X installers:
Ned Deily [Sat, 23 Nov 2013 06:54:02 +0000 (22:54 -0800)]
Update third-party libraries for OS X installers:
    XZ 5.0.3 -> 5.0.5
    SQLite 3.7.13 -> 3.8.1

11 years agoIssue #19551: Update whatsnew.
Ned Deily [Sat, 23 Nov 2013 06:39:09 +0000 (22:39 -0800)]
Issue #19551: Update whatsnew.

11 years agoIssue #19551: PEP 453 - OS X installer now installs or upgrades pip by default.
Ned Deily [Sat, 23 Nov 2013 06:25:43 +0000 (22:25 -0800)]
Issue #19551: PEP 453 - OS X installer now installs or upgrades pip by default.

11 years agoUpdate What's New with PEP 453 progress
Nick Coghlan [Sat, 23 Nov 2013 01:59:40 +0000 (11:59 +1000)]
Update What's New with PEP 453 progress

11 years agoClose #19694: venv now runs ensurepip in isolated mode
Nick Coghlan [Sat, 23 Nov 2013 01:37:28 +0000 (11:37 +1000)]
Close #19694: venv now runs ensurepip in isolated mode

11 years agoMerge from 3.3
Andrew Kuchling [Sat, 23 Nov 2013 01:18:26 +0000 (20:18 -0500)]
Merge from 3.3

11 years agoUpdate Itamar's name
Andrew Kuchling [Sat, 23 Nov 2013 01:17:24 +0000 (20:17 -0500)]
Update Itamar's name

11 years agoClose #7475: Restore binary & text transform codecs
Nick Coghlan [Sat, 23 Nov 2013 01:13:36 +0000 (11:13 +1000)]
Close #7475: Restore binary & text transform codecs

The codecs themselves were restored in Python 3.2, this
completes the restoration by adding back the convenience
aliases.

These aliases were originally left out due to confusing
errors when attempting to use them with the text encoding
specific convenience methods. Python 3.4 includes several
improvements to those errors, thus permitting the aliases
to be restored as well.

11 years agoRevert utime(..., None) strategy (it has too poor resolution under Windows) and resto...
Antoine Pitrou [Sat, 23 Nov 2013 01:11:02 +0000 (02:11 +0100)]
Revert utime(..., None) strategy (it has too poor resolution under Windows) and restore the previous test workaround
(issue #19715)

11 years agoTrying other strategy for #19715: use utime(..., None)
Antoine Pitrou [Sat, 23 Nov 2013 00:54:27 +0000 (01:54 +0100)]
Trying other strategy for #19715: use utime(..., None)

11 years agoAdd source link for asyncio.
Guido van Rossum [Sat, 23 Nov 2013 00:53:25 +0000 (16:53 -0800)]
Add source link for asyncio.

11 years agoTry to fix issue #19715 (timestamp rounding inconsistencies under Windows?)
Antoine Pitrou [Sat, 23 Nov 2013 00:32:53 +0000 (01:32 +0100)]
Try to fix issue #19715 (timestamp rounding inconsistencies under Windows?)

11 years agoFinish protocol documentation
Antoine Pitrou [Sat, 23 Nov 2013 00:21:11 +0000 (01:21 +0100)]
Finish protocol documentation

11 years agoStart documenting protocols
Antoine Pitrou [Sat, 23 Nov 2013 00:08:43 +0000 (01:08 +0100)]
Start documenting protocols

11 years agoMention threadpool interface in asyncio overview.
Guido van Rossum [Fri, 22 Nov 2013 23:45:02 +0000 (15:45 -0800)]
Mention threadpool interface in asyncio overview.

11 years agoIssue #19291: add crude stubs to the asyncio docs
Antoine Pitrou [Fri, 22 Nov 2013 23:34:26 +0000 (00:34 +0100)]
Issue #19291: add crude stubs to the asyncio docs

11 years agoIssue #19715: Ensure that consecutive calls to monotonic() are monotonic
Victor Stinner [Fri, 22 Nov 2013 23:15:27 +0000 (00:15 +0100)]
Issue #19715: Ensure that consecutive calls to monotonic() are monotonic

11 years agoTry to debug issue #19715
Antoine Pitrou [Fri, 22 Nov 2013 22:20:08 +0000 (23:20 +0100)]
Try to debug issue #19715

11 years agoIssue #19718: add one more globbing test under POSIX
Antoine Pitrou [Fri, 22 Nov 2013 21:26:01 +0000 (22:26 +0100)]
Issue #19718: add one more globbing test under POSIX

11 years agoWording changes
Andrew Kuchling [Fri, 22 Nov 2013 21:15:28 +0000 (16:15 -0500)]
Wording changes

11 years agomerge
Brett Cannon [Fri, 22 Nov 2013 21:14:24 +0000 (16:14 -0500)]
merge

11 years agoIssue #19718: Add a case-insensitive FS check to test.support to use
Brett Cannon [Fri, 22 Nov 2013 21:14:10 +0000 (16:14 -0500)]
Issue #19718: Add a case-insensitive FS check to test.support to use
in test_pathlib.

Purposefully designed to work from a specified directory in case
multiple file systems are used on the system.

11 years agoMerge heads.
Eric Snow [Fri, 22 Nov 2013 20:55:59 +0000 (13:55 -0700)]
Merge heads.

11 years agoIssue #19724: clear out colliding temp module.
Eric Snow [Fri, 22 Nov 2013 20:55:23 +0000 (13:55 -0700)]
Issue #19724: clear out colliding temp module.

11 years agoWording changes to pathlib docs.
Andrew Kuchling [Fri, 22 Nov 2013 20:45:02 +0000 (15:45 -0500)]
Wording changes to pathlib docs.

Only possibly-controversial change: joinpath() was described as:

  "Calling this method is equivalent to indexing the path with each of
  the *other* arguments in turn."

'Indexing' is an odd word to use, because you can't subscript Path or
PurePath objects, so I changed it to "combining".

11 years agotrunk merge
Barry Warsaw [Fri, 22 Nov 2013 20:31:49 +0000 (15:31 -0500)]
trunk merge

11 years agoIssue 19555 for distutils, plus a little clean up (pyflakes, line lengths).
Barry Warsaw [Fri, 22 Nov 2013 20:31:35 +0000 (15:31 -0500)]
Issue 19555 for distutils, plus a little clean up (pyflakes, line lengths).

11 years agoFix markup of notes recommending asyncio.
Guido van Rossum [Fri, 22 Nov 2013 20:27:45 +0000 (12:27 -0800)]
Fix markup of notes recommending asyncio.

11 years agoMerge heads
Zachary Ware [Fri, 22 Nov 2013 20:04:01 +0000 (14:04 -0600)]
Merge heads

11 years agoIssue #18326: merge with 3.3
Zachary Ware [Fri, 22 Nov 2013 20:03:10 +0000 (14:03 -0600)]
Issue #18326: merge with 3.3

11 years agoIssue #18326: Clarify that list.sort's arguments are keyword-only.
Zachary Ware [Fri, 22 Nov 2013 19:58:34 +0000 (13:58 -0600)]
Issue #18326: Clarify that list.sort's arguments are keyword-only.

Also, attempt to reduce confusion in the glossary by not saying there are
different "types" of arguments and parameters.