]> granicus.if.org Git - python/log
python
11 years agoremove the ability of datetime.time to be considered false (closes #13936)
Benjamin Peterson [Thu, 20 Mar 2014 23:00:35 +0000 (18:00 -0500)]
remove the ability of datetime.time to be considered false (closes #13936)

11 years agomerge heads
Giampaolo Rodola' [Thu, 20 Mar 2014 20:44:53 +0000 (21:44 +0100)]
merge heads

11 years agoFix issue 18931: selectors module now supports /dev/poll on Solaris.
Giampaolo Rodola' [Thu, 20 Mar 2014 20:43:41 +0000 (21:43 +0100)]
Fix issue 18931: selectors module now supports /dev/poll on Solaris.

11 years ago#20744: don't try running an external 'zip' in shutil.make_archive()
Andrew Kuchling [Thu, 20 Mar 2014 20:11:16 +0000 (16:11 -0400)]
#20744: don't try running an external 'zip' in shutil.make_archive()

Instead we'll just use the stdlib zipfile module.  Patch by Derek Chiang

11 years agomerge 3.4
Benjamin Peterson [Thu, 20 Mar 2014 17:40:03 +0000 (12:40 -0500)]
merge 3.4

11 years agoimprove start default for relpath
Benjamin Peterson [Thu, 20 Mar 2014 17:39:53 +0000 (12:39 -0500)]
improve start default for relpath

11 years agoMerge several minor doc fixes from 3.4
Zachary Ware [Thu, 20 Mar 2014 16:28:16 +0000 (11:28 -0500)]
Merge several minor doc fixes from 3.4

11 years agoFix typos in Doc/faq/extending. Found by cocoatomo on docs@.
Zachary Ware [Thu, 20 Mar 2014 15:16:09 +0000 (10:16 -0500)]
Fix typos in Doc/faq/extending.  Found by cocoatomo on docs@.

11 years agoFix spelling in enum docs.
Zachary Ware [Thu, 20 Mar 2014 15:01:48 +0000 (10:01 -0500)]
Fix spelling in enum docs.

"equivalant" was caught by Tobias Käs on docs@, "seperated" and "chartruese"
were discovered by a spell-checker.

11 years agoAdd missing parenthesis. Found by cocoatomo on docs@.
Zachary Ware [Thu, 20 Mar 2014 14:46:09 +0000 (09:46 -0500)]
Add missing parenthesis.  Found by cocoatomo on docs@.

11 years agoFix parameter name in docs for os.makedirs and os.removedirs.
Zachary Ware [Thu, 20 Mar 2014 14:42:01 +0000 (09:42 -0500)]
Fix parameter name in docs for os.makedirs and os.removedirs.

Pointed out by Colin Davis on docs@.

11 years agomerge
Raymond Hettinger [Thu, 20 Mar 2014 13:44:33 +0000 (06:44 -0700)]
merge

11 years agoClean-up docstring
Raymond Hettinger [Thu, 20 Mar 2014 13:42:31 +0000 (06:42 -0700)]
Clean-up docstring

11 years agoCloses #20444: Merged fix from 3.4.
Vinay Sajip [Thu, 20 Mar 2014 13:15:23 +0000 (13:15 +0000)]
Closes #20444: Merged fix from 3.4.

11 years agoIssue #20444: Reduced code duplication.
Vinay Sajip [Thu, 20 Mar 2014 13:14:39 +0000 (13:14 +0000)]
Issue #20444: Reduced code duplication.

11 years agoCloses #20558: Improved implementation of error handling.
Vinay Sajip [Thu, 20 Mar 2014 13:06:07 +0000 (13:06 +0000)]
Closes #20558: Improved implementation of error handling.

11 years agoIssue #20558: Improved implementation of error handling.
Vinay Sajip [Thu, 20 Mar 2014 13:03:17 +0000 (13:03 +0000)]
Issue #20558: Improved implementation of error handling.

11 years agoMerged from 3.4.
Vinay Sajip [Thu, 20 Mar 2014 12:43:50 +0000 (12:43 +0000)]
Merged from 3.4.

11 years agoIssue #10141: updated new usages of AF_CAN to be in #ifdef AF_CAN rather than #ifdef...
Vinay Sajip [Thu, 20 Mar 2014 12:42:42 +0000 (12:42 +0000)]
Issue #10141: updated new usages of AF_CAN to be in #ifdef AF_CAN rather than #ifdef HAVE_LINUX_CAN_H to allow compilation on older Linuxes.

11 years ago(Merge 3.4) Issue #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed
Victor Stinner [Thu, 20 Mar 2014 08:27:11 +0000 (09:27 +0100)]
(Merge 3.4) Issue #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed
by multiprocessing.connection

11 years agoIsuse #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed by
Victor Stinner [Thu, 20 Mar 2014 08:26:55 +0000 (09:26 +0100)]
Isuse #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed by
multiprocessing.connection

11 years ago(Merge 3.4) Issue #20976: pyflakes: Remove unused imports
Victor Stinner [Thu, 20 Mar 2014 08:22:39 +0000 (09:22 +0100)]
(Merge 3.4) Issue #20976: pyflakes: Remove unused imports

11 years agoIssue #20976: pyflakes: Remove unused imports
Victor Stinner [Thu, 20 Mar 2014 08:16:38 +0000 (09:16 +0100)]
Issue #20976: pyflakes: Remove unused imports

11 years ago(Merge 3.4) Issue #20978: pyflakes: fix undefined names; remove last part of
Victor Stinner [Thu, 20 Mar 2014 07:51:24 +0000 (08:51 +0100)]
(Merge 3.4) Issue #20978: pyflakes: fix undefined names; remove last part of
OS/2 support in distutils

11 years agoIssue #20978: pyflakes: fix undefined names
Victor Stinner [Thu, 20 Mar 2014 07:50:52 +0000 (08:50 +0100)]
Issue #20978: pyflakes: fix undefined names

11 years agoIssue #20978: Remove last part of OS/2 support in distutils
Victor Stinner [Thu, 20 Mar 2014 07:50:33 +0000 (08:50 +0100)]
Issue #20978: Remove last part of OS/2 support in distutils

11 years agomerge 3.4
Benjamin Peterson [Thu, 20 Mar 2014 01:52:25 +0000 (20:52 -0500)]
merge 3.4

11 years agoadd Nehal Hussain
Benjamin Peterson [Thu, 20 Mar 2014 01:52:17 +0000 (20:52 -0500)]
add Nehal Hussain

11 years ago#14332: provide a better explanation of junk in difflib docs
Andrew Kuchling [Wed, 19 Mar 2014 20:43:06 +0000 (16:43 -0400)]
#14332: provide a better explanation of junk in difflib docs

Initial patch by Alba Magallanes.

11 years ago#13437: link to the source code for a few more modules
Andrew Kuchling [Wed, 19 Mar 2014 20:23:01 +0000 (16:23 -0400)]
#13437: link to the source code for a few more modules

11 years agoMerge with 3.4
Zachary Ware [Wed, 19 Mar 2014 19:47:49 +0000 (14:47 -0500)]
Merge with 3.4

11 years agoUse the correct VS edition names in PCbuild/readme.txt
Zachary Ware [Wed, 19 Mar 2014 19:46:25 +0000 (14:46 -0500)]
Use the correct VS edition names in PCbuild/readme.txt

11 years ago(Merge 3.4) Skip test_urllib2.test_issue16464() is the ssl module is missing
Victor Stinner [Wed, 19 Mar 2014 16:34:12 +0000 (17:34 +0100)]
(Merge 3.4) Skip test_urllib2.test_issue16464() is the ssl module is missing

11 years agoSkip test_urllib2.test_issue16464() is the ssl module is missing
Victor Stinner [Wed, 19 Mar 2014 16:31:20 +0000 (17:31 +0100)]
Skip test_urllib2.test_issue16464() is the ssl module is missing

11 years agoIssue19995: passing a non-int to %o, %c, %x, or %X now raises an exception
Ethan Furman [Wed, 19 Mar 2014 15:38:52 +0000 (08:38 -0700)]
Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception

11 years agoIssue #19009
Kristján Valur Jónsson [Wed, 19 Mar 2014 10:07:26 +0000 (10:07 +0000)]
Issue #19009
Enhance HTTPResponse.readline() performance

11 years agoMerge xxlimited compile warning fix from 3.4
Zachary Ware [Wed, 19 Mar 2014 04:09:00 +0000 (23:09 -0500)]
Merge xxlimited compile warning fix from 3.4

11 years agoAvoid compile warning in xxlimited on 32-bit Windows non-Debug builds.
Zachary Ware [Wed, 19 Mar 2014 04:05:01 +0000 (23:05 -0500)]
Avoid compile warning in xxlimited on 32-bit Windows non-Debug builds.

11 years agoMerge PCbuild/pcbuild.sln cleanup from 3.4
Zachary Ware [Wed, 19 Mar 2014 03:40:23 +0000 (22:40 -0500)]
Merge PCbuild/pcbuild.sln cleanup from 3.4

11 years agoClean up PCbuild/pcbuild.sln a bit:
Zachary Ware [Wed, 19 Mar 2014 03:34:52 +0000 (22:34 -0500)]
Clean up PCbuild/pcbuild.sln a bit:

- Remove configuration settings from removed _sha3.vcxproj
- Don't try to build configurations of _testembed that don't exist
  (namely, PGInstrument and PGUpdate)

11 years agoIgnore files generated by MSVC PGO builds (merge from 3.4).
Zachary Ware [Wed, 19 Mar 2014 03:31:48 +0000 (22:31 -0500)]
Ignore files generated by MSVC PGO builds (merge from 3.4).

11 years agoIgnore files generated by MSVC PGO builds.
Zachary Ware [Wed, 19 Mar 2014 03:28:16 +0000 (22:28 -0500)]
Ignore files generated by MSVC PGO builds.

11 years agoCloses #20966: Fix Tkinter Resources link (merge from 3.4)
Zachary Ware [Tue, 18 Mar 2014 14:20:25 +0000 (09:20 -0500)]
Closes #20966: Fix Tkinter Resources link (merge from 3.4)

11 years agoIssue #20966: Fix Tkinter Resources link
Zachary Ware [Tue, 18 Mar 2014 14:19:18 +0000 (09:19 -0500)]
Issue #20966: Fix Tkinter Resources link

11 years agoDoc: add What's New in Python 3.5 to whatsnew index
Victor Stinner [Tue, 18 Mar 2014 08:01:21 +0000 (09:01 +0100)]
Doc: add What's New in Python 3.5 to whatsnew index

11 years agoRestore removed NEWS items 3.4.1rc1 into 3.5.0alpha1 sections
Victor Stinner [Tue, 18 Mar 2014 07:59:30 +0000 (08:59 +0100)]
Restore removed NEWS items 3.4.1rc1 into 3.5.0alpha1 sections

11 years agomerge with 3.4
Georg Brandl [Tue, 18 Mar 2014 06:47:35 +0000 (07:47 +0100)]
merge with 3.4

11 years agoFix option description that is a warning in new Sphinx versions.
Georg Brandl [Tue, 18 Mar 2014 06:44:07 +0000 (07:44 +0100)]
Fix option description that is a warning in new Sphinx versions.

11 years agoIssue #19977: Fix test_capi when LC_CTYPE locale is POSIX
Victor Stinner [Tue, 18 Mar 2014 01:38:12 +0000 (02:38 +0100)]
Issue #19977: Fix test_capi when LC_CTYPE locale is POSIX

11 years agoIssue #19977: Enable test_c_locale_surrogateescape() on Windows
Victor Stinner [Tue, 18 Mar 2014 01:28:10 +0000 (02:28 +0100)]
Issue #19977: Enable test_c_locale_surrogateescape() on Windows

Only test the error handler. The encoding is not ASCII on Windows: it may the
OEM or ANSI code page.

11 years agoIssue #19977, #19036: Always include <locale.h> in pythonrun.c
Victor Stinner [Tue, 18 Mar 2014 01:06:38 +0000 (02:06 +0100)]
Issue #19977, #19036: Always include <locale.h> in pythonrun.c
to get LC_CTYPE constant on Windows.

11 years agoIssue #20574: Remove duplicated test failing on Windows XP
Victor Stinner [Tue, 18 Mar 2014 00:40:22 +0000 (01:40 +0100)]
Issue #20574: Remove duplicated test failing on Windows XP

11 years agoIssue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
Victor Stinner [Tue, 18 Mar 2014 00:18:21 +0000 (01:18 +0100)]
Issue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
:py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the
``surrogateescape`` error handler, instead of the ``strict`` error handler.

11 years agoAdd a stub "whatsnew in 3.5" document.
Victor Stinner [Mon, 17 Mar 2014 23:53:32 +0000 (00:53 +0100)]
Add a stub "whatsnew in 3.5" document.

11 years agoIssue #20910: Make tests more reliable, less dependent on time
Victor Stinner [Mon, 17 Mar 2014 23:39:04 +0000 (00:39 +0100)]
Issue #20910: Make tests more reliable, less dependent on time

* Tolerate 10 seconds instead of 3 seconds for slow test
* Faster test, use sleep of 100 ms instead of 1 sec
* Replace a number of iterations with an explicit deadline for the timeout

11 years agoIssue #20574: Add more tests for cp65001
Victor Stinner [Mon, 17 Mar 2014 22:16:02 +0000 (23:16 +0100)]
Issue #20574: Add more tests for cp65001

11 years agoIssue #20574: Implement incremental decoder for cp65001 code
Victor Stinner [Mon, 17 Mar 2014 22:08:06 +0000 (23:08 +0100)]
Issue #20574: Implement incremental decoder for cp65001 code
(Windows code page 65001, Microsoft UTF-8).

11 years ago(Merge 3.4) Issue #20879: Delay the initialization of encoding and decoding
Victor Stinner [Mon, 17 Mar 2014 21:39:49 +0000 (22:39 +0100)]
(Merge 3.4) Issue #20879: Delay the initialization of encoding and decoding
tables for base32, ascii85 and base85 codecs in the base64 module, and delay
the initialization of the unquote_to_bytes() table of the urllib.parse module,
to not waste memory if these modules are not used.

11 years agoIssue #20879: Delay the initialization of encoding and decoding tables for
Victor Stinner [Mon, 17 Mar 2014 21:38:41 +0000 (22:38 +0100)]
Issue #20879: Delay the initialization of encoding and decoding tables for
base32, ascii85 and base85 codecs in the base64 module, and delay the
initialization of the unquote_to_bytes() table of the urllib.parse module, to
not waste memory if these modules are not used.

11 years agoDrop Python 3.4.1 section from Misc/NEWS
Victor Stinner [Mon, 17 Mar 2014 21:34:59 +0000 (22:34 +0100)]
Drop Python 3.4.1 section from Misc/NEWS

Changes of 3.4 after 3.4.0 must already be present in the 3.4 branch.

11 years agoMove 3.3 items of Misc/NEWS to Misc/HISTORY
Victor Stinner [Mon, 17 Mar 2014 21:33:49 +0000 (22:33 +0100)]
Move 3.3 items of Misc/NEWS to Misc/HISTORY

In fact, items were already present by Misc/NEWS format was improved.

11 years agomerge 3.4
Benjamin Peterson [Mon, 17 Mar 2014 21:20:50 +0000 (16:20 -0500)]
merge 3.4

11 years agomove SharedKeyTests to test_descr
Benjamin Peterson [Mon, 17 Mar 2014 21:20:12 +0000 (16:20 -0500)]
move SharedKeyTests to test_descr

11 years agomerge 3.4
Benjamin Peterson [Mon, 17 Mar 2014 21:00:27 +0000 (16:00 -0500)]
merge 3.4

11 years agoBump Windows build to 3.5
Zachary Ware [Mon, 17 Mar 2014 20:57:38 +0000 (15:57 -0500)]
Bump Windows build to 3.5

11 years agocorrect the fix for #20637; allow slot descriptor inheritance to take place before...
Benjamin Peterson [Mon, 17 Mar 2014 20:57:17 +0000 (15:57 -0500)]
correct the fix for #20637; allow slot descriptor inheritance to take place before creating cached keys

11 years agoMerge 3.4
Éric Araujo [Mon, 17 Mar 2014 20:50:35 +0000 (16:50 -0400)]
Merge 3.4

11 years agoFix typo in example (#20963)
Éric Araujo [Mon, 17 Mar 2014 20:48:13 +0000 (16:48 -0400)]
Fix typo in example (#20963)

11 years agoMERGE: Typo
Jesus Cea [Mon, 17 Mar 2014 18:23:14 +0000 (19:23 +0100)]
MERGE: Typo

11 years agoTypo
Jesus Cea [Mon, 17 Mar 2014 18:22:59 +0000 (19:22 +0100)]
Typo

11 years agoMERGE: Typo
Jesus Cea [Mon, 17 Mar 2014 18:13:27 +0000 (19:13 +0100)]
MERGE: Typo

11 years agoTypo
Jesus Cea [Mon, 17 Mar 2014 18:13:09 +0000 (19:13 +0100)]
Typo

11 years agoMERGE: Typo
Jesus Cea [Mon, 17 Mar 2014 18:01:11 +0000 (19:01 +0100)]
MERGE: Typo

11 years agoTypo
Jesus Cea [Mon, 17 Mar 2014 18:00:48 +0000 (19:00 +0100)]
Typo

11 years agoRemove stray semicolon
Antoine Pitrou [Mon, 17 Mar 2014 17:23:14 +0000 (18:23 +0100)]
Remove stray semicolon

11 years agoRemove stray semicolon
Antoine Pitrou [Mon, 17 Mar 2014 17:22:41 +0000 (18:22 +0100)]
Remove stray semicolon

11 years agoMerge fix for #20960
R David Murray [Mon, 17 Mar 2014 15:23:07 +0000 (11:23 -0400)]
Merge fix for #20960

11 years agocloses #20960
R David Murray [Mon, 17 Mar 2014 15:20:29 +0000 (11:20 -0400)]
closes #20960

11 years agomerge with 3.4
Georg Brandl [Mon, 17 Mar 2014 06:36:59 +0000 (07:36 +0100)]
merge with 3.4

11 years agomerge with 3.3
Georg Brandl [Mon, 17 Mar 2014 06:36:51 +0000 (07:36 +0100)]
merge with 3.3

11 years agoUpdate doc version switcher for 3.4/3.5.
Georg Brandl [Mon, 17 Mar 2014 06:36:45 +0000 (07:36 +0100)]
Update doc version switcher for 3.4/3.5.

11 years agoVersion bump to 3.5, step 2.
Larry Hastings [Mon, 17 Mar 2014 06:05:59 +0000 (23:05 -0700)]
Version bump to 3.5, step 2.

11 years agoVersion bump to 3.5, step 1.
Larry Hastings [Mon, 17 Mar 2014 06:02:45 +0000 (23:02 -0700)]
Version bump to 3.5, step 1.

11 years agoMerge from 3.4 into default.
Larry Hastings [Mon, 17 Mar 2014 06:01:31 +0000 (23:01 -0700)]
Merge from 3.4 into default.

11 years agoMerged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1.
Larry Hastings [Mon, 17 Mar 2014 05:54:05 +0000 (22:54 -0700)]
Merged default into 3.4 branch.  3.4 branch is now effectively 3.4.1rc1.

11 years agoPost-release verion bump for 3.4.0(+).
Larry Hastings [Mon, 17 Mar 2014 03:13:07 +0000 (20:13 -0700)]
Post-release verion bump for 3.4.0(+).

11 years agomerge 3.3 (#11448)
Benjamin Peterson [Sun, 16 Mar 2014 20:56:24 +0000 (15:56 -0500)]
merge 3.3 (#11448)

11 years agoimprove set_tunnel docs (closes #11448)
Benjamin Peterson [Sun, 16 Mar 2014 20:55:39 +0000 (15:55 -0500)]
improve set_tunnel docs (closes #11448)

Patch by Ryan Kelly, karl, and Nikolaus Rath.

11 years agoIssue #20950: Fix typo asyncio doc, wait() has no self parameter
Victor Stinner [Sun, 16 Mar 2014 20:29:31 +0000 (21:29 +0100)]
Issue #20950: Fix typo asyncio doc, wait() has no self parameter

self parameter is implicit. Mention also that communicate() and wait() are
coroutines.

11 years agomerge 3.3 (#20946)
Benjamin Peterson [Sun, 16 Mar 2014 16:30:54 +0000 (11:30 -0500)]
merge 3.3 (#20946)

11 years agofix ctypes test alignment assumptions (closes #20946)
Benjamin Peterson [Sun, 16 Mar 2014 09:07:26 +0000 (10:07 +0100)]
fix ctypes test alignment assumptions (closes #20946)

Patch by Andreas Schwab.

11 years agoAdded tag v3.4.0 for changeset 04f714765c13
Larry Hastings [Sun, 16 Mar 2014 05:43:24 +0000 (22:43 -0700)]
Added tag v3.4.0 for changeset 04f714765c13

11 years agoFinal documentation fixes for 3.4.0 final. v3.4.0
Larry Hastings [Sun, 16 Mar 2014 05:43:17 +0000 (22:43 -0700)]
Final documentation fixes for 3.4.0 final.

11 years agoRelease bump for 3.4.0 final.
Larry Hastings [Sun, 16 Mar 2014 05:34:24 +0000 (22:34 -0700)]
Release bump for 3.4.0 final.

11 years agoRegenerate pydoc_topics, fix markup errors, in preparation for 3.4.0 final.
Larry Hastings [Sun, 16 Mar 2014 05:29:19 +0000 (22:29 -0700)]
Regenerate pydoc_topics, fix markup errors, in preparation for 3.4.0 final.

11 years agoMerge in all documentation changes since branching 3.4.0rc1.
Larry Hastings [Sun, 16 Mar 2014 04:13:56 +0000 (21:13 -0700)]
Merge in all documentation changes since branching 3.4.0rc1.

11 years agoBring PEP 453 What's New entry up to date
Nick Coghlan [Sun, 16 Mar 2014 03:55:19 +0000 (13:55 +1000)]
Bring PEP 453 What's New entry up to date

We changed a few details of the pip integration over the course
of the Python 3.4 beta and release candidate cycle, but I hadn't
updated the What's New entry appropriately.

The Py2/Py3 split on POSIX and the generally challenges of
dealing with parallel installs means we haven't attained
complete consistency across all environments, but hopefully
this updated text is clearer about the end result.

Relevant to issue #20909.

11 years agowhatsnew: Fix Features section title, use title/sentence case consistently.
R David Murray [Sun, 16 Mar 2014 03:27:30 +0000 (23:27 -0400)]
whatsnew: Fix Features section title, use title/sentence case consistently.

closes #20931

11 years agoIssue #20931: Fix other confusingly-worded heading.
Larry Hastings [Sun, 16 Mar 2014 03:15:55 +0000 (20:15 -0700)]
Issue #20931: Fix other confusingly-worded heading.

11 years agoClose #16665: improve documentation for hex(). Patch by Jessica McKellar.
Antoine Pitrou [Sun, 16 Mar 2014 01:13:07 +0000 (02:13 +0100)]
Close #16665: improve documentation for hex().  Patch by Jessica McKellar.