]> granicus.if.org Git - python/log
python
9 years agoIssue #23661: unittest.mock side_effects can now be exceptions again.
Robert Collins [Tue, 14 Jul 2015 01:51:40 +0000 (13:51 +1200)]
Issue #23661: unittest.mock side_effects can now be exceptions again.

This was a regression vs Python 3.4. Patch from Ignacio Rossi

9 years agoIssue #23530: Improve os.cpu_count() description.
Charles-François Natali [Mon, 13 Jul 2015 20:01:39 +0000 (21:01 +0100)]
Issue #23530: Improve os.cpu_count() description.
Patch by Julian Taylor.

9 years agomerge 3.5 (#24610)
Benjamin Peterson [Sat, 11 Jul 2015 23:33:50 +0000 (16:33 -0700)]
merge 3.5 (#24610)

9 years agomerge 3.4 (#24610)
Benjamin Peterson [Sat, 11 Jul 2015 23:33:39 +0000 (16:33 -0700)]
merge 3.4 (#24610)

9 years agofix normalization example (closes #24610)
Benjamin Peterson [Sat, 11 Jul 2015 23:32:55 +0000 (16:32 -0700)]
fix normalization example (closes #24610)

Patch by Chris Angelico

9 years agoIssue #24608: chunk.Chunk.read() now always returns bytes, not str.
Serhiy Storchaka [Fri, 10 Jul 2015 19:26:44 +0000 (22:26 +0300)]
Issue #24608: chunk.Chunk.read() now always returns bytes, not str.

9 years agoIssue #24608: chunk.Chunk.read() now always returns bytes, not str.
Serhiy Storchaka [Fri, 10 Jul 2015 19:26:08 +0000 (22:26 +0300)]
Issue #24608: chunk.Chunk.read() now always returns bytes, not str.

9 years agoIssue #24608: chunk.Chunk.read() now always returns bytes, not str.
Serhiy Storchaka [Fri, 10 Jul 2015 19:24:47 +0000 (22:24 +0300)]
Issue #24608: chunk.Chunk.read() now always returns bytes, not str.

9 years agoCorrected docstrings of audio modules. writeframes() accepts bytes, not str.
Serhiy Storchaka [Fri, 10 Jul 2015 19:14:08 +0000 (22:14 +0300)]
Corrected docstrings of audio modules.  writeframes() accepts bytes, not str.

9 years agoCorrected docstrings of audio modules. writeframes() accepts bytes, not str.
Serhiy Storchaka [Fri, 10 Jul 2015 19:13:52 +0000 (22:13 +0300)]
Corrected docstrings of audio modules.  writeframes() accepts bytes, not str.

9 years agoCorrected docstrings of audio modules. writeframes() accepts bytes, not str.
Serhiy Storchaka [Fri, 10 Jul 2015 19:13:40 +0000 (22:13 +0300)]
Corrected docstrings of audio modules.  writeframes() accepts bytes, not str.

9 years agoMerge 3.5 (asyncio)
Victor Stinner [Thu, 9 Jul 2015 21:16:46 +0000 (23:16 +0200)]
Merge 3.5 (asyncio)

9 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 9 Jul 2015 21:14:50 +0000 (23:14 +0200)]
Merge 3.4 (asyncio)

9 years agoasyncio: sync with github asyncio
Victor Stinner [Thu, 9 Jul 2015 21:13:50 +0000 (23:13 +0200)]
asyncio: sync with github asyncio

* queues: get coroutine from asyncio.coroutines, not from asyncio.tasks
* tets: replace tulip with asyncio in comments

9 years ago- Issue #15014: SMTP.auth() and SMTP.login() now support RFC 4954's optional
Barry Warsaw [Thu, 9 Jul 2015 14:42:37 +0000 (10:42 -0400)]
- Issue #15014: SMTP.auth() and SMTP.login() now support RFC 4954's optional
  initial-response argument to the SMTP AUTH command.

9 years ago- Issue #15014: SMTP.auth() and SMTP.login() now support RFC 4954's optional
Barry Warsaw [Thu, 9 Jul 2015 14:39:55 +0000 (10:39 -0400)]
- Issue #15014: SMTP.auth() and SMTP.login() now support RFC 4954's optional
  initial-response argument to the SMTP AUTH command.

9 years agoFixes installer rebuild, snapshot versioning, and the README.txt file.
Steve Dower [Thu, 9 Jul 2015 05:44:52 +0000 (22:44 -0700)]
Fixes installer rebuild, snapshot versioning, and the README.txt file.

9 years agoFixes installer rebuild, snapshot versioning, and the README.txt file.
Steve Dower [Thu, 9 Jul 2015 05:43:48 +0000 (22:43 -0700)]
Fixes installer rebuild, snapshot versioning, and the README.txt file.

9 years agoIssue #24585: Enables build-to-build upgrades that preserve settings.
Steve Dower [Thu, 9 Jul 2015 03:19:07 +0000 (20:19 -0700)]
Issue #24585: Enables build-to-build upgrades that preserve settings.
Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys.
There are also some changes to the bootstrap app to properly handle upgrades.
Finally, a few minor improvements to the Windows build to keep things tidier.

9 years agoIssue #24585: Enables build-to-build upgrades that preserve settings.
Steve Dower [Thu, 9 Jul 2015 03:18:44 +0000 (20:18 -0700)]
Issue #24585: Enables build-to-build upgrades that preserve settings.
Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys.
There are also some changes to the bootstrap app to properly handle upgrades.
Finally, a few minor improvements to the Windows build to keep things tidier.

9 years agoAdded regression test for issue24581.
Serhiy Storchaka [Wed, 8 Jul 2015 20:02:51 +0000 (23:02 +0300)]
Added regression test for issue24581.

9 years agoAdded regression test for issue24581.
Serhiy Storchaka [Wed, 8 Jul 2015 20:02:18 +0000 (23:02 +0300)]
Added regression test for issue24581.

9 years agoAdded regression test for issue24581.
Serhiy Storchaka [Wed, 8 Jul 2015 19:58:55 +0000 (22:58 +0300)]
Added regression test for issue24581.

9 years agoNeaten-up a little bit.
Raymond Hettinger [Wed, 8 Jul 2015 18:52:27 +0000 (11:52 -0700)]
Neaten-up a little bit.

9 years agoCloses 24584: Windows installer incorrectly detects CRT version on Windows 10
Steve Dower [Wed, 8 Jul 2015 03:47:49 +0000 (20:47 -0700)]
Closes 24584: Windows installer incorrectly detects CRT version on Windows 10

9 years agoCloses 24584: Windows installer incorrectly detects CRT version on Windows 10
Steve Dower [Wed, 8 Jul 2015 03:47:28 +0000 (20:47 -0700)]
Closes 24584: Windows installer incorrectly detects CRT version on Windows 10

9 years agoIssue 24581: Revert c9782a9ac031 pending a stronger test for mutation during iteration.
Raymond Hettinger [Tue, 7 Jul 2015 22:29:24 +0000 (15:29 -0700)]
Issue 24581: Revert c9782a9ac031 pending a stronger test for mutation during iteration.

9 years agoMerge 3.5
Zachary Ware [Tue, 7 Jul 2015 05:34:37 +0000 (00:34 -0500)]
Merge 3.5

9 years agoUpdate ignored suspicious markup
Zachary Ware [Tue, 7 Jul 2015 05:34:25 +0000 (00:34 -0500)]
Update ignored suspicious markup

9 years agoMerge 3.5
Zachary Ware [Tue, 7 Jul 2015 05:11:49 +0000 (00:11 -0500)]
Merge 3.5

9 years agoFix versionchanged directives
Zachary Ware [Tue, 7 Jul 2015 05:11:36 +0000 (00:11 -0500)]
Fix versionchanged directives

9 years agoMerge 3.5
Zachary Ware [Tue, 7 Jul 2015 05:08:50 +0000 (00:08 -0500)]
Merge 3.5

9 years agoFix usage of the default role.
Zachary Ware [Tue, 7 Jul 2015 05:07:25 +0000 (00:07 -0500)]
Fix usage of the default role.

9 years agoMerge 3.4
Zachary Ware [Tue, 7 Jul 2015 05:00:43 +0000 (00:00 -0500)]
Merge 3.4

9 years agoFix usage of the default role.
Zachary Ware [Tue, 7 Jul 2015 04:58:12 +0000 (23:58 -0500)]
Fix usage of the default role.

The changes to Doc/library/unittest.mock.rst are almost entirely a
selective backport of the 3.5 page.

9 years agoMerge 3.5
Zachary Ware [Tue, 7 Jul 2015 04:33:33 +0000 (23:33 -0500)]
Merge 3.5

9 years agoMerge 3.4
Zachary Ware [Tue, 7 Jul 2015 04:30:16 +0000 (23:30 -0500)]
Merge 3.4

9 years agoFix suspicious markup
Zachary Ware [Tue, 7 Jul 2015 04:27:15 +0000 (23:27 -0500)]
Fix suspicious markup

9 years agoMinor bit of factoring-out common code.
Raymond Hettinger [Tue, 7 Jul 2015 02:08:49 +0000 (19:08 -0700)]
Minor bit of factoring-out common code.

9 years agoTighten-up code in the set iterator to use an entry pointer rather than indexing.
Raymond Hettinger [Tue, 7 Jul 2015 02:03:01 +0000 (19:03 -0700)]
Tighten-up code in the set iterator to use an entry pointer rather than indexing.

9 years agoCorrected empty lines in Misc/NEWS.
Serhiy Storchaka [Mon, 6 Jul 2015 17:04:21 +0000 (20:04 +0300)]
Corrected empty lines in Misc/NEWS.

9 years agoCorrected empty lines in Misc/NEWS.
Serhiy Storchaka [Mon, 6 Jul 2015 17:02:50 +0000 (20:02 +0300)]
Corrected empty lines in Misc/NEWS.

9 years agoCorrected empty lines in Misc/NEWS.
Serhiy Storchaka [Mon, 6 Jul 2015 16:58:11 +0000 (19:58 +0300)]
Corrected empty lines in Misc/NEWS.

9 years agomerge 3.5
Benjamin Peterson [Mon, 6 Jul 2015 16:28:47 +0000 (11:28 -0500)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Mon, 6 Jul 2015 16:28:40 +0000 (11:28 -0500)]
merge 3.4

9 years ago'not' is very important here
Benjamin Peterson [Mon, 6 Jul 2015 16:28:07 +0000 (11:28 -0500)]
'not' is very important here

9 years agoTighten-up code in set_next() to use an entry pointer rather than indexing.
Raymond Hettinger [Mon, 6 Jul 2015 15:43:37 +0000 (08:43 -0700)]
Tighten-up code in set_next() to use an entry pointer rather than indexing.

9 years agomerge 3.5
Benjamin Peterson [Mon, 6 Jul 2015 14:41:20 +0000 (09:41 -0500)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Mon, 6 Jul 2015 14:41:07 +0000 (09:41 -0500)]
merge 3.4

9 years agotighten warning
Benjamin Peterson [Mon, 6 Jul 2015 14:40:43 +0000 (09:40 -0500)]
tighten warning

9 years agoIssue #18684: Fixed reading out of the buffer in the re module.
Serhiy Storchaka [Mon, 6 Jul 2015 11:23:04 +0000 (14:23 +0300)]
Issue #18684: Fixed reading out of the buffer in the re module.

9 years agoIssue #18684: Fixed reading out of the buffer in the re module.
Serhiy Storchaka [Mon, 6 Jul 2015 11:03:01 +0000 (14:03 +0300)]
Issue #18684: Fixed reading out of the buffer in the re module.

9 years agoIssue #18684: Fixed reading out of the buffer in the re module.
Serhiy Storchaka [Mon, 6 Jul 2015 10:58:33 +0000 (13:58 +0300)]
Issue #18684: Fixed reading out of the buffer in the re module.

9 years agoMerge with 3.5: Issue #24259: tarfile now raises a ReadError if an archive is truncat...
Lars Gustäbel [Mon, 6 Jul 2015 07:32:05 +0000 (09:32 +0200)]
Merge with 3.5: Issue #24259: tarfile now raises a ReadError if an archive is truncated inside a data segment.

9 years agoMerge with 3.4: Issue #24259: tarfile now raises a ReadError if an archive is truncat...
Lars Gustäbel [Mon, 6 Jul 2015 07:29:41 +0000 (09:29 +0200)]
Merge with 3.4: Issue #24259: tarfile now raises a ReadError if an archive is truncated inside a data segment.

9 years agoIssue #24259: tarfile now raises a ReadError if an archive is truncated inside a...
Lars Gustäbel [Mon, 6 Jul 2015 07:27:24 +0000 (09:27 +0200)]
Issue #24259: tarfile now raises a ReadError if an archive is truncated inside a data segment.

9 years agoBring related functions add/contains/discard together in the code.
Raymond Hettinger [Sun, 5 Jul 2015 23:27:44 +0000 (16:27 -0700)]
Bring related functions add/contains/discard together in the code.

9 years agoChange add/contains/discard calls to pass the key and hash instead of an entry struct.
Raymond Hettinger [Sun, 5 Jul 2015 23:06:10 +0000 (16:06 -0700)]
Change add/contains/discard calls to pass the key and hash instead of an entry struct.

9 years agoIssue #24540: merger from 3.5
Ned Deily [Sun, 5 Jul 2015 18:46:12 +0000 (11:46 -0700)]
Issue #24540: merger from 3.5

9 years agoIssue #24540: merger from 3.4
Ned Deily [Sun, 5 Jul 2015 18:45:31 +0000 (11:45 -0700)]
Issue #24540: merger from 3.4

9 years agoIssue #24540: fix typo in json.dumps docstring
Ned Deily [Sun, 5 Jul 2015 18:45:01 +0000 (11:45 -0700)]
Issue #24540: fix typo in json.dumps docstring

9 years agomerge 3.5.0b3 changes from 3.5
Ned Deily [Sun, 5 Jul 2015 18:17:43 +0000 (11:17 -0700)]
merge 3.5.0b3 changes from 3.5

9 years agoMerge with ongoing work in 3.5 branch.
Larry Hastings [Sun, 5 Jul 2015 17:31:09 +0000 (10:31 -0700)]
Merge with ongoing work in 3.5 branch.

9 years agoPost-release fixes for Python 3.5.0b3.
Larry Hastings [Sun, 5 Jul 2015 17:26:00 +0000 (10:26 -0700)]
Post-release fixes for Python 3.5.0b3.

9 years agoClean-up call patterns for add/contains/discard to better match the caller's needs.
Raymond Hettinger [Sun, 5 Jul 2015 17:03:20 +0000 (10:03 -0700)]
Clean-up call patterns for add/contains/discard to better match the caller's needs.

9 years agomerge 3.5
Benjamin Peterson [Sun, 5 Jul 2015 15:39:22 +0000 (10:39 -0500)]
merge 3.5

9 years agomerge heads
Benjamin Peterson [Sun, 5 Jul 2015 15:39:18 +0000 (10:39 -0500)]
merge heads

9 years agomerge heads
Benjamin Peterson [Sun, 5 Jul 2015 15:39:13 +0000 (10:39 -0500)]
merge heads

9 years agomerge 3.5 (#24569)
Benjamin Peterson [Sun, 5 Jul 2015 15:38:05 +0000 (10:38 -0500)]
merge 3.5 (#24569)

9 years agoset items in dict displays from left to right (closes #24569)
Benjamin Peterson [Sun, 5 Jul 2015 15:37:25 +0000 (10:37 -0500)]
set items in dict displays from left to right (closes #24569)

9 years agoadd news section for next beta
Benjamin Peterson [Sun, 5 Jul 2015 15:37:00 +0000 (10:37 -0500)]
add news section for next beta

9 years agoFixes rebuild of strings for Windows installer.
Steve Dower [Sun, 5 Jul 2015 14:24:47 +0000 (07:24 -0700)]
Fixes rebuild of strings for Windows installer.

9 years agoFixes rebuild of strings for Windows installer.
Steve Dower [Sun, 5 Jul 2015 14:24:17 +0000 (07:24 -0700)]
Fixes rebuild of strings for Windows installer.

9 years agomerge 3.5
Benjamin Peterson [Sun, 5 Jul 2015 03:53:55 +0000 (22:53 -0500)]
merge 3.5

9 years agomerge heads
Benjamin Peterson [Sun, 5 Jul 2015 03:53:45 +0000 (22:53 -0500)]
merge heads

9 years agomerge 3.4
Benjamin Peterson [Sun, 5 Jul 2015 03:53:37 +0000 (22:53 -0500)]
merge 3.4

9 years agomerge heads
Benjamin Peterson [Sun, 5 Jul 2015 03:53:11 +0000 (22:53 -0500)]
merge heads

9 years agomerge heads
Benjamin Peterson [Sun, 5 Jul 2015 03:52:33 +0000 (22:52 -0500)]
merge heads

9 years agoAdded tag v3.5.0b3 for changeset 0035fcd9b924
Larry Hastings [Sun, 5 Jul 2015 02:13:23 +0000 (19:13 -0700)]
Added tag v3.5.0b3 for changeset 0035fcd9b924

9 years agoVersion bump for Python 3.5.0b3 release. v3.5.0b3
Larry Hastings [Sun, 5 Jul 2015 02:13:02 +0000 (19:13 -0700)]
Version bump for Python 3.5.0b3 release.

9 years agoDocumentation fixes for 3.5.0b3.
Larry Hastings [Sun, 5 Jul 2015 02:11:41 +0000 (19:11 -0700)]
Documentation fixes for 3.5.0b3.

9 years agomerge 3.5 (#24407)
Benjamin Peterson [Sun, 5 Jul 2015 00:59:50 +0000 (19:59 -0500)]
merge 3.5 (#24407)

9 years agomerge 3.4 (#24407)
Benjamin Peterson [Sun, 5 Jul 2015 00:59:24 +0000 (19:59 -0500)]
merge 3.4 (#24407)

9 years agomerge 3.3 (#24407)
Benjamin Peterson [Sun, 5 Jul 2015 00:58:11 +0000 (19:58 -0500)]
merge 3.3 (#24407)

9 years agoprotect against mutation of the dict during insertion (closes #24407)
Benjamin Peterson [Sun, 5 Jul 2015 00:55:16 +0000 (19:55 -0500)]
protect against mutation of the dict during insertion (closes #24407)

9 years agoMake the unicode equality test an external function rather than in-lining it.
Raymond Hettinger [Sat, 4 Jul 2015 23:04:44 +0000 (16:04 -0700)]
Make the unicode equality test an external function rather than in-lining it.

The real benefit of the unicode specialized function comes from
bypassing the overhead of PyObject_RichCompareBool() and not
from being in-lined (especially since there was almost no shared
data between the caller and callee).  Also, the in-lining was
having a negative effect on code generation for the callee.

9 years agoIssue #24330: merge from 3.5
Ned Deily [Sat, 4 Jul 2015 22:06:43 +0000 (15:06 -0700)]
Issue #24330: merge from 3.5

9 years agoIssue #24330: merge from 3.4
Ned Deily [Sat, 4 Jul 2015 22:06:21 +0000 (15:06 -0700)]
Issue #24330: merge from 3.4

9 years agoIssue #24330: Update IDLE doc and help to note "Configure IDLE" difference
Ned Deily [Sat, 4 Jul 2015 22:05:07 +0000 (15:05 -0700)]
Issue #24330: Update IDLE doc and help to note "Configure IDLE" difference
on OS X.  Original patch by André Freitas.

9 years agoMerge: #24584: replace dead link with pointer to archive.org.
R David Murray [Sat, 4 Jul 2015 19:46:14 +0000 (15:46 -0400)]
Merge: #24584: replace dead link with pointer to archive.org.

9 years agoMerge: #24584: replace dead link with pointer to archive.org.
R David Murray [Sat, 4 Jul 2015 19:45:41 +0000 (15:45 -0400)]
Merge: #24584: replace dead link with pointer to archive.org.

9 years ago#24584: replace dead link with pointer to archive.org.
R David Murray [Sat, 4 Jul 2015 19:44:14 +0000 (15:44 -0400)]
#24584: replace dead link with pointer to archive.org.

9 years agoIgnore user environment/site-packages for ensurepip and compile_all
Steve Dower [Sat, 4 Jul 2015 18:48:59 +0000 (11:48 -0700)]
Ignore user environment/site-packages for ensurepip and compile_all
Remove build condition to prevent old strings hanging around
Add -h option to build.bat

9 years agoIgnore user environment/site-packages for ensurepip and compile_all
Steve Dower [Sat, 4 Jul 2015 18:48:37 +0000 (11:48 -0700)]
Ignore user environment/site-packages for ensurepip and compile_all
Remove build condition to prevent old strings hanging around
Add -h option to build.bat

9 years agoMake sure the dummy percentage calculation won't overflow.
Raymond Hettinger [Sat, 4 Jul 2015 18:28:35 +0000 (11:28 -0700)]
Make sure the dummy percentage calculation won't overflow.

9 years agoMinor cleanup.
Raymond Hettinger [Sat, 4 Jul 2015 15:46:31 +0000 (08:46 -0700)]
Minor cleanup.

9 years agoUpdates to the OS X installer (merge from 3.5)
Ned Deily [Sat, 4 Jul 2015 06:55:23 +0000 (23:55 -0700)]
Updates to the OS X installer (merge from 3.5)

9 years agoUpdates to the OS X installer for 3.5.0b3:
Ned Deily [Sat, 4 Jul 2015 06:53:51 +0000 (23:53 -0700)]
Updates to the OS X installer for 3.5.0b3:
- update installer ReadMe file
- suppress installer per-file byte-compilation messages to system log
- speed up installer byte-compilation
- isolate ensurepip install from user site-packages

9 years agoIssue #24432: merge from 3.5
Ned Deily [Sat, 4 Jul 2015 06:47:02 +0000 (23:47 -0700)]
Issue #24432: merge from 3.5

9 years agoIssue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c.
Ned Deily [Sat, 4 Jul 2015 06:43:22 +0000 (23:43 -0700)]
Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c.