]> granicus.if.org Git - python/log
python
10 years agomerge 3.4 (#23167)
Benjamin Peterson [Sun, 4 Jan 2015 22:30:13 +0000 (16:30 -0600)]
merge 3.4 (#23167)

10 years agothe current marshal version is 4 (closes #23167)
Benjamin Peterson [Sun, 4 Jan 2015 22:29:48 +0000 (16:29 -0600)]
the current marshal version is 4 (closes #23167)

Patch by Dmitry Kazakov.

10 years agomerge 3.4 (#23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:06:14 +0000 (16:06 -0600)]
merge 3.4 (#23165)

10 years agomerge 3.3 (closes #23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:05:39 +0000 (16:05 -0600)]
merge 3.3 (closes #23165)

10 years agomerge 3.2 (closes #23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:03:59 +0000 (16:03 -0600)]
merge 3.2 (closes #23165)

10 years agoadd some overflow checks before multiplying (closes #23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:03:17 +0000 (16:03 -0600)]
add some overflow checks before multiplying (closes #23165)

10 years agofix issue23157 - time_hashlib hadn't been ported to Python 3.
Gregory P. Smith [Sun, 4 Jan 2015 08:36:59 +0000 (00:36 -0800)]
fix issue23157 - time_hashlib hadn't been ported to Python 3.

10 years agofix issue23157 - time_hashlib hadn't been ported to Python 3.
Gregory P. Smith [Sun, 4 Jan 2015 08:36:04 +0000 (00:36 -0800)]
fix issue23157 - time_hashlib hadn't been ported to Python 3.

10 years agoCloses #23154: Fix unnecessary recompilation of OpenSSL on Windows
Zachary Ware [Sun, 4 Jan 2015 04:33:10 +0000 (22:33 -0600)]
Closes #23154: Fix unnecessary recompilation of OpenSSL on Windows

10 years agoIssue #23143: Remove compatibility with OpenSSLs older than 0.9.8.
Antoine Pitrou [Sat, 3 Jan 2015 22:21:21 +0000 (23:21 +0100)]
Issue #23143: Remove compatibility with OpenSSLs older than 0.9.8.

(now the hashlib module)

10 years agoIssue #23143: Remove compatibility with OpenSSLs older than 0.9.8.
Antoine Pitrou [Sat, 3 Jan 2015 22:17:23 +0000 (23:17 +0100)]
Issue #23143: Remove compatibility with OpenSSLs older than 0.9.8.

(the last 0.9.7 release was in 2007)

10 years agoUpdate bundled pip and setuptools to 6.0.6 and 11.0.
Donald Stufft [Sat, 3 Jan 2015 10:21:23 +0000 (05:21 -0500)]
Update bundled pip and setuptools to 6.0.6 and 11.0.

10 years agoUpgrade the bundled pip to 6.0.6 and the bundled setuptools to 11.0
Donald Stufft [Sat, 3 Jan 2015 10:20:23 +0000 (05:20 -0500)]
Upgrade the bundled pip to 6.0.6 and the bundled setuptools to 11.0

10 years agoAdd missing URL link to Modernize docs.
Ned Deily [Sat, 3 Jan 2015 08:46:24 +0000 (00:46 -0800)]
Add missing URL link to Modernize docs.

10 years agoAdd missing URL link to Modernize docs.
Ned Deily [Sat, 3 Jan 2015 08:45:55 +0000 (00:45 -0800)]
Add missing URL link to Modernize docs.

10 years agoChanges %s to %ls in wprintf in launcher.c for C99 compatibility.
Steve Dower [Sat, 3 Jan 2015 02:07:46 +0000 (18:07 -0800)]
Changes %s to %ls in wprintf in launcher.c for C99 compatibility.

10 years agoIssue #23132: Improve performance and introspection support of comparison
Serhiy Storchaka [Thu, 1 Jan 2015 13:23:12 +0000 (15:23 +0200)]
Issue #23132: Improve performance and introspection support of comparison
methods created by functool.total_ordering.

10 years agoUpdate copyright dates in OS X installer.
Ned Deily [Thu, 1 Jan 2015 00:31:06 +0000 (16:31 -0800)]
Update copyright dates in OS X installer.

10 years agoUpdate copyright dates in OS X installer.
Ned Deily [Thu, 1 Jan 2015 00:30:26 +0000 (16:30 -0800)]
Update copyright dates in OS X installer.

10 years agomerge 3.4
Benjamin Peterson [Thu, 1 Jan 2015 00:11:34 +0000 (18:11 -0600)]
merge 3.4

10 years agomerge 3.3
Benjamin Peterson [Thu, 1 Jan 2015 00:11:22 +0000 (18:11 -0600)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Thu, 1 Jan 2015 00:10:13 +0000 (18:10 -0600)]
merge 3.2

10 years agoupdate for copyright for 2015
Benjamin Peterson [Thu, 1 Jan 2015 00:09:36 +0000 (18:09 -0600)]
update for copyright for 2015

10 years agomerge 3.4
Benjamin Peterson [Tue, 30 Dec 2014 21:17:09 +0000 (15:17 -0600)]
merge 3.4

10 years agoupdate docs for #23111
Benjamin Peterson [Tue, 30 Dec 2014 21:17:03 +0000 (15:17 -0600)]
update docs for #23111

10 years agomerge 3.4 (#23111)
Benjamin Peterson [Tue, 30 Dec 2014 21:16:13 +0000 (15:16 -0600)]
merge 3.4 (#23111)

10 years agomake PROTOCOL_SSLv23 the default protocol version for ftplib (closes #23111)
Benjamin Peterson [Tue, 30 Dec 2014 21:15:43 +0000 (15:15 -0600)]
make PROTOCOL_SSLv23 the default protocol version for ftplib (closes #23111)

10 years agowhitespace
Antoine Pitrou [Tue, 30 Dec 2014 21:09:42 +0000 (22:09 +0100)]
whitespace

10 years agoIssue #19776: Add a expanduser() method on Path objects.
Antoine Pitrou [Tue, 30 Dec 2014 19:54:45 +0000 (20:54 +0100)]
Issue #19776: Add a expanduser() method on Path objects.

Patch by Serhiy.

10 years agomerge 3.4 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:09:30 +0000 (10:09 -0600)]
merge 3.4 (#23130)

10 years agomerge 3.3 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:09:17 +0000 (10:09 -0600)]
merge 3.3 (#23130)

10 years agomerge 3.2 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:08:52 +0000 (10:08 -0600)]
merge 3.2 (#23130)

10 years agodelete old ftpmirror script, which now has security bugs (closes #23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:08:16 +0000 (10:08 -0600)]
delete old ftpmirror script, which now has security bugs (closes #23130)

10 years agomerge 3.4
Benjamin Peterson [Mon, 29 Dec 2014 04:14:23 +0000 (22:14 -0600)]
merge 3.4

10 years agouse a proper m-dash
Benjamin Peterson [Mon, 29 Dec 2014 04:14:15 +0000 (22:14 -0600)]
use a proper m-dash

10 years agoMinor comment clean-up
Raymond Hettinger [Mon, 29 Dec 2014 01:15:12 +0000 (17:15 -0800)]
Minor comment clean-up

10 years agoIssue #23125: Update nose project page link.
Berker Peksag [Sun, 28 Dec 2014 16:48:58 +0000 (18:48 +0200)]
Issue #23125: Update nose project page link.

Reported by Damien Marié.

10 years agoIssue #23125: Update nose project page link.
Berker Peksag [Sun, 28 Dec 2014 16:48:33 +0000 (18:48 +0200)]
Issue #23125: Update nose project page link.

Reported by Damien Marié.

10 years agoSmall clean-up. Factor-out common code for add, contains, and discard function pairs.
Raymond Hettinger [Sat, 27 Dec 2014 07:08:58 +0000 (23:08 -0800)]
Small clean-up.  Factor-out common code for add, contains, and discard function pairs.

10 years agoIssue #23107: Tighten-up loops in setobject.c
Raymond Hettinger [Sat, 27 Dec 2014 04:14:00 +0000 (20:14 -0800)]
Issue #23107:  Tighten-up loops in setobject.c

* Move the test for an exact key match to after a hash match
* Use "used" as a loop counter instead of "fill"
* Minor improvements to variable names and code consistency

10 years agoNeaten-up setobject.h
Raymond Hettinger [Sat, 27 Dec 2014 01:28:16 +0000 (17:28 -0800)]
Neaten-up setobject.h
- Move all Py_LIMITED_API exclusions together under one #ifndef
- Group PyAPI_FUNC functions and PyAPI_DATA together.
- Bring related comments together and put them in the appropriate section.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Fri, 26 Dec 2014 20:29:45 +0000 (21:29 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #22926: In debug mode, call_soon(), call_at() and call_later() methods of
Victor Stinner [Fri, 26 Dec 2014 20:07:52 +0000 (21:07 +0100)]
Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of
asyncio.BaseEventLoop now use the identifier of the current thread to ensure
that they are called from the thread running the event loop.

Before, the get_event_loop() method was used to check the thread, and no
exception was raised when the thread had no event loop. Now the methods always
raise an exception in debug mode when called from the wrong thread. It should
help to notice misusage of the API.

10 years agoasyncio: sync with Tulip
Victor Stinner [Fri, 26 Dec 2014 20:16:42 +0000 (21:16 +0100)]
asyncio: sync with Tulip

* Fix pyflakes warnings: remove unused imports and variables
* asyncio.test_support now uses test.support and test.script_helper if available

10 years agonull merge 3.4
Benjamin Peterson [Fri, 26 Dec 2014 17:07:39 +0000 (11:07 -0600)]
null merge 3.4

10 years agomerge 3.4 (#23112)
Benjamin Peterson [Fri, 26 Dec 2014 16:56:51 +0000 (10:56 -0600)]
merge 3.4 (#23112)

10 years agofix behavior of trailing slash redirection when a query string is involved (closes...
Benjamin Peterson [Fri, 26 Dec 2014 16:53:43 +0000 (10:53 -0600)]
fix behavior of trailing slash redirection when a query string is involved (closes #23112)

10 years ago#20069: Add tests for os.chown.
R David Murray [Thu, 25 Dec 2014 23:36:56 +0000 (18:36 -0500)]
#20069: Add tests for os.chown.

Patch by Vajrasky Kok.

10 years agoRemove the redundant second argument of versionadded directive.
Berker Peksag [Thu, 25 Dec 2014 12:14:09 +0000 (14:14 +0200)]
Remove the redundant second argument of versionadded directive.

The versionadded directive is already placed in the scope of the
HTTPStatus documentation.

10 years agoMerge: #23040: Clarify treatment of encoding and errors when component is bytes.
R David Murray [Thu, 25 Dec 2014 02:24:07 +0000 (21:24 -0500)]
Merge: #23040: Clarify treatment of encoding and errors when component is bytes.

10 years ago#23040: Clarify treatment of encoding and errors when component is bytes.
R David Murray [Thu, 25 Dec 2014 02:23:18 +0000 (21:23 -0500)]
#23040: Clarify treatment of encoding and errors when component is bytes.

Patch by Wojtek Ruszczewski.

10 years agomerge 3.4
Benjamin Peterson [Wed, 24 Dec 2014 22:07:19 +0000 (16:07 -0600)]
merge 3.4

10 years agoupdate correct French examples (#23109)
Benjamin Peterson [Wed, 24 Dec 2014 22:07:02 +0000 (16:07 -0600)]
update correct French examples (#23109)

10 years agomerge 3.4 (#23109)
Benjamin Peterson [Wed, 24 Dec 2014 19:58:47 +0000 (13:58 -0600)]
merge 3.4 (#23109)

10 years agoimprove incorrect French (#23109)
Benjamin Peterson [Wed, 24 Dec 2014 19:58:05 +0000 (13:58 -0600)]
improve incorrect French (#23109)

Following suggestions from Clément.

10 years agomerge 3.4 (#23110)
Benjamin Peterson [Wed, 24 Dec 2014 16:51:10 +0000 (10:51 -0600)]
merge 3.4 (#23110)

10 years agodoucment that Py_SetPath copies its argument (closes #23110)
Benjamin Peterson [Wed, 24 Dec 2014 16:49:11 +0000 (10:49 -0600)]
doucment that Py_SetPath copies its argument (closes #23110)

10 years agoIssue #21793: Added http.HTTPStatus enums (i.e. HTTPStatus.OK,
Serhiy Storchaka [Tue, 23 Dec 2014 14:28:28 +0000 (16:28 +0200)]
Issue #21793: Added http.HTTPStatus enums (i.e. HTTPStatus.OK,
HTTPStatus.NOT_FOUND).  Patch by Demian Brecht.

10 years agoMerge pip and setuptools upgrade
Donald Stufft [Tue, 23 Dec 2014 14:19:45 +0000 (09:19 -0500)]
Merge pip and setuptools upgrade

10 years agoUpgrade pip to 6.0.2 and setuptools to 8.2.1
Donald Stufft [Tue, 23 Dec 2014 14:18:38 +0000 (09:18 -0500)]
Upgrade pip to 6.0.2 and setuptools to 8.2.1

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Mon, 22 Dec 2014 21:10:10 +0000 (22:10 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio doc: update also Queue docstrings
Victor Stinner [Mon, 22 Dec 2014 21:09:50 +0000 (22:09 +0100)]
asyncio doc: update also Queue docstrings

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Mon, 22 Dec 2014 21:07:29 +0000 (22:07 +0100)]
Merge 3.4 (asyncio doc)

10 years agoasyncio doc: Fix doc of get and put methods of Queue
Victor Stinner [Mon, 22 Dec 2014 21:07:06 +0000 (22:07 +0100)]
asyncio doc: Fix doc of get and put methods of Queue

10 years agomerge 3.4 (#23093)
Benjamin Peterson [Mon, 22 Dec 2014 03:00:51 +0000 (21:00 -0600)]
merge 3.4 (#23093)

10 years agoallow more operations to work on detached streams (closes #23093)
Benjamin Peterson [Mon, 22 Dec 2014 02:51:50 +0000 (20:51 -0600)]
allow more operations to work on detached streams (closes #23093)

Patch by Martin Panter.

10 years agoIssue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
Victor Stinner [Sun, 21 Dec 2014 00:16:38 +0000 (01:16 +0100)]
Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
instead of reading /dev/urandom, to get pseudo-random bytes.

10 years agoIssue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
Victor Stinner [Sun, 21 Dec 2014 00:16:38 +0000 (01:16 +0100)]
Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
instead of reading /dev/urandom, to get pseudo-random bytes.

10 years agoIssue #19104: pprint now produces evaluable output for wrapped strings.
Serhiy Storchaka [Sat, 20 Dec 2014 18:58:28 +0000 (20:58 +0200)]
Issue #19104: pprint now produces evaluable output for wrapped strings.

10 years agoIssue #19104: pprint now produces evaluable output for wrapped strings.
Serhiy Storchaka [Sat, 20 Dec 2014 18:57:15 +0000 (20:57 +0200)]
Issue #19104: pprint now produces evaluable output for wrapped strings.

10 years agoNull merge
Serhiy Storchaka [Sat, 20 Dec 2014 16:58:09 +0000 (18:58 +0200)]
Null merge

10 years agoIssue #23071: "namereplace_errors" was added only in 3.5.
Serhiy Storchaka [Sat, 20 Dec 2014 16:53:01 +0000 (18:53 +0200)]
Issue #23071: "namereplace_errors" was added only in 3.5.

10 years agoIssue #23071: Added missing names to codecs.__all__. Patch by Martin Panter.
Serhiy Storchaka [Sat, 20 Dec 2014 15:46:05 +0000 (17:46 +0200)]
Issue #23071: Added missing names to codecs.__all__.  Patch by Martin Panter.

10 years agoIssue #23071: Added missing names to codecs.__all__. Patch by Martin Panter.
Serhiy Storchaka [Sat, 20 Dec 2014 15:42:38 +0000 (17:42 +0200)]
Issue #23071: Added missing names to codecs.__all__.  Patch by Martin Panter.

10 years agonull merge.
Barry Warsaw [Fri, 19 Dec 2014 16:21:56 +0000 (11:21 -0500)]
null merge.

10 years agoFix typo.
Barry Warsaw [Fri, 19 Dec 2014 16:21:35 +0000 (11:21 -0500)]
Fix typo.

10 years agoTrunk merge.
Barry Warsaw [Fri, 19 Dec 2014 16:21:10 +0000 (11:21 -0500)]
Trunk merge.

10 years agoFixed typo.
Barry Warsaw [Fri, 19 Dec 2014 16:20:16 +0000 (11:20 -0500)]
Fixed typo.

10 years agoFix typo.
Barry Warsaw [Fri, 19 Dec 2014 16:20:00 +0000 (11:20 -0500)]
Fix typo.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Fri, 19 Dec 2014 16:11:10 +0000 (17:11 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: IocpProactor.wait_for_handle() test now also checks the result of the
Victor Stinner [Fri, 19 Dec 2014 16:10:44 +0000 (17:10 +0100)]
asyncio: IocpProactor.wait_for_handle() test now also checks the result of the
future

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 18 Dec 2014 22:47:55 +0000 (23:47 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: sync with Tulip
Victor Stinner [Thu, 18 Dec 2014 22:47:27 +0000 (23:47 +0100)]
asyncio: sync with Tulip

* Fix a race condition in BaseSubprocessTransport._try_finish().

  If the process exited before the _post_init() method was called, scheduling
  the call to _call_connection_lost() with call_soon() is wrong:
  connection_made() must be called before connection_lost().

  Reuse the BaseSubprocessTransport._call() method to schedule the call to
  _call_connection_lost() to ensure that connection_made() and
  connection_lost() are called in the correct order.

* Add repr(PipeHandle)

* Fix typo

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 18 Dec 2014 11:30:33 +0000 (12:30 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: sync with Tulip
Victor Stinner [Thu, 18 Dec 2014 11:29:53 +0000 (12:29 +0100)]
asyncio: sync with Tulip

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 18 Dec 2014 00:20:29 +0000 (01:20 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #23074: asyncio.get_event_loop() now raises an exception if the thread
Victor Stinner [Thu, 18 Dec 2014 00:20:10 +0000 (01:20 +0100)]
Issue #23074: asyncio.get_event_loop() now raises an exception if the thread
has no event loop even if assertions are disabled.

10 years agoIssue #22733: Added NEWS item
Steve Dower [Wed, 17 Dec 2014 14:39:44 +0000 (06:39 -0800)]
Issue #22733: Added NEWS item

10 years agoIssue #23060: Suppresses a multiprocessing assert that fails incorrectly
Steve Dower [Wed, 17 Dec 2014 14:35:49 +0000 (06:35 -0800)]
Issue #23060: Suppresses a multiprocessing assert that fails incorrectly
This is to keep buildbots running while we figure out the best long-term fix.

10 years agoIssue #22733: MSVC ffi_prep_args doesn't handle 64-bit arguments properly
Steve Dower [Wed, 17 Dec 2014 14:31:44 +0000 (06:31 -0800)]
Issue #22733: MSVC ffi_prep_args doesn't handle 64-bit arguments properly

10 years agoIssue #23070: Fix a comment in the tutorial.
Berker Peksag [Wed, 17 Dec 2014 12:57:13 +0000 (14:57 +0200)]
Issue #23070: Fix a comment in the tutorial.

"Python" has 6 characters, not 7.

Reported by Ross Burnett.

10 years agoIssue #23070: Fix a comment in the tutorial.
Berker Peksag [Wed, 17 Dec 2014 12:56:47 +0000 (14:56 +0200)]
Issue #23070: Fix a comment in the tutorial.

"Python" has 6 characters, not 7.

Reported by Ross Burnett.

10 years agomerge
Raymond Hettinger [Wed, 17 Dec 2014 02:17:18 +0000 (18:17 -0800)]
merge

10 years agoIssue #23049: Pure python equivalent shouldn't imply more exactitude than is really...
Raymond Hettinger [Wed, 17 Dec 2014 02:16:57 +0000 (18:16 -0800)]
Issue #23049:  Pure python equivalent shouldn't imply more exactitude than is really there.

10 years agoIssue #23009: Skip test_selectors.test_empty_select() on Windows
Victor Stinner [Wed, 17 Dec 2014 00:07:56 +0000 (01:07 +0100)]
Issue #23009: Skip test_selectors.test_empty_select() on Windows

10 years agoIssue #22783: Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX
Serhiy Storchaka [Tue, 16 Dec 2014 17:43:46 +0000 (19:43 +0200)]
Issue #22783: Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX
opcode if possible.

10 years agoIssue #15513: Added a __sizeof__ implementation for pickle classes.
Serhiy Storchaka [Tue, 16 Dec 2014 17:40:58 +0000 (19:40 +0200)]
Issue #15513: Added a __sizeof__ implementation for pickle classes.

10 years agoIssue #15513: Added a __sizeof__ implementation for pickle classes.
Serhiy Storchaka [Tue, 16 Dec 2014 17:39:08 +0000 (19:39 +0200)]
Issue #15513: Added a __sizeof__ implementation for pickle classes.

10 years agoIssue #19858: pickletools.optimize() now aware of the MEMOIZE opcode, can
Serhiy Storchaka [Tue, 16 Dec 2014 16:02:49 +0000 (18:02 +0200)]
Issue #19858:  pickletools.optimize() now aware of the MEMOIZE opcode, can
produce more compact result and no longer produces invalid output if input
data contains MEMOIZE opcodes together with PUT or BINPUT opcodes.

10 years agoIssue #19858: pickletools.optimize() now aware of the MEMOIZE opcode, can
Serhiy Storchaka [Tue, 16 Dec 2014 16:00:56 +0000 (18:00 +0200)]
Issue #19858:  pickletools.optimize() now aware of the MEMOIZE opcode, can
produce more compact result and no longer produces invalid output if input
data contains MEMOIZE opcodes together with PUT or BINPUT opcodes.