Richard Oudkerk
af2bdbe4f8
Merge 3.4.
2014-03-23 12:32:12 +00:00
Richard Oudkerk
80a5be1d84
Issue #20980 : Stop wrapping exception when using ThreadPool.
2014-03-23 12:30:54 +00:00
Richard Oudkerk
bd153de4a4
Merge 3.4.
2014-03-23 11:57:01 +00:00
Richard Oudkerk
a40675a1a2
Issue #20990 : Fix issues found by pyflakes for multiprocessing.
2014-03-23 11:54:15 +00:00
Antoine Pitrou
39b7fce82d
Issue #21015 : SSL contexts will now automatically select an elliptic curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1".
...
(should also fix a buildbot failure introduced by #20995 )
2014-03-22 18:14:57 +01:00
Antoine Pitrou
0bebbc33fa
Issue #21015 : SSL contexts will now automatically select an elliptic curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1".
...
(should also fix a buildbot failure introduced by #20995 )
2014-03-22 18:13:50 +01:00
Benjamin Peterson
940e207412
improve the command-line interface of json.tool ( closes #21000 )
...
A patch from Berker Peksag.
2014-03-21 23:17:29 -05:00
Zachary Ware
a191b91a43
Issue #15968 : Incorporated Tcl, Tk, and Tix builds into the Windows build
...
solution.
Currently, Tix is not built in Debug configuration.
This change also:
- simplifies some Tcl/Tk-related msbuild properties for _tkinter
- copies the Tcl and Tk DLLs into the build output directory, meaning
they will always be available after a build without having to copy
them manually or change PATH
- removes PCbuild/build_tkinter.py: the solution does the build without
needing to invoke Python (so Tcl/Tk/Tix can be built in parallel with
the rest of the build using the `/m` msbuild command line switch)
- removes an outdated README concerning building Tcl/Tk on AMD64
2014-03-21 22:58:19 -05:00
Donald Stufft
04ea84a20d
Fix an incomplete merge of Misc/NEWS
2014-03-21 21:49:38 -04:00
Donald Stufft
71b4192e15
Merge changes from 3.4 to bring in fixes for Issue #20995
2014-03-21 21:38:50 -04:00
Donald Stufft
79ccaa2cad
Issue #20995 : Enhance default ciphers used by the ssl module
...
Closes #20995 by Enabling better security by prioritizing ciphers
such that:
* Prefer cipher suites that offer perfect forward secrecy (DHE/ECDHE)
* Prefer ECDHE over DHE for better performance
* Prefer any AES-GCM over any AES-CBC for better performance and security
* Then Use HIGH cipher suites as a fallback
* Then Use 3DES as fallback which is secure but slow
* Finally use RC4 as a fallback which is problematic but needed for
compatibility some times.
* Disable NULL authentication, NULL encryption, and MD5 MACs for security
reasons
2014-03-21 21:33:34 -04:00
Brett Cannon
33a4000374
Issue #20627 : xmlrpc.client.ServerProxy is now a context manager.
...
Patch by Claudiu Popa.
2014-03-21 11:24:40 -04:00
Brett Cannon
a77d0c36e5
Issue #19165 : The formatter module graduates to full deprecation.
2014-03-21 10:52:33 -04:00
Brett Cannon
a00c2407ca
Issue #20884 : Don't assume in importlib.__init__ that __file__ is
...
defined.
2014-03-21 10:58:33 -04:00
Benjamin Peterson
ee6bdc07d6
remove the ability of datetime.time to be considered false ( closes #13936 )
2014-03-20 18:00:35 -05:00
Giampaolo Rodola'
f97e82937f
Fix issue 18931: selectors module now supports /dev/poll on Solaris.
2014-03-20 21:43:41 +01:00
Ethan Furman
38d872ee5d
Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception
2014-03-19 08:38:52 -07:00
Victor Stinner
845efccab1
Restore removed NEWS items 3.4.1rc1 into 3.5.0alpha1 sections
2014-03-18 08:59:30 +01:00
Victor Stinner
7143029d43
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.
2014-03-18 01:18:21 +01:00
Victor Stinner
7d00cc1a64
Issue #20574 : Implement incremental decoder for cp65001 code
...
(Windows code page 65001, Microsoft UTF-8).
2014-03-17 23:08:06 +01:00
Victor Stinner
c49926748b
(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.
2014-03-17 22:39:49 +01:00
Victor Stinner
d6a91a7ab6
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.
2014-03-17 22:38:41 +01:00
Victor Stinner
82170288ef
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.
2014-03-17 22:34:59 +01:00
Victor Stinner
554fd0827a
Move 3.3 items of Misc/NEWS to Misc/HISTORY
...
In fact, items were already present by Misc/NEWS format was improved.
2014-03-17 22:33:49 +01:00
Larry Hastings
f5002bd6ac
Version bump to 3.5, step 2.
2014-03-16 23:05:59 -07:00
Larry Hastings
3c5c56f3c0
Merged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1.
2014-03-16 22:54:05 -07:00
Larry Hastings
e41b73caca
Post-release verion bump for 3.4.0(+).
2014-03-16 20:13:07 -07:00
Benjamin Peterson
fca286601b
merge 3.3 ( #20946 )
2014-03-16 11:30:54 -05:00
Benjamin Peterson
fda33559dc
fix ctypes test alignment assumptions ( closes #20946 )
...
Patch by Andreas Schwab.
2014-03-16 10:07:26 +01:00
Larry Hastings
3732ed2414
Merge in all documentation changes since branching 3.4.0rc1.
2014-03-15 21:13:56 -07:00
Ned Deily
b6b6a6d587
Issue #20939 : merge from 3.3
2014-03-15 13:19:20 -07:00
Ned Deily
7e7fb0374a
Issue #20939 : merge from 3.3
2014-03-15 13:19:20 -07:00
Ned Deily
b454742c64
Issue #20939 : Fix test_geturl failure in test_urllibnet due to
...
new redirect of http://www.python.org/ to https://www.python.org .
2014-03-15 13:15:31 -07:00
Benjamin Peterson
bdc4b02985
cast negative numbers to size_t before shifting them ( #20929 )
2014-03-14 20:15:29 -05:00
R David Murray
6dfc632f1f
whatsnew: difflib.isbjunk &c were removed, not deprecated.
...
Also move NEWS item to correct position (it was in 3.3).
2014-03-13 21:34:54 -04:00
R David Murray
d664db8a7b
whatsnew: difflib.isbjunk &c were removed, not deprecated.
...
Also move NEWS item to correct position (it was in 3.3).
2014-03-13 21:34:54 -04:00
Éric Araujo
45fc8713bd
Make distutils error messages more helpful ( #11599 ).
...
When running external programs such as a C compiler and getting an
error code, distutils only prints the program name. With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.
This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.
2014-03-13 04:55:35 -04:00
Nick Coghlan
f7614d55a2
Close #19407 : New installation & distribution guides
...
- based on pip and other PyPA tools
- includes references to the new Python Packaging User Guide
where appropriate (and the relevant section is at least
partially filled in)
- started new FAQ sections
- both guides aim to introduce users to basic open source
concepts if they aren't aware of them
- existing guides have been relocated (now linked from the
distutils docs) rather then removed, since there is
some needed material that has yet to be relocated to the
distutils docs as a reference for the legacy formats
2014-03-13 22:13:45 +10:00
Éric Araujo
f1e8c70cf0
Merge 3.3 ( #11599 )
2014-03-13 05:59:31 -04:00
Éric Araujo
a0fe1f74f9
Merge 3.3 ( #4931 )
2014-03-12 04:10:51 -04:00
Éric Araujo
fc773a2d4b
Avoid “error: None” messages from distutils ( #4931 ).
...
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
2014-03-12 03:34:02 -04:00
Peter Moody
1243c7d32c
Issue #19157 : Include the broadcast address in the usuable hosts for IPv6
...
in ipaddress.
2014-03-11 09:55:46 -07:00
R David Murray
30781e93b0
whatsnew: urllib Request objects are now reusable.
...
#16464 , #17485 , #17272 .
2014-03-10 17:06:00 -04:00
R David Murray
e8db162f62
whatsnew: PEP 424 implementation.
2014-03-10 15:00:33 -04:00
R David Murray
d840b8d613
whatsnew: multiprocessing start methods and context ( #8713 and #18999 )
...
Also tweaked the docs a bit to use our standard style for
versionadded/changed. (I'm guessing there are other places
in the multiprocessing docs where similar tweaks should be made.)
2014-03-10 14:27:21 -04:00
R David Murray
c51ebce03b
whatsnew: logging.config.listen *verify* ( #15452 ).
2014-03-10 12:03:01 -04:00
R David Murray
416616fc6f
whatsnew: logging.fileConfig accepts ConfigParser instances. ( #16110 )
...
And missing NEWS entry.
2014-03-10 11:51:19 -04:00
R David Murray
c51eaf5ca0
whatsnew: ChainMap.new_child *m* argument.
...
And NEWS entry.
2014-03-10 09:49:19 -04:00
Ned Deily
6120739f0c
Issue #20875 : Prevent possible gzip "'read' is not defined" NameError.
...
Patch by Claudiu Popa.
2014-03-09 14:44:34 -07:00
Ned Deily
e5127299c8
Issue #20875 : Merge from 3.3
2014-03-09 14:47:58 -07:00
Georg Brandl
5e572fd490
merge with 3.3.5 release repo
2014-03-09 11:17:23 +01:00
Georg Brandl
92d2d346ef
Post-release update.
2014-03-09 11:01:14 +01:00
Georg Brandl
fbd7518a41
Bump to 3.3.5 final.
2014-03-09 09:37:14 +01:00
R David Murray
19f1df6414
Tweak NEWS so some additional issue numbers become links in html version.
2014-03-08 10:06:04 -05:00
Larry Hastings
6b5284fd4e
Mark branch as being after Python 3.4.0rc3.
2014-03-15 20:57:42 -07:00
R David Murray
05fad4ede7
Remove redundant NEWS entry.
2014-03-06 12:58:25 -05:00
R David Murray
5dda12491e
#11558 : Better message if attach called on non-multipart.
...
Original patch by Varun Sharma.
2014-03-06 11:44:17 -05:00
Serhiy Storchaka
ccdf352370
Issue #20283 : RE pattern methods now accept the string keyword parameters
...
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
2014-03-06 11:28:32 +02:00
Nick Coghlan
62b4b9eecb
Close #20839 : pkgutil.find_loader now uses importlib.util.find_spec
2014-03-04 20:39:42 +10:00
R David Murray
04edfdf320
whatsnew: tweak a couple importlib porting notes.
...
I had missed that there was already an entry for the Frozen package change, so
I combined mine with the existing one. Also added the info about the reload
change to the entry for the other changes to reload, but I'm missing an issue
number for the rest of the attribute behavior changes so I left myself an
XXX as a reminder to find it.
2014-03-03 08:56:43 -05:00
Serhiy Storchaka
a537eb45fd
Issue #20283 : RE pattern methods now accept the string keyword parameters
...
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
2014-03-06 11:36:15 +02:00
Nick Coghlan
dc855b7b1f
Close #20839 : pkgutil.find_loader now uses importlib.util.find_spec
2014-03-04 20:39:42 +10:00
Martin v. Löwis
0c3ea0942d
Issue #14512 : Launch pydoc -b instead of pydocgui.pyw on Windows.
2014-03-02 20:29:18 +01:00
Martin v. Löwis
2b4b377966
Issue #14512 : Launch pydoc -b instead of pydocgui.pyw on Windows.
2014-03-02 20:29:18 +01:00
Martin v. Löwis
a663069b5c
Issue #20465 : Update Windows installer to SQLite 3.8.3.1.
2014-03-02 19:42:50 +01:00
Martin v. Löwis
09257f7ced
Issue #20465 : Update Windows installer to SQLite 3.8.3.1.
2014-03-02 19:42:50 +01:00
Martin v. Löwis
582538bde2
Issue #20748 : Uninstalling pip does not leave behind the pyc of
...
the uninstaller anymore.
2014-03-02 19:29:19 +01:00
Martin v. Löwis
5e6faf7fed
Issue #20748 : Uninstalling pip does not leave behind the pyc of
...
the uninstaller anymore.
2014-03-02 19:29:19 +01:00
Yury Selivanov
d930d85f12
Issue #20786 : Fix signatures for dict.__delitem__ and property.__delete__
2014-03-02 12:25:27 -05:00
Yury Selivanov
056e265491
Issue #20786 : Fix signatures for dict.__delitem__ and property.__delete__
2014-03-02 12:25:27 -05:00
Georg Brandl
bb386cf810
Update NEWS for 3.3.5rc2.
2014-03-02 09:18:41 +01:00
Georg Brandl
2658bad090
merge 3.3.5rc1 release commits with 3.3 branch
2014-03-02 08:54:15 +01:00
Ned Deily
90c5c8ad5c
Issue #20465 : fix NEWS typo (it's 3.8.3.1)
2014-03-01 14:04:48 -08:00
Ned Deily
3231bc01c5
Issue #20465 : fix NEWS typo (it's 3.8.3.1)
2014-03-01 14:04:48 -08:00
Ned Deily
c1195c7ae7
Issue #20465 : Update OS X installer build to use SQLite 3.8.0.1.
2014-03-01 14:00:46 -08:00
Ned Deily
2515edd7cf
Issue #20465 : Update OS X installer build to use SQLite 3.8.0.1.
2014-03-01 14:00:46 -08:00
Brett Cannon
298bb96776
Issue #20778 : Fix modulefinder to work with bytecode-only modules.
...
Bug filed and initial attempt at a patch by Bohuslav Kabrda.
2014-02-28 10:44:45 -05:00
Martin v. Löwis
815b41b1cd
Issue #20731 : Properly position in source code files even if they
...
are opened in text mode. Patch by Serhiy Storchaka.
2014-02-28 15:27:29 +01:00
Nick Coghlan
07d843a101
Close #20568 : install unversioned pip command on Windows
2014-02-28 23:37:35 +10:00
Nick Coghlan
a46cf12e99
Close #20757 : return success for skipped pip uninstall
...
The 3.4rc2 Windows uninstaller would fail if pip had been updated
to a version that didn't match the version installed by ensurepip.
This skip is no longer treated as an error, so an updated pip ends
up being handled like any other pip installed package and is left
alone by the CPython uninstaller.
2014-02-28 23:35:05 +10:00
Brett Cannon
0f3847855d
merge for issue #20778
2014-02-28 10:50:34 -05:00
Martin v. Löwis
9c17ff91f3
Merge heads
2014-02-28 15:47:15 +01:00
Martin v. Löwis
78f1e4c865
Merge with 3.3
2014-02-28 15:43:36 +01:00
Nick Coghlan
f808df39de
Close #20568 : install unversioned pip command on Windows
2014-02-28 23:37:35 +10:00
Nick Coghlan
4a6dc3a726
Close #20757 : return success for skipped pip uninstall
...
The 3.4rc2 Windows uninstaller would fail if pip had been updated
to a version that didn't match the version installed by ensurepip.
This skip is no longer treated as an error, so an updated pip ends
up being handled like any other pip installed package and is left
alone by the CPython uninstaller.
2014-02-28 23:35:05 +10:00
Antoine Pitrou
b807577da2
Issue #20791 : copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten.
2014-02-27 22:14:31 +01:00
Antoine Pitrou
dc9215f882
Issue #20791 : copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten.
2014-02-27 22:14:31 +01:00
Gregory P. Smith
7b80716cff
Mention issue 20621 fix in the NEWS file for 3.3.5rc1.
...
This bug was of the major reasons for the release.
2014-02-25 16:45:55 -08:00
R David Murray
1e923de0bf
Fix formatting in NEWS entry.
2014-02-25 14:36:20 -05:00
Antoine Pitrou
ef85119618
Issue #20765 : Add missing documentation for PurePath.with_name() and PurePath.with_suffix().
2014-02-25 20:33:02 +01:00
R David Murray
b1f65569bd
Fix wording of NEWS entry.
2014-02-24 15:48:31 -05:00
R David Murray
6225260e8c
Remove redundant NEWS entry.
2014-02-24 10:55:08 -05:00
R David Murray
c8400a47bb
Fix NEWS entry wording.
2014-02-24 10:42:20 -05:00
Serhiy Storchaka
94ee389308
Issue #19619 : Blacklist non-text codecs in method API
...
str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.
The latter mechanism remains in place for third party non-text
encodings.
Backported changeset d68df99d7a57.
2014-02-24 14:43:03 +02:00
Serhiy Storchaka
eb44b2d9e8
Issue #20535 : PYTHONWARNING no longer affects the run_tests.py script.
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2014-02-24 14:00:38 +02:00
Serhiy Storchaka
20f8728bf0
Issue #20535 : PYTHONWARNING no longer affects the run_tests.py script.
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2014-02-24 13:57:00 +02:00
R David Murray
aa5e2995c7
Fix wording in NEWS entry.
2014-02-23 21:32:17 -05:00
Antoine Pitrou
8a14ea4694
Issue #20743 : Fix a reference leak in test_tcl.
2014-02-23 19:41:51 +01:00
Antoine Pitrou
220cc21cec
Issue #20743 : Fix a reference leak in test_tcl.
2014-02-23 19:39:06 +01:00
R David Murray
784a3ffdbb
Fix wording in news entry.
2014-02-23 11:22:08 -05:00