]> granicus.if.org Git - python/log
python
10 years agoIssue #16324: _charset parameter of MIMEText now also accepts email.charset.Charset...
Berker Peksag [Fri, 26 Sep 2014 21:57:29 +0000 (00:57 +0300)]
Issue #16324: _charset parameter of MIMEText now also accepts email.charset.Charset instances.

Initial patch by Claude Paroz.

10 years agoinspect: Fix getsource() to support decorated functions.
Yury Selivanov [Fri, 26 Sep 2014 21:34:54 +0000 (17:34 -0400)]
inspect: Fix getsource() to support decorated functions.

Issue #1764286. Patch by Claudiu Popa.

10 years agoIssue #5309: distutils' build and build_ext commands now accept a ``-j``
Antoine Pitrou [Fri, 26 Sep 2014 21:31:59 +0000 (23:31 +0200)]
Issue #5309: distutils' build and build_ext commands now accept a ``-j``
option to enable parallel building of extension modules.

10 years agonull merge
Yury Selivanov [Fri, 26 Sep 2014 21:11:59 +0000 (17:11 -0400)]
null merge

10 years agotempfile: Fix docstring. Issue #21397, patch by R. David Murray.
Yury Selivanov [Fri, 26 Sep 2014 21:08:21 +0000 (17:08 -0400)]
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.

10 years agotempfile: Fix docstring. Issue #21397, patch by R. David Murray.
Yury Selivanov [Fri, 26 Sep 2014 21:08:02 +0000 (17:08 -0400)]
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.

10 years agoos: Include posix functions in os.__all__. Closes issue #18554.
Yury Selivanov [Fri, 26 Sep 2014 16:33:06 +0000 (12:33 -0400)]
os: Include posix functions in os.__all__. Closes issue #18554.

Patch by Ronald Oussoren.

10 years agoIssue #17462: Add a paragraph about advantages of argparse over optparse.
Berker Peksag [Fri, 26 Sep 2014 12:35:02 +0000 (15:35 +0300)]
Issue #17462: Add a paragraph about advantages of argparse over optparse.

Patch by Anastasia Filatova.

10 years agoIssue #17462: Add a paragraph about advantages of argparse over optparse.
Berker Peksag [Fri, 26 Sep 2014 12:34:26 +0000 (15:34 +0300)]
Issue #17462: Add a paragraph about advantages of argparse over optparse.

Patch by Anastasia Filatova.

10 years agoNull merge
Serhiy Storchaka [Fri, 26 Sep 2014 06:04:19 +0000 (09:04 +0300)]
Null merge

10 years agoasyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module
Yury Selivanov [Thu, 25 Sep 2014 23:12:37 +0000 (19:12 -0400)]
asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module

10 years agoasyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module
Yury Selivanov [Thu, 25 Sep 2014 23:12:10 +0000 (19:12 -0400)]
asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module

10 years agomerge 3.4
Yury Selivanov [Thu, 25 Sep 2014 16:13:41 +0000 (12:13 -0400)]
merge 3.4

10 years agoasyncio: Improve canceled timer handles cleanup. Closes issue #22448.
Yury Selivanov [Thu, 25 Sep 2014 16:09:09 +0000 (12:09 -0400)]
asyncio: Improve canceled timer handles cleanup. Closes issue #22448.

Patch by Joshua Moore-Oliva.

10 years agoasyncio: Improve canceled timer handles cleanup. Closes issue #22448.
Yury Selivanov [Thu, 25 Sep 2014 16:07:56 +0000 (12:07 -0400)]
asyncio: Improve canceled timer handles cleanup. Closes issue #22448.

Patch by Joshua Moore-Oliva.

10 years agoIssue #18093: fix test_capi test skip due to _testembed move
Nick Coghlan [Thu, 25 Sep 2014 09:48:15 +0000 (19:48 +1000)]
Issue #18093: fix test_capi test skip due to _testembed move

10 years agomerge 3.4
Benjamin Peterson [Thu, 25 Sep 2014 05:07:54 +0000 (01:07 -0400)]
merge 3.4

10 years agoasyncio: Reverting 69d474dab479 as issue #21645 is now closed and debug is no longer...
Yury Selivanov [Thu, 25 Sep 2014 03:41:28 +0000 (23:41 -0400)]
asyncio: Reverting 69d474dab479 as issue #21645 is now closed and debug is no longer needed

10 years agoasyncio.test_events: Partially reverting f7643c893587 to stay in sync with tulip...
Yury Selivanov [Thu, 25 Sep 2014 03:30:03 +0000 (23:30 -0400)]
asyncio.test_events: Partially reverting f7643c893587 to stay in sync with tulip codebase

10 years agoasyncio.unix_events: Move import statement to match code in tulip
Yury Selivanov [Thu, 25 Sep 2014 03:22:26 +0000 (23:22 -0400)]
asyncio.unix_events: Move import statement to match code in tulip

10 years agoasyncio.unix_events: Move import statement to match tulip code
Yury Selivanov [Thu, 25 Sep 2014 03:21:39 +0000 (23:21 -0400)]
asyncio.unix_events: Move import statement to match tulip code

10 years agomerge 3.4 (#22484)
Benjamin Peterson [Thu, 25 Sep 2014 00:22:49 +0000 (20:22 -0400)]
merge 3.4 (#22484)

10 years agoallow archives for rc releases to be built (closes #22484)
Benjamin Peterson [Thu, 25 Sep 2014 00:22:24 +0000 (20:22 -0400)]
allow archives for rc releases to be built (closes #22484)

10 years ago(Merge 3.4) test_faulthandler: fix typo
Victor Stinner [Wed, 24 Sep 2014 22:39:17 +0000 (00:39 +0200)]
(Merge 3.4) test_faulthandler: fix typo

10 years agotest_faulthandler: fix typo
Victor Stinner [Wed, 24 Sep 2014 22:38:48 +0000 (00:38 +0200)]
test_faulthandler: fix typo

10 years agoMerge: Apply asyncio Task English fixes to docstrings as well.
R David Murray [Wed, 24 Sep 2014 17:14:07 +0000 (13:14 -0400)]
Merge: Apply asyncio Task English fixes to docstrings as well.

10 years agoApply asyncio Task English fixes to docstrings as well.
R David Murray [Wed, 24 Sep 2014 17:13:45 +0000 (13:13 -0400)]
Apply asyncio Task English fixes to docstrings as well.

Also fixed the phrasing in a comment.

10 years agoMerge: Improve English phrasing in asyncio task docs.
R David Murray [Wed, 24 Sep 2014 15:09:42 +0000 (11:09 -0400)]
Merge: Improve English phrasing in asyncio task docs.

10 years agoImprove English phrasing in asyncio task docs.
R David Murray [Wed, 24 Sep 2014 15:09:09 +0000 (11:09 -0400)]
Improve English phrasing in asyncio task docs.

10 years agoIssue #16056: Rename test method in test_statistics to avoid conflict.
Berker Peksag [Wed, 24 Sep 2014 12:03:57 +0000 (15:03 +0300)]
Issue #16056: Rename test method in test_statistics to avoid conflict.

10 years agoIssue #16056: Rename test method in test_statistics to avoid conflict.
Berker Peksag [Wed, 24 Sep 2014 12:03:25 +0000 (15:03 +0300)]
Issue #16056: Rename test method in test_statistics to avoid conflict.

10 years agoIssue #22427: TemporaryDirectory no longer attempts to clean up twice when
Serhiy Storchaka [Wed, 24 Sep 2014 10:29:27 +0000 (13:29 +0300)]
Issue #22427: TemporaryDirectory no longer attempts to clean up twice when
used in the with statement in generator.

10 years agoIssue #22427: TemporaryDirectory no longer attempts to clean up twice when
Serhiy Storchaka [Wed, 24 Sep 2014 10:26:25 +0000 (13:26 +0300)]
Issue #22427: TemporaryDirectory no longer attempts to clean up twice when
used in the with statement in generator.

10 years agoIssue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
Berker Peksag [Wed, 24 Sep 2014 09:44:06 +0000 (12:44 +0300)]
Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.

Patch by Terry Chia.

10 years agoIssue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
Berker Peksag [Wed, 24 Sep 2014 09:43:29 +0000 (12:43 +0300)]
Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.

Patch by Terry Chia.

10 years agoUpdate importlib.h frozen bytecode (changed due to commit c0ca9d32aed4).
Georg Brandl [Wed, 24 Sep 2014 07:08:12 +0000 (09:08 +0200)]
Update importlib.h frozen bytecode (changed due to commit c0ca9d32aed4).

10 years ago#22464: Speed up common Fraction operations by special-casing several
Georg Brandl [Wed, 24 Sep 2014 06:37:55 +0000 (08:37 +0200)]
#22464: Speed up common Fraction operations by special-casing several
operations for int-type arguments: constructor and equality test.

Also avoid redundant property lookups in addition and subtraction.

10 years agoNull merge
Serhiy Storchaka [Tue, 23 Sep 2014 20:24:19 +0000 (23:24 +0300)]
Null merge

10 years agoMerge heads
Serhiy Storchaka [Tue, 23 Sep 2014 20:23:55 +0000 (23:23 +0300)]
Merge heads

10 years agoMerge heads
Serhiy Storchaka [Tue, 23 Sep 2014 20:23:41 +0000 (23:23 +0300)]
Merge heads

10 years agoIssue #22362: Forbidden ambiguous octal escapes out of range 0-0o377 in
Serhiy Storchaka [Tue, 23 Sep 2014 20:22:41 +0000 (23:22 +0300)]
Issue #22362: Forbidden ambiguous octal escapes out of range 0-0o377 in
regular expressions.

10 years agoFixed bytes literals in tests.
Serhiy Storchaka [Tue, 23 Sep 2014 20:04:54 +0000 (23:04 +0300)]
Fixed bytes literals in tests.

10 years agoFixed bytes literals in tests.
Serhiy Storchaka [Tue, 23 Sep 2014 20:04:21 +0000 (23:04 +0300)]
Fixed bytes literals in tests.

10 years agoIssue #22471: Avoid Python Launcher.app install problems by removing
Ned Deily [Tue, 23 Sep 2014 19:54:18 +0000 (12:54 -0700)]
Issue #22471: Avoid Python Launcher.app install problems by removing
vestigial Makefile step.

10 years agoIssue #22471: Avoid Python Launcher.app install problems by removing
Ned Deily [Tue, 23 Sep 2014 19:48:54 +0000 (12:48 -0700)]
Issue #22471: Avoid Python Launcher.app install problems by removing
vestigial Makefile step.

10 years agoIssue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
Serhiy Storchaka [Tue, 23 Sep 2014 19:42:02 +0000 (22:42 +0300)]
Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
directory attributes.

10 years agoIssue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
Serhiy Storchaka [Tue, 23 Sep 2014 19:40:23 +0000 (22:40 +0300)]
Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
directory attributes.

10 years agoFixed test_large_file_exception. Ported tests for large count of files
Serhiy Storchaka [Tue, 23 Sep 2014 19:28:03 +0000 (22:28 +0300)]
Fixed test_large_file_exception. Ported tests for large count of files
to AbstractTestZip64InSmallFiles.

10 years agoFixed test_large_file_exception. Ported tests for large count of files
Serhiy Storchaka [Tue, 23 Sep 2014 19:27:34 +0000 (22:27 +0300)]
Fixed test_large_file_exception. Ported tests for large count of files
to AbstractTestZip64InSmallFiles.

10 years agoIssue #21866: ZipFile.close() no longer writes ZIP64 central directory
Serhiy Storchaka [Tue, 23 Sep 2014 18:35:57 +0000 (21:35 +0300)]
Issue #21866: ZipFile.close() no longer writes ZIP64 central directory
records if allowZip64 is false.

10 years agoIssue #21866: ZipFile.close() no longer writes ZIP64 central directory
Serhiy Storchaka [Tue, 23 Sep 2014 18:34:24 +0000 (21:34 +0300)]
Issue #21866: ZipFile.close() no longer writes ZIP64 central directory
records if allowZip64 is false.

10 years agoFixed reference leak in the "backslashreplace" error handler.
Serhiy Storchaka [Tue, 23 Sep 2014 16:59:34 +0000 (19:59 +0300)]
Fixed reference leak in the "backslashreplace" error handler.

10 years agoFixed reference leak in the "backslashreplace" error handler.
Serhiy Storchaka [Tue, 23 Sep 2014 16:59:09 +0000 (19:59 +0300)]
Fixed reference leak in the "backslashreplace" error handler.

10 years agomerge 3.4 (#22459)
Benjamin Peterson [Tue, 23 Sep 2014 02:44:21 +0000 (22:44 -0400)]
merge 3.4 (#22459)

10 years agofix error in split() examples (closes #22459)
Benjamin Peterson [Tue, 23 Sep 2014 02:43:50 +0000 (22:43 -0400)]
fix error in split() examples (closes #22459)

Patch by Raúl Cumplido.

10 years agoNull merge.
Larry Hastings [Mon, 22 Sep 2014 22:58:41 +0000 (23:58 +0100)]
Null merge.

10 years agoFix pydoc topics. I'll regenerate this again for 3.4.2 final,
Larry Hastings [Mon, 22 Sep 2014 22:51:20 +0000 (23:51 +0100)]
Fix pydoc topics.  I'll regenerate this again for 3.4.2 final,
but fixing it now means the test suite can have zero errors
during the next two weeks.

10 years agoFix formatting typo in Misc/NEWS.
Ned Deily [Mon, 22 Sep 2014 22:36:12 +0000 (15:36 -0700)]
Fix formatting typo in Misc/NEWS.

10 years agoFix formatting typo in Misc/NEWS.
Ned Deily [Mon, 22 Sep 2014 22:34:19 +0000 (15:34 -0700)]
Fix formatting typo in Misc/NEWS.

10 years agoIssue #21431: merge from 3.4
Ned Deily [Mon, 22 Sep 2014 21:44:22 +0000 (14:44 -0700)]
Issue #21431: merge from 3.4

10 years agomerge v3.4.2rc1 release stuff to default
Ned Deily [Mon, 22 Sep 2014 21:38:58 +0000 (14:38 -0700)]
merge v3.4.2rc1 release stuff to default

10 years agoCloses #21431: make docs depend on Sphinx 1.2 and fix pydoc-topics builder to
Georg Brandl [Mon, 22 Sep 2014 19:18:24 +0000 (21:18 +0200)]
Closes #21431: make docs depend on Sphinx 1.2 and fix pydoc-topics builder to
return Unicode strings on Python 3.

10 years agoMerge.
Larry Hastings [Mon, 22 Sep 2014 14:21:08 +0000 (15:21 +0100)]
Merge.

10 years agoPost-release engineering work for 3.4.2rc1.
Larry Hastings [Mon, 22 Sep 2014 14:19:30 +0000 (15:19 +0100)]
Post-release engineering work for 3.4.2rc1.

10 years agoIssue #22278: Fix urljoin problem with relative urls, a regression observed
Senthil Kumaran [Mon, 22 Sep 2014 07:49:16 +0000 (15:49 +0800)]
Issue #22278: Fix urljoin problem with relative urls, a regression observed
after changes to issue22118 were submitted.

Patch contributed by Demian Brecht and reviewed by Antoine Pitrou.

10 years agoMERGE: Typo: headeronly -> headersonly
Jesus Cea [Sun, 21 Sep 2014 22:44:17 +0000 (00:44 +0200)]
MERGE: Typo: headeronly -> headersonly

10 years agoTypo: headeronly -> headersonly
Jesus Cea [Sun, 21 Sep 2014 22:43:39 +0000 (00:43 +0200)]
Typo: headeronly -> headersonly

10 years agoFixed issue #22415 number in Misc/NEWS for changeset fe287268e97b.
Serhiy Storchaka [Sun, 21 Sep 2014 19:59:06 +0000 (22:59 +0300)]
Fixed issue #22415 number in Misc/NEWS for changeset fe287268e97b.

10 years agoFixed issue #22415 number in Misc/NEWS for changeset e99a1df8db36.
Serhiy Storchaka [Sun, 21 Sep 2014 19:58:31 +0000 (22:58 +0300)]
Fixed issue #22415 number in Misc/NEWS for changeset e99a1df8db36.

10 years agoIssue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
Serhiy Storchaka [Sun, 21 Sep 2014 19:48:24 +0000 (22:48 +0300)]
Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
module.

10 years agoIssue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
Serhiy Storchaka [Sun, 21 Sep 2014 19:47:55 +0000 (22:47 +0300)]
Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
module.

10 years agoNull merge
Serhiy Storchaka [Sun, 21 Sep 2014 19:26:31 +0000 (22:26 +0300)]
Null merge

10 years agoMerge heads
Serhiy Storchaka [Sun, 21 Sep 2014 19:26:11 +0000 (22:26 +0300)]
Merge heads

10 years agoMerge heads
Serhiy Storchaka [Sun, 21 Sep 2014 19:25:25 +0000 (22:25 +0300)]
Merge heads

10 years agoIssue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering...
Antoine Pitrou [Sun, 21 Sep 2014 19:15:42 +0000 (21:15 +0200)]
Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.

10 years agoIssue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering...
Antoine Pitrou [Sun, 21 Sep 2014 19:10:56 +0000 (21:10 +0200)]
Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.

10 years agoIssue #22423: Unhandled exception in thread no longer causes unhandled
Serhiy Storchaka [Sun, 21 Sep 2014 19:09:20 +0000 (22:09 +0300)]
Issue #22423: Unhandled exception in thread no longer causes unhandled
AttributeError when sys.stderr is None.

10 years agoIssue #22423: Unhandled exception in thread no longer causes unhandled
Serhiy Storchaka [Sun, 21 Sep 2014 19:08:13 +0000 (22:08 +0300)]
Issue #22423: Unhandled exception in thread no longer causes unhandled
AttributeError when sys.stderr is None.

10 years agoAdded tag v3.4.2rc1 for changeset 8711a0951384
Larry Hastings [Sat, 20 Sep 2014 23:10:20 +0000 (00:10 +0100)]
Added tag v3.4.2rc1 for changeset 8711a0951384

10 years agoBump version number for 3.4.2rc1 release. v3.4.2rc1
Larry Hastings [Sat, 20 Sep 2014 23:09:56 +0000 (00:09 +0100)]
Bump version number for 3.4.2rc1 release.

10 years agoUpdated pydoc topics for 3.4.1rc1 release.
Larry Hastings [Sat, 20 Sep 2014 23:05:05 +0000 (00:05 +0100)]
Updated pydoc topics for 3.4.1rc1 release.

10 years agomerge with 3.4
Georg Brandl [Sat, 20 Sep 2014 22:38:13 +0000 (00:38 +0200)]
merge with 3.4

10 years agoDoc: remove invalid uses of ":option:" which will emit warnings in Sphinx 1.3.
Georg Brandl [Sat, 20 Sep 2014 22:35:08 +0000 (00:35 +0200)]
Doc: remove invalid uses of ":option:" which will emit warnings in Sphinx 1.3.

10 years agoIssue #22359: Remove incorrect uses of recursive make. Patch by Jonas Wagner.
Antoine Pitrou [Sat, 20 Sep 2014 22:21:58 +0000 (00:21 +0200)]
Issue #22359: Remove incorrect uses of recursive make.  Patch by Jonas Wagner.

10 years agoMerge: #21091: make is_attachment a method.
R David Murray [Sat, 20 Sep 2014 22:16:39 +0000 (18:16 -0400)]
Merge: #21091: make is_attachment a method.

10 years ago#21091: make is_attachment a method.
R David Murray [Sat, 20 Sep 2014 22:05:28 +0000 (18:05 -0400)]
#21091: make is_attachment a method.

Since EmailMessage is a provisional API we can fix API bugs in a
maintenance release, but I used a trick suggested by Serhiy to
maintain backward compatibility with 3.4.0/1.

10 years agoMerge: #21079: is_attachment now looks only at the value, ignoring parameters.
R David Murray [Sat, 20 Sep 2014 21:49:48 +0000 (17:49 -0400)]
Merge: #21079: is_attachment now looks only at the value, ignoring parameters.

10 years ago#21079: is_attachment now looks only at the value, ignoring parameters.
R David Murray [Sat, 20 Sep 2014 21:44:53 +0000 (17:44 -0400)]
#21079: is_attachment now looks only at the value, ignoring parameters.

10 years agomerge 3.4
Benjamin Peterson [Sat, 20 Sep 2014 15:53:27 +0000 (11:53 -0400)]
merge 3.4

10 years agouse patch context manager instead of decorator because the decorator 'leaks' metadata...
Benjamin Peterson [Sat, 20 Sep 2014 15:53:12 +0000 (11:53 -0400)]
use patch context manager instead of decorator because the decorator 'leaks' metadata onto the function

10 years agoIssue #22247: Add NNTPError to nntplib.__all__.
Berker Peksag [Sat, 20 Sep 2014 05:54:32 +0000 (08:54 +0300)]
Issue #22247: Add NNTPError to nntplib.__all__.

10 years agoIssue #22247: Add NNTPError to nntplib.__all__.
Berker Peksag [Sat, 20 Sep 2014 05:53:05 +0000 (08:53 +0300)]
Issue #22247: Add NNTPError to nntplib.__all__.

10 years agonull merge
Ned Deily [Sat, 20 Sep 2014 04:06:23 +0000 (21:06 -0700)]
null merge

10 years agoIssue #15661: Update OS X installer welcome and readme files for 3.4.2.
Ned Deily [Sat, 20 Sep 2014 04:03:45 +0000 (21:03 -0700)]
Issue #15661: Update OS X installer welcome and readme files for 3.4.2.
python.org OS X installers are now distributed as signed installer
packages compatible with the Gatekeeper security feature.

10 years agoMerge with 3.4
Terry Jan Reedy [Sat, 20 Sep 2014 02:54:27 +0000 (22:54 -0400)]
Merge with 3.4

10 years agoUpdate Idle's online doc url.
Terry Jan Reedy [Sat, 20 Sep 2014 02:54:15 +0000 (22:54 -0400)]
Update Idle's online doc url.

10 years agoIssue #22420: Merge with 3.4
Terry Jan Reedy [Sat, 20 Sep 2014 02:39:09 +0000 (22:39 -0400)]
Issue #22420: Merge with 3.4

10 years agoIssue #22420: Avoid 'write to None' crashes by using print instead.
Terry Jan Reedy [Sat, 20 Sep 2014 02:38:41 +0000 (22:38 -0400)]
Issue #22420: Avoid 'write to None' crashes by using print instead.
Change a couple of existing prints.  Original patch by Serhiy Storchaka.

10 years agomerge 3.4
Benjamin Peterson [Fri, 19 Sep 2014 21:30:21 +0000 (17:30 -0400)]
merge 3.4

10 years agostandardize pep 466 relnote style
Benjamin Peterson [Fri, 19 Sep 2014 21:27:03 +0000 (17:27 -0400)]
standardize pep 466 relnote style