]>
granicus.if.org Git - python/log
Antoine Pitrou [Tue, 18 Nov 2014 23:33:08 +0000 (00:33 +0100)]
Close #22370: Windows detection in pathlib is now more robust.
Antoine Pitrou [Tue, 18 Nov 2014 23:32:08 +0000 (00:32 +0100)]
Close #22370: Windows detection in pathlib is now more robust.
Serhiy Storchaka [Tue, 18 Nov 2014 22:13:24 +0000 (00:13 +0200)]
Null merge
Serhiy Storchaka [Tue, 18 Nov 2014 22:08:38 +0000 (00:08 +0200)]
Issue #22453: Warn against the use of leaking macro PyObject_REPR().
Serhiy Storchaka [Tue, 18 Nov 2014 21:34:33 +0000 (23:34 +0200)]
Issue #22453: Removed non-documented macro PyObject_REPR().
Victor Stinner [Tue, 18 Nov 2014 20:40:51 +0000 (21:40 +0100)]
Issue #20948: Inline makefmt() in unicode_fromformat_arg()
Serhiy Storchaka [Tue, 18 Nov 2014 15:30:50 +0000 (17:30 +0200)]
Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.
Serhiy Storchaka [Tue, 18 Nov 2014 15:30:15 +0000 (17:30 +0200)]
Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.
Serhiy Storchaka [Mon, 17 Nov 2014 21:48:35 +0000 (23:48 +0200)]
Issue #20662: Argspec now is escaped in html output of pydoc.
Serhiy Storchaka [Mon, 17 Nov 2014 21:48:02 +0000 (23:48 +0200)]
Issue #20662: Argspec now is escaped in html output of pydoc.
Raymond Hettinger [Sat, 15 Nov 2014 18:58:58 +0000 (10:58 -0800)]
Issue #22824: Simplify reprlib output format for empty arrays
Serhiy Storchaka [Sat, 15 Nov 2014 11:30:42 +0000 (13:30 +0200)]
Issue #22823: Use set literals instead of creating a set from a tuple.
Serhiy Storchaka [Sat, 15 Nov 2014 11:22:27 +0000 (13:22 +0200)]
Issue #22193: Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.
Serhiy Storchaka [Sat, 15 Nov 2014 11:21:37 +0000 (13:21 +0200)]
Issue #22193: Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.
Ned Deily [Sat, 15 Nov 2014 02:55:05 +0000 (18:55 -0800)]
Issue #22877: PEP 477 - keep 2.7 and 3.x installers in sync.
Ned Deily [Sat, 15 Nov 2014 02:41:56 +0000 (18:41 -0800)]
Update OS X installer documentation files for 3.5.0
Ned Deily [Sat, 15 Nov 2014 02:56:28 +0000 (18:56 -0800)]
Issue #22877: PEP 477 - keep 2.7 and 3.x installers in sync.
Antoine Pitrou [Fri, 14 Nov 2014 23:56:27 +0000 (00:56 +0100)]
Issue #22847: Improve method cache efficiency.
Guido van Rossum [Fri, 14 Nov 2014 19:48:37 +0000 (11:48 -0800)]
- Issue #22841: Reject coroutines in asyncio add_signal_handler().
Patch by Ludovic.Gasc.
Guido van Rossum [Fri, 14 Nov 2014 19:45:47 +0000 (11:45 -0800)]
- Issue #22841: Reject coroutines in asyncio add_signal_handler().
Patch by Ludovic.Gasc.
Benjamin Peterson [Wed, 12 Nov 2014 15:23:44 +0000 (10:23 -0500)]
add space
Benjamin Peterson [Wed, 12 Nov 2014 15:23:35 +0000 (10:23 -0500)]
merge 3.4 (#22849)
Benjamin Peterson [Wed, 12 Nov 2014 15:19:46 +0000 (10:19 -0500)]
fix possible double free in TextIOWrapper.__init__ (closes #22849)
Nick Coghlan [Wed, 12 Nov 2014 13:33:50 +0000 (23:33 +1000)]
Close #19494: add urrlib.request.HTTPBasicPriorAuthHandler
This auth handler adds the Authorization header to the first
HTTP request rather than waiting for a HTTP 401 Unauthorized
response from the server as the default HTTPBasicAuthHandler
does.
This allows working with websites like https://api.github.com which do
not follow the strict interpretation of RFC, but more the dicta in the
end of section 2 of RFC 2617:
> A client MAY preemptively send the corresponding Authorization
> header with requests for resources in that space without receipt
> of another challenge from the server. Similarly, when a client
> sends a request to a proxy, it may reuse a userid and password in
> the Proxy-Authorization header field without receiving another
> challenge from the proxy server. See section 4 for security
> considerations associated with Basic authentication.
Patch by Matej Cepl.
Serhiy Storchaka [Tue, 11 Nov 2014 19:13:28 +0000 (21:13 +0200)]
Minor code clean up and improvements in the re module.
Donald Stufft [Tue, 11 Nov 2014 16:06:49 +0000 (11:06 -0500)]
Merge - Upgrade setuptools to 7.0
Donald Stufft [Tue, 11 Nov 2014 16:01:09 +0000 (11:01 -0500)]
Upgrade setuptools to 7.0
Serhiy Storchaka [Tue, 11 Nov 2014 08:02:46 +0000 (10:02 +0200)]
Issue #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.
Serhiy Storchaka [Tue, 11 Nov 2014 07:45:55 +0000 (09:45 +0200)]
Merge heads
Berker Peksag [Mon, 10 Nov 2014 21:15:56 +0000 (23:15 +0200)]
Issue #22839: Fix Snapshot.statistics() link.
Berker Peksag [Mon, 10 Nov 2014 21:15:32 +0000 (23:15 +0200)]
Issue #22839: Fix Snapshot.statistics() link.
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.
Serhiy Storchaka [Mon, 10 Nov 2014 12:38:16 +0000 (14:38 +0200)]
Fixed AttributeError when the regular expression starts from illegal escape.
Serhiy Storchaka [Mon, 10 Nov 2014 12:18:03 +0000 (14:18 +0200)]
Fixed IDLE tests after changing re error messages (issue #22578).
Serhiy Storchaka [Mon, 10 Nov 2014 11:49:00 +0000 (13:49 +0200)]
Issue #22578: Added attributes to the re.error class.
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.
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.
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.
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.
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.
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.
Serhiy Storchaka [Mon, 10 Nov 2014 08:21:03 +0000 (10:21 +0200)]
Merge heads
Berker Peksag [Mon, 10 Nov 2014 07:56:54 +0000 (09:56 +0200)]
Issue #21650: Add an `--sort-keys` option to json.tool CLI.
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.
Brett Cannon [Mon, 10 Nov 2014 01:22:53 +0000 (20:22 -0500)]
Merge with default
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.
Raymond Hettinger [Mon, 10 Nov 2014 01:21:20 +0000 (17:21 -0800)]
merge
Raymond Hettinger [Mon, 10 Nov 2014 01:20:56 +0000 (17:20 -0800)]
Issue 22830: Clarify docs for functools.cmp_to_key().
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
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).
Berker Peksag [Sat, 8 Nov 2014 20:41:00 +0000 (22:41 +0200)]
Issue #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.
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).
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
Serhiy Storchaka [Fri, 7 Nov 2014 10:03:09 +0000 (12:03 +0200)]
Issue #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.
Georg Brandl [Thu, 6 Nov 2014 14:33:35 +0000 (15:33 +0100)]
merge with 3.4
Georg Brandl [Thu, 6 Nov 2014 14:33:30 +0000 (15:33 +0100)]
Try to transfer the Unicode test data files gzipped.
Georg Brandl [Thu, 6 Nov 2014 13:38:23 +0000 (14:38 +0100)]
merge with 3.4
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
Benjamin Peterson [Thu, 6 Nov 2014 05:53:18 +0000 (00:53 -0500)]
merge 3.4
Benjamin Peterson [Thu, 6 Nov 2014 05:52:58 +0000 (00:52 -0500)]
fix test where sizeof(long) != sizeof(int)
Raymond Hettinger [Thu, 6 Nov 2014 05:28:19 +0000 (21:28 -0800)]
merge
Raymond Hettinger [Thu, 6 Nov 2014 05:27:56 +0000 (21:27 -0800)]
Issue 22803: Add missing versionadded directive.
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
Georg Brandl [Wed, 5 Nov 2014 21:17:29 +0000 (22:17 +0100)]
merge with 3.4
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
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
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
Georg Brandl [Wed, 5 Nov 2014 19:20:45 +0000 (20:20 +0100)]
merge with 3.4
Georg Brandl [Wed, 5 Nov 2014 19:20:28 +0000 (20:20 +0100)]
Closes #22525: clarify documentation for ast.literal_eval().
Benjamin Peterson [Wed, 5 Nov 2014 18:10:16 +0000 (13:10 -0500)]
merge 3.4
Benjamin Peterson [Wed, 5 Nov 2014 18:10:08 +0000 (13:10 -0500)]
use pythontest.net for fragment redirection test
Benjamin Peterson [Wed, 5 Nov 2014 16:31:02 +0000 (11:31 -0500)]
merge 3.4
Benjamin Peterson [Wed, 5 Nov 2014 16:30:21 +0000 (11:30 -0500)]
remove requires_ssl decorator
Benjamin Peterson [Wed, 5 Nov 2014 16:30:00 +0000 (11:30 -0500)]
merge 3.3
Benjamin Peterson [Wed, 5 Nov 2014 16:29:39 +0000 (11:29 -0500)]
merge 3.2
Benjamin Peterson [Wed, 5 Nov 2014 16:27:14 +0000 (11:27 -0500)]
use pythontest.net for url fragment test
Victor Stinner [Wed, 5 Nov 2014 15:55:36 +0000 (16:55 +0100)]
Issue #22793, #22637: Add missing "import os" in uuid._ifconfig_getnode()
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)
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)
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.
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.
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
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.
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.
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.
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.
Benjamin Peterson [Tue, 4 Nov 2014 02:06:07 +0000 (21:06 -0500)]
merge 3.4
Benjamin Peterson [Tue, 4 Nov 2014 02:05:01 +0000 (21:05 -0500)]
test that keyfile can be None