]> granicus.if.org Git - python/log
python
10 years agoMerge - Upgrade setuptools to 7.0
Donald Stufft [Tue, 11 Nov 2014 16:06:49 +0000 (11:06 -0500)]
Merge - Upgrade setuptools to 7.0

10 years agoUpgrade setuptools to 7.0
Donald Stufft [Tue, 11 Nov 2014 16:01:09 +0000 (11:01 -0500)]
Upgrade setuptools to 7.0

10 years agoIssue #22845: Improved formatting of dis documentation.
Serhiy Storchaka [Tue, 11 Nov 2014 08:02:46 +0000 (10:02 +0200)]
Issue #22845: Improved formatting of dis documentation.

10 years agoIssue #22845: Improved formatting of dis documentation.
Serhiy Storchaka [Tue, 11 Nov 2014 08:02:11 +0000 (10:02 +0200)]
Issue #22845: Improved formatting of dis documentation.

10 years agoMerge heads
Serhiy Storchaka [Tue, 11 Nov 2014 07:45:55 +0000 (09:45 +0200)]
Merge heads

10 years agoIssue #22839: Fix Snapshot.statistics() link.
Berker Peksag [Mon, 10 Nov 2014 21:15:56 +0000 (23:15 +0200)]
Issue #22839: Fix Snapshot.statistics() link.

10 years agoIssue #22839: Fix Snapshot.statistics() link.
Berker Peksag [Mon, 10 Nov 2014 21:15:32 +0000 (23:15 +0200)]
Issue #22839: Fix Snapshot.statistics() link.

10 years agoFixed error position for the backslash at the end of regex pattern.
Serhiy Storchaka [Mon, 10 Nov 2014 16:28:53 +0000 (18:28 +0200)]
Fixed error position for the backslash at the end of regex pattern.

10 years agoFixed AttributeError when the regular expression starts from illegal escape.
Serhiy Storchaka [Mon, 10 Nov 2014 12:38:16 +0000 (14:38 +0200)]
Fixed AttributeError when the regular expression starts from illegal escape.

10 years agoFixed IDLE tests after changing re error messages (issue #22578).
Serhiy Storchaka [Mon, 10 Nov 2014 12:18:03 +0000 (14:18 +0200)]
Fixed IDLE tests after changing re error messages (issue #22578).

10 years agoIssue #22578: Added attributes to the re.error class.
Serhiy Storchaka [Mon, 10 Nov 2014 11:49:00 +0000 (13:49 +0200)]
Issue #22578: Added attributes to the re.error class.

10 years agoGot rid of the array module dependency in the re module.
Serhiy Storchaka [Mon, 10 Nov 2014 11:25:14 +0000 (13:25 +0200)]
Got rid of the array module dependency in the re module.
The re module could be used during building before array is built.

10 years agoGot rid of the array module dependency in the re module.
Serhiy Storchaka [Mon, 10 Nov 2014 11:24:47 +0000 (13:24 +0200)]
Got rid of the array module dependency in the re module.
The re module could be used during building before array is built.

10 years agoIssue #12728: Different Unicode characters having the same uppercase but
Serhiy Storchaka [Mon, 10 Nov 2014 10:43:14 +0000 (12:43 +0200)]
Issue #12728: Different Unicode characters having the same uppercase but
different lowercase are now matched in case-insensitive regular expressions.

10 years agoIssue #12728: Different Unicode characters having the same uppercase but
Serhiy Storchaka [Mon, 10 Nov 2014 10:37:16 +0000 (12:37 +0200)]
Issue #12728: Different Unicode characters having the same uppercase but
different lowercase are now matched in case-insensitive regular expressions.

10 years agoIssue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
Serhiy Storchaka [Mon, 10 Nov 2014 09:25:50 +0000 (11:25 +0200)]
Issue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
platforms.

10 years agoIssue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
Serhiy Storchaka [Mon, 10 Nov 2014 08:42:26 +0000 (10:42 +0200)]
Issue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
platforms.

10 years agoMerge heads
Serhiy Storchaka [Mon, 10 Nov 2014 08:21:03 +0000 (10:21 +0200)]
Merge heads

10 years agoIssue #21650: Add an `--sort-keys` option to json.tool CLI.
Berker Peksag [Mon, 10 Nov 2014 07:56:54 +0000 (09:56 +0200)]
Issue #21650: Add an `--sort-keys` option to json.tool CLI.

10 years agoIssue #22824: Updated reprlib output format for sets to use set literals.
Raymond Hettinger [Mon, 10 Nov 2014 06:30:36 +0000 (22:30 -0800)]
Issue #22824:  Updated reprlib output format for sets to use set literals.

10 years agoMerge with default
Brett Cannon [Mon, 10 Nov 2014 01:22:53 +0000 (20:22 -0500)]
Merge with default

10 years agoIssue 20152, 22821: Port the fcntl module to Argument Clinic.
Brett Cannon [Mon, 10 Nov 2014 01:22:01 +0000 (20:22 -0500)]
Issue 20152, 22821: Port the fcntl module to Argument Clinic.

Along the way, fix an argumrnt to fcntl.fcntl to be an int instead of
a long.

Thanks to Serhiy Storchaka for reviewing my Clinic patch and for
writing the patch to fix the long/int issue.

10 years agomerge
Raymond Hettinger [Mon, 10 Nov 2014 01:21:20 +0000 (17:21 -0800)]
merge

10 years agoIssue 22830: Clarify docs for functools.cmp_to_key().
Raymond Hettinger [Mon, 10 Nov 2014 01:20:56 +0000 (17:20 -0800)]
Issue 22830:  Clarify docs for functools.cmp_to_key().

10 years agoIssue #22823: Use set literals instead of creating a set from a list
Raymond Hettinger [Sun, 9 Nov 2014 23:56:33 +0000 (15:56 -0800)]
Issue #22823: Use set literals instead of creating a set from a list

10 years agoIssue #22434: Constants in sre_constants are now named constants (enum-like).
Serhiy Storchaka [Sun, 9 Nov 2014 18:48:36 +0000 (20:48 +0200)]
Issue #22434: Constants in sre_constants are now named constants (enum-like).

10 years agoIssue #22695: Fix rendering of the deprecated-removed role in HTML.
Berker Peksag [Sat, 8 Nov 2014 20:41:00 +0000 (22:41 +0200)]
Issue #22695: Fix rendering of the deprecated-removed role in HTML.

10 years agoIssue #22695: Fix rendering of the deprecated-removed role in HTML.
Berker Peksag [Sat, 8 Nov 2014 20:40:22 +0000 (22:40 +0200)]
Issue #22695: Fix rendering of the deprecated-removed role in HTML.

10 years agoSilence the failure of test_pyclbr after adding a property in sre_parse
Serhiy Storchaka [Fri, 7 Nov 2014 20:33:19 +0000 (22:33 +0200)]
Silence the failure of test_pyclbr after adding a property in sre_parse
(issue #814253).

10 years agoSilence the failure of test_pyclbr after adding a property in sre_parse
Serhiy Storchaka [Fri, 7 Nov 2014 20:32:37 +0000 (22:32 +0200)]
Silence the failure of test_pyclbr after adding a property in sre_parse
(issue #814253).

10 years agoIssues #814253, #9179: Group references and conditional group references now
Serhiy Storchaka [Fri, 7 Nov 2014 19:45:17 +0000 (21:45 +0200)]
Issues #814253, #9179: Group references and conditional group references now
work in lookbehind assertions in regular expressions.

10 years agoIssues #814253, #9179: Group references and conditional group references now
Serhiy Storchaka [Fri, 7 Nov 2014 19:43:57 +0000 (21:43 +0200)]
Issues #814253, #9179: Group references and conditional group references now
work in lookbehind assertions in regular expressions.

10 years agoIssue #22808: Link to the correct time method in BaseEventLoop.call_at().
Berker Peksag [Fri, 7 Nov 2014 17:51:37 +0000 (19:51 +0200)]
Issue #22808: Link to the correct time method in BaseEventLoop.call_at().

Patch by Mark Grandi.

10 years agoIssue #22808: Link to the correct time method in BaseEventLoop.call_at().
Berker Peksag [Fri, 7 Nov 2014 17:51:07 +0000 (19:51 +0200)]
Issue #22808: Link to the correct time method in BaseEventLoop.call_at().

Patch by Mark Grandi.

10 years agoIssue #22242: Try to make some import-related loader details clearer.
Brett Cannon [Fri, 7 Nov 2014 16:29:33 +0000 (11:29 -0500)]
Issue #22242: Try to make some import-related loader details clearer.

Thanks to Jon Poler for pointing this out.

10 years agoIssue #22406: Fixed the uu_codec codec incorrectly ported to 3.x.
Serhiy Storchaka [Fri, 7 Nov 2014 12:06:19 +0000 (14:06 +0200)]
Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x.
Based on patch by Martin Panter.

10 years agoIssue #22406: Fixed the uu_codec codec incorrectly ported to 3.x.
Serhiy Storchaka [Fri, 7 Nov 2014 12:04:37 +0000 (14:04 +0200)]
Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x.
Based on patch by Martin Panter.

10 years agoIssue #17293: uuid.getnode() now determines MAC address on AIX using netstat.
Serhiy Storchaka [Fri, 7 Nov 2014 10:23:30 +0000 (12:23 +0200)]
Issue #17293: uuid.getnode() now determines MAC address on AIX using netstat.
Based on patch by Aivars Kalvāns.

10 years agoIssue #17293: uuid.getnode() now determines MAC address on AIX using netstat.
Serhiy Storchaka [Fri, 7 Nov 2014 10:19:40 +0000 (12:19 +0200)]
Issue #17293: uuid.getnode() now determines MAC address on AIX using netstat.
Based on patch by Aivars Kalvāns.

10 years agoIssue #22769: Fixed ttk.Treeview.tag_has() when called without arguments.
Serhiy Storchaka [Fri, 7 Nov 2014 10:03:09 +0000 (12:03 +0200)]
Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments.

10 years agoIssue #22769: Fixed ttk.Treeview.tag_has() when called without arguments.
Serhiy Storchaka [Fri, 7 Nov 2014 10:02:31 +0000 (12:02 +0200)]
Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments.

10 years agomerge with 3.4
Georg Brandl [Thu, 6 Nov 2014 14:33:35 +0000 (15:33 +0100)]
merge with 3.4

10 years agoTry to transfer the Unicode test data files gzipped.
Georg Brandl [Thu, 6 Nov 2014 14:33:30 +0000 (15:33 +0100)]
Try to transfer the Unicode test data files gzipped.

10 years agomerge with 3.4
Georg Brandl [Thu, 6 Nov 2014 13:38:23 +0000 (14:38 +0100)]
merge with 3.4

10 years ago#22650: test suite: load Unicode test data files from www.pythontest.net
Georg Brandl [Thu, 6 Nov 2014 13:37:49 +0000 (14:37 +0100)]
#22650: test suite: load Unicode test data files from www.pythontest.net

10 years agomerge 3.4
Benjamin Peterson [Thu, 6 Nov 2014 05:53:18 +0000 (00:53 -0500)]
merge 3.4

10 years agofix test where sizeof(long) != sizeof(int)
Benjamin Peterson [Thu, 6 Nov 2014 05:52:58 +0000 (00:52 -0500)]
fix test where sizeof(long) != sizeof(int)

10 years agomerge
Raymond Hettinger [Thu, 6 Nov 2014 05:28:19 +0000 (21:28 -0800)]
merge

10 years agoIssue 22803: Add missing versionadded directive.
Raymond Hettinger [Thu, 6 Nov 2014 05:27:56 +0000 (21:27 -0800)]
Issue 22803:  Add missing versionadded directive.

10 years agoIssue #20160: broken ctypes calling convention on MSVC / 64-bit Windows (large struct...
Steve Dower [Thu, 6 Nov 2014 03:30:30 +0000 (19:30 -0800)]
Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows (large structs) Patch by mattip

10 years agomerge with 3.4
Georg Brandl [Wed, 5 Nov 2014 21:17:29 +0000 (22:17 +0100)]
merge with 3.4

10 years agoCloses #22784: fix test_asyncio when the ssl module isn't available
Antoine Pitrou [Wed, 5 Nov 2014 19:48:40 +0000 (20:48 +0100)]
Closes #22784: fix test_asyncio when the ssl module isn't available

10 years agoCloses #22784: fix test_asyncio when the ssl module isn't available
Antoine Pitrou [Wed, 5 Nov 2014 19:48:16 +0000 (20:48 +0100)]
Closes #22784: fix test_asyncio when the ssl module isn't available

10 years agotest_httplib: use self-signed.pythontest.net for verification test with non-root...
Georg Brandl [Wed, 5 Nov 2014 19:37:40 +0000 (20:37 +0100)]
test_httplib: use self-signed.pythontest.net for verification test with non-root-CA cert

10 years agomerge with 3.4
Georg Brandl [Wed, 5 Nov 2014 19:20:45 +0000 (20:20 +0100)]
merge with 3.4

10 years agoCloses #22525: clarify documentation for ast.literal_eval().
Georg Brandl [Wed, 5 Nov 2014 19:20:28 +0000 (20:20 +0100)]
Closes #22525: clarify documentation for ast.literal_eval().

10 years agomerge 3.4
Benjamin Peterson [Wed, 5 Nov 2014 18:10:16 +0000 (13:10 -0500)]
merge 3.4

10 years agouse pythontest.net for fragment redirection test
Benjamin Peterson [Wed, 5 Nov 2014 18:10:08 +0000 (13:10 -0500)]
use pythontest.net for fragment redirection test

10 years agomerge 3.4
Benjamin Peterson [Wed, 5 Nov 2014 16:31:02 +0000 (11:31 -0500)]
merge 3.4

10 years agoremove requires_ssl decorator
Benjamin Peterson [Wed, 5 Nov 2014 16:30:21 +0000 (11:30 -0500)]
remove requires_ssl decorator

10 years agomerge 3.3
Benjamin Peterson [Wed, 5 Nov 2014 16:30:00 +0000 (11:30 -0500)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Wed, 5 Nov 2014 16:29:39 +0000 (11:29 -0500)]
merge 3.2

10 years agouse pythontest.net for url fragment test
Benjamin Peterson [Wed, 5 Nov 2014 16:27:14 +0000 (11:27 -0500)]
use pythontest.net for url fragment test

10 years agoIssue #22793, #22637: Add missing "import os" in uuid._ifconfig_getnode()
Victor Stinner [Wed, 5 Nov 2014 15:55:36 +0000 (16:55 +0100)]
Issue #22793, #22637: Add missing "import os" in uuid._ifconfig_getnode()

10 years ago(Merge 3.4) asyncio: Move loop attribute to _FlowControlMixin
Victor Stinner [Wed, 5 Nov 2014 14:27:54 +0000 (15:27 +0100)]
(Merge 3.4) asyncio: Move loop attribute to _FlowControlMixin

Move the _loop attribute from the constructor of _SelectorTransport,
_ProactorBasePipeTransport and _UnixWritePipeTransport classes to the
constructor of the _FlowControlMixin class.

Add also an assertion to explicit that the parent class must ensure that the
loop is defined (not None)

10 years agoasyncio: Move loop attribute to _FlowControlMixin
Victor Stinner [Wed, 5 Nov 2014 14:27:41 +0000 (15:27 +0100)]
asyncio: Move loop attribute to _FlowControlMixin

Move the _loop attribute from the constructor of _SelectorTransport,
_ProactorBasePipeTransport and _UnixWritePipeTransport classes to the
constructor of the _FlowControlMixin class.

Add also an assertion to explicit that the parent class must ensure that the
loop is defined (not None)

10 years agoIssue #20597, #21274: Remove unused definition of PATH_MAX on GNU/Hurd,
Victor Stinner [Wed, 5 Nov 2014 14:13:51 +0000 (15:13 +0100)]
Issue #20597, #21274: Remove unused definition of PATH_MAX on GNU/Hurd,
MAXPATHLEN is now preferred.

10 years agoIssue #20597: Remove unused definition of PATH_MAX on Windows, MAXPATHLEN is
Victor Stinner [Wed, 5 Nov 2014 14:11:34 +0000 (15:11 +0100)]
Issue #20597: Remove unused definition of PATH_MAX on Windows, MAXPATHLEN is
now preferred. Patch written by Jeffrey Armstrong.

10 years agoIssue #20160: broken ctypes calling convention on MSVC / 64-bit Windows (large struct...
Steve Dower [Wed, 5 Nov 2014 05:21:22 +0000 (21:21 -0800)]
Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows (large structs) Patch by mattip

10 years agoFix regression in issue 22457 fix.
Robert Collins [Tue, 4 Nov 2014 14:43:36 +0000 (03:43 +1300)]
Fix regression in issue 22457 fix.

When used in the real world it can under some situations trigger
"    assert not _relpath.startswith('..'), "Path must be within the project"
     AssertionError: Path must be within the project
"

Because _get_name_from_path was not expecting to be called with the top level
directory.

10 years agoClose #22457: Honour load_tests in the start_dir of discovery.
Robert Collins [Tue, 4 Nov 2014 14:09:01 +0000 (03:09 +1300)]
Close #22457: Honour load_tests in the start_dir of discovery.

We were not honouring load_tests in a package/__init__.py when that was the
start_dir parameter, though we do when it is a child package. The fix required
a little care since it introduces the possibility of infinite recursion.

10 years agoIssue #22773: fix failing test with old readline versions due to issue #19884.
Antoine Pitrou [Tue, 4 Nov 2014 13:53:01 +0000 (14:53 +0100)]
Issue #22773: fix failing test with old readline versions due to issue #19884.

10 years agoIssue #22773: fix failing test with old readline versions due to issue #19884.
Antoine Pitrou [Tue, 4 Nov 2014 13:52:10 +0000 (14:52 +0100)]
Issue #22773: fix failing test with old readline versions due to issue #19884.

10 years agomerge 3.4
Benjamin Peterson [Tue, 4 Nov 2014 02:06:07 +0000 (21:06 -0500)]
merge 3.4

10 years agotest that keyfile can be None
Benjamin Peterson [Tue, 4 Nov 2014 02:05:01 +0000 (21:05 -0500)]
test that keyfile can be None

10 years agocontext has been backported so fix versionchanged
Benjamin Peterson [Mon, 3 Nov 2014 22:04:01 +0000 (17:04 -0500)]
context has been backported so fix versionchanged

10 years agomerge 3.4
Benjamin Peterson [Mon, 3 Nov 2014 20:12:52 +0000 (15:12 -0500)]
merge 3.4

10 years agomerge 3.3
Benjamin Peterson [Mon, 3 Nov 2014 20:12:06 +0000 (15:12 -0500)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Mon, 3 Nov 2014 20:11:53 +0000 (15:11 -0500)]
merge 3.2

10 years agomove idna test domain to pythontest.net
Benjamin Peterson [Mon, 3 Nov 2014 20:10:47 +0000 (15:10 -0500)]
move idna test domain to pythontest.net

10 years agomerge 3.4 (#22417)
Benjamin Peterson [Mon, 3 Nov 2014 19:36:48 +0000 (14:36 -0500)]
merge 3.4 (#22417)

10 years agoPEP 476: enable HTTPS certificate verification by default (#22417)
Benjamin Peterson [Mon, 3 Nov 2014 19:29:33 +0000 (14:29 -0500)]
PEP 476: enable HTTPS certificate verification by default (#22417)

Patch by Alex Gaynor with some modifications by me.

10 years agoIssue #22775: Fixed unpickling of http.cookies.SimpleCookie with protocol 2
Serhiy Storchaka [Sun, 2 Nov 2014 20:19:56 +0000 (22:19 +0200)]
Issue #22775: Fixed unpickling of http.cookies.SimpleCookie with protocol 2
and above.  Patch by Tim Graham.

10 years agoIssue #22775: Fixed unpickling of http.cookies.SimpleCookie with protocol 2
Serhiy Storchaka [Sun, 2 Nov 2014 20:18:25 +0000 (22:18 +0200)]
Issue #22775: Fixed unpickling of http.cookies.SimpleCookie with protocol 2
and above.  Patch by Tim Graham.

10 years agomerge 3.4
Benjamin Peterson [Sun, 2 Nov 2014 18:19:15 +0000 (13:19 -0500)]
merge 3.4

10 years agowrap
Benjamin Peterson [Sun, 2 Nov 2014 18:17:56 +0000 (13:17 -0500)]
wrap

10 years agoMerge heads
Antoine Pitrou [Sun, 2 Nov 2014 17:42:41 +0000 (18:42 +0100)]
Merge heads

10 years agoIssue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on...
Antoine Pitrou [Sun, 2 Nov 2014 17:41:56 +0000 (18:41 +0100)]
Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform.

10 years agoIssue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on...
Antoine Pitrou [Sun, 2 Nov 2014 17:40:09 +0000 (18:40 +0100)]
Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform.

10 years agoMerge asyncio doc English phrasing fix.
R David Murray [Sun, 2 Nov 2014 17:33:37 +0000 (12:33 -0500)]
Merge asyncio doc English phrasing fix.

10 years agoReflow paragraph.
R David Murray [Sun, 2 Nov 2014 17:32:26 +0000 (12:32 -0500)]
Reflow paragraph.

10 years agoFix English phrasing.
R David Murray [Sun, 2 Nov 2014 17:31:47 +0000 (12:31 -0500)]
Fix English phrasing.

10 years agoNull merge
Serhiy Storchaka [Sun, 2 Nov 2014 17:26:48 +0000 (19:26 +0200)]
Null merge

10 years agoMerge heads
Serhiy Storchaka [Sun, 2 Nov 2014 17:26:28 +0000 (19:26 +0200)]
Merge heads

10 years agoMerge heads
Serhiy Storchaka [Sun, 2 Nov 2014 17:26:23 +0000 (19:26 +0200)]
Merge heads

10 years agoIssue #22388: Unified the style of "Contributed by" sentences in What's New.
Serhiy Storchaka [Sun, 2 Nov 2014 17:22:02 +0000 (19:22 +0200)]
Issue #22388: Unified the style of "Contributed by" sentences in What's New.

10 years agoIssue #22388: Unified the style of "Contributed by" sentences in What's New.
Serhiy Storchaka [Sun, 2 Nov 2014 17:18:52 +0000 (19:18 +0200)]
Issue #22388: Unified the style of "Contributed by" sentences in What's New.

10 years ago#22751: merge with 3.4.
Ezio Melotti [Sun, 2 Nov 2014 17:14:54 +0000 (19:14 +0200)]
#22751: merge with 3.4.

10 years ago#22751: fix test___all__ warning about modified environment in the tests. Patch...
Ezio Melotti [Sun, 2 Nov 2014 17:08:35 +0000 (19:08 +0200)]
#22751: fix test___all__ warning about modified environment in the tests.  Patch by Michael Cetrulo.

10 years agoFix test_urllib without the ssl module
Antoine Pitrou [Sun, 2 Nov 2014 16:23:14 +0000 (17:23 +0100)]
Fix test_urllib without the ssl module