Tim Peters
5fbc7b12f7
Issue #21435 : Segfault in gc with cyclic trash
...
Changed the iteration logic in finalize_garbage() to tolerate objects vanishing
from the list as a side effect of executing a finalizer.
2014-05-08 17:42:19 -05:00
Antoine Pitrou
c644e7c39f
Issue #21396 : Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.
...
Patch by akira.
2014-05-09 00:24:50 +02:00
doko@ubuntu.com
e5de66eaa7
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 12:57:44 +02:00
doko@ubuntu.com
8577e5ae09
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 04:44:42 +02:00
Larry Hastings
9147a9697a
Issue #21088 : Bugfix for curses.window.addch() regression in 3.4.0.
...
In porting to Argument Clinic, the first two arguments were reversed.
2014-05-04 04:41:18 -07:00
Zachary Ware
ceced6bfea
Issue #18604 : Consolidated checks for GUI availability.
...
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in tkinter.test.support.check_tk_availability. Also, every platform
checks whether Tk can be instantiated (if the platform-specific checks
passed).
2014-05-02 10:51:07 -05:00
Martin v. Löwis
3d5c9e2c67
Update to 1.0.1g
2014-05-01 14:28:48 +02:00
Zachary Ware
a67b97f438
Issue #17386 : Expand Doc/make.bat to be much more similar to Doc/Makefile
2014-04-29 09:45:33 -05:00
Antoine Pitrou
26f82efe59
Issue #21321 : itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
...
Patch by Anton Afanasyev.
2014-04-29 12:13:46 +02:00
Antoine Pitrou
9681022f1e
Issue #9815 : assertRaises now tries to clear references to local variables in the exception's traceback.
2014-04-29 01:23:50 +02:00
Antoine Pitrou
871dfc41d3
Issue #13204 : Calling sys.flags.__new__ would crash the interpreter, now it raises a TypeError.
2014-04-28 13:07:06 +02:00
Benjamin Peterson
e3083d3ad5
make operations on closed dumb databases raise a consistent exception ( closes #19385 )
...
Patch by Claudiu Popa.
2014-04-26 16:56:52 -04:00
Antoine Pitrou
e472aeafc3
Issue #21207 : Detect when the os.urandom cached fd has been closed or replaced, and open it anew.
2014-04-26 14:33:03 +02:00
Zachary Ware
8894ef1783
Prevent Sphinx error on whatsnew/changelog
2014-04-23 10:04:20 -05:00
Gregory P. Smith
d65ba51e24
subprocess's Popen.wait() is now thread safe so that multiple threads
...
may be calling wait() or poll() on a Popen instance at the same time
without losing the Popen.returncode value. Fixes issue #21291 .
2014-04-23 00:27:17 -07:00
Antoine Pitrou
cb5ec77d33
Issue #21127 : Path objects can now be instantiated from str subclass instances (such as numpy.str_).
...
Thanks to Antony Lee for the report and preliminary patch.
2014-04-23 00:34:15 +02:00
Terry Jan Reedy
9573638c2d
Issue #21138 : Change default reformat paragraph width to PEP 8's 72.
2014-04-22 01:26:41 -04:00
Terry Jan Reedy
d5d4c4eabe
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
...
reformat width in the configuration menu.
2014-04-22 01:11:03 -04:00
Senthil Kumaran
4a63923328
NEWS entry for #15002
2014-04-20 09:44:11 -07:00
R David Murray
9077d24d7f
#12220 : improve minidom error when URI contains spaces.
...
Fix by 'amathew', test by Marek Stepniowski.
2014-04-20 00:46:05 -04:00
Ned Deily
09ae544ea3
Issue #11571 : Ensure that the turtle window becomes the topmost window
...
when launched on OS X. (Original patch by Ronald Oussoren)
2014-04-19 19:11:14 -07:00
Ned Deily
f31b478208
Issue #21311 : Avoid exception in _osx_support with non-standard compiler
...
configurations. Patch by John Szakmeister.
2014-04-19 13:25:29 -07:00
Eric Snow
658af31372
Issue #21200 : Return None from pkgutil.get_loader() when __spec__ is missing.
2014-04-19 00:13:23 -06:00
Guido van Rossum
14d7fabe94
NEWS for latest asyncio commit.
2014-04-18 09:21:26 -07:00
doko@ubuntu.com
1a4f561d7c
- Issue #21285 : Refactor and fix curses configure check to always search
...
in a ncursesw directory.
2014-04-17 20:13:44 +02:00
doko@ubuntu.com
4a173bc4ed
Fixes for KFreeBSD and the Hurd:
...
- Issue #21274 : Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.
- Issue #21276 : posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd.
- Issue #21275 : Fix a socket test on KFreeBSD.
2014-04-17 19:47:16 +02:00
doko@ubuntu.com
a3818a3043
- Issue #15234 : For BerkelyDB and Sqlite, only add the found library and
...
include directories if they aren't already being searched. This avoids
an explicit runtime library dependency.
2014-04-17 17:52:48 +02:00
Michael Foord
ebc1a30d55
Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times.
2014-04-15 17:21:08 -04:00
Kushal Das
484f8a875b
Closes Issue 21222.
...
Passing name keyword argument to mock.create_autospec now works.
2014-04-16 01:05:50 +05:30
doko@ubuntu.com
9574355ff3
- Issue #21223 : Pass test_site/test_startup_imports when some of the extensions
...
are built as builtins.
2014-04-15 20:37:54 +02:00
Vinay Sajip
809f90f369
Reverted 16efa8d27e4c after discussion with Eric.
2014-04-15 13:52:21 +01:00
Vinay Sajip
1e53f8d9bf
Issue #21197 : Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.
2014-04-15 11:18:10 +01:00
Eric V. Smith
a0d107324d
Closed issue #8931 : Make alternate formatting for 'c' raise an exception. Patch by Torsten Landschoff.
2014-04-15 03:05:02 -04:00
Yury Selivanov
9417764e01
misc.news: Remove whitespace
2014-04-14 22:22:36 -04:00
Yury Selivanov
f15f7484bb
asyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1
...
Closes issue #21209 .
2014-04-14 22:21:52 -04:00
R David Murray
afb151a5cc
#17498 : Defer SMTPServerDisconnected errors until the next command.
...
Normally an SMTP server will return an error, and smtplib will then issue an
RSET to return the connection to the known starting state. Some servers,
however, disconnect after issuing certain errors. When we issue the RSET,
this would result in raising an SMTPServerDisconnected error, *instead* of
returning the error code the user of the library was expecting. This fix
makes the internal RSET calls ignore the disconnection so that the error code
is returned. The user of the library will then get the SMTPServerDisconnected
error the next time they try to talk to the server.
Patch by Kushal Das.
2014-04-14 18:21:38 -04:00
Eric V. Smith
bcb6b058b4
Issue #13598 : Added acknowledgements to Misc/NEWS.
2014-04-14 16:46:52 -04:00
Eric V. Smith
7ce90743a1
Issue #13598 : Add auto-numbering of replacement fields to string.Formatter.
2014-04-14 16:43:50 -04:00
Michael Foord
01bafdcccc
Issue 17826. Setting an iterable side_effect on a mock created by create_autospec now works
2014-04-14 16:09:42 -04:00
Senthil Kumaran
1343b25fba
Fix the NEWS Entry item. (Thanks Stéphane Wirtel)
2014-04-14 14:32:20 -04:00
Senthil Kumaran
9da047b3a5
Issue #7776 : Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().
...
Patch by Nikolaus Rath.
2014-04-14 13:07:56 -04:00
Eric V. Smith
2ea9712ee9
Issue #12546 : Allow \x00 as a fill character for builtin type __format__ methods.
2014-04-14 11:55:10 -04:00
Michael Foord
d2623d7786
Issue 20968. unittest.mock.MagicMock now supports division
2014-04-14 11:23:48 -04:00
Benjamin Peterson
f6e50b4a81
fix sending tuples to custom generator objects with yield from ( closes #21209 )
...
Debugged by Victor.
2014-04-13 23:52:01 -04:00
Benjamin Peterson
584f5cbf16
merge 3.3
2014-04-13 22:31:42 -04:00
Benjamin Peterson
156285c35f
merge 3.2
2014-04-13 22:28:16 -04:00
Benjamin Peterson
99b5afab74
in scan_once, prevent the reading of arbitrary memory when passed a negative index
...
Bug reported by Guido Vranken.
2014-04-13 22:10:38 -04:00
R David Murray
d5aa487cce
#21169 : fix getpass to use replace error handler on UnicodeEncodeError.
...
If the input stream encoding couldn't encode one or more of the
non-ascii characters in the prompt, it would fail, throwing a
UnicodeEncodeError. Now if that happens we re-encoding using the
'replace' error handler.
Patch by Kushal Das.
2014-04-13 22:07:39 -04:00
Serhiy Storchaka
e544f9a27e
Issue #20635 : Added tests for Tk geometry managers.
2014-04-13 19:52:23 +03:00
Serhiy Storchaka
a39938ff44
Issue #21171 : Fixed undocumented filter API of the rot13 codec.
...
Patch by Berker Peksag.
2014-04-13 17:07:04 +03:00
Vinay Sajip
1b7611405d
Issue #21172 : isinstance check relaxed from dict to collections.Mapping.
2014-04-10 07:12:19 +01:00
Benjamin Peterson
0654be18b3
teach 2to3 about 'yield from'
2014-04-10 00:23:18 -04:00
Benjamin Peterson
4ab92c800a
add matrix multiplication operator support to 2to3
2014-04-10 00:12:47 -04:00
Ned Deily
7e60f51486
Issue #20644 : OS X installer build support for documentation build changes
...
in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin.
2014-04-07 12:10:21 -07:00
Yury Selivanov
0fceaf45e2
inspect.signautre: Fix functools.partial support. Issue #21117
2014-04-08 11:28:02 -04:00
Victor Stinner
1fd03a4a22
Issue #21155 : asyncio.EventLoop.create_unix_server() now raises a ValueError if
...
path and sock are specified at the same time.
2014-04-07 11:18:54 +02:00
Brett Cannon
18fc4e70f3
Issue #20942 : PyImport_ImportFrozenModuleObject() no longer sets
...
__file__.
This causes _frozen_importlib to no longer have __file__ set as well
as any frozen module imported using imp.init_frozen() (which is
deprecated).
2014-04-04 10:01:46 -04:00
Vinay Sajip
156307bfd6
Issue #21149 : Improved thread-safety in logging cleanup during interpreter shutdown.
2014-04-04 10:51:49 +01:00
Benjamin Peterson
9b09ba1234
bail in unicode error's __str__ methods if the objects are not properly initialized ( closes #21134 )
2014-04-02 12:15:06 -04:00
Benjamin Peterson
9dc203fff9
merge 3.3 ( #21082 )
2014-04-01 19:18:48 -04:00
Benjamin Peterson
4717e2112b
merge 3.2 ( #21082 )
2014-04-01 19:17:57 -04:00
Benjamin Peterson
ee5f1c13d1
remove directory mode check from makedirs ( closes #21082 )
2014-04-01 19:13:18 -04:00
Martin v. Löwis
3da9fbbe83
Add test case for freeze.
2014-03-30 21:32:03 +02:00
Martin v. Löwis
c00d39e96a
Issue #16047 : Fix module exception list and __file__ handling in freeze.
...
Patch by Meador Inge.
2014-03-30 21:07:25 +02:00
Martin v. Löwis
a7fcd926e8
Issue #11824 : Consider ABI tags in freeze. Patch by Meador Inge.
2014-03-30 20:28:52 +02:00
Eric Snow
f269cc6b14
Issue #21097 : Move test_namespace_pkgs into test_importlib.
2014-03-29 15:57:44 -06:00
Ned Deily
c420343c0c
Issue #21093 : Prevent failures of ctypes test_macholib on OS X if a
...
copy of libz exists in $HOME/lib or /usr/local/lib.
2014-03-29 00:08:44 -07:00
Eric Snow
e50f9aa4bd
Issue #19697 : Document cases where __main__.__spec__ is None.
2014-03-28 18:10:33 -06:00
Ned Deily
b7601676b0
Issue #17654 : Ensure IDLE menus are customized properly on OS X for
...
non-framework builds and for all variants of Tk.
2014-03-27 20:49:14 -07:00
Ned Deily
e7d532fbc9
Issue #6676 : Ensure a meaningful exception is raised when attempting
...
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)
2014-03-27 16:39:58 -07:00
Yury Selivanov
2542b66bb0
inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.
...
Patch by Jeremiah Lowin. Closes #20817 .
2014-03-27 18:42:52 -04:00
Yury Selivanov
b1d060bf8b
inspect: Fix getcallargs() to raise correct TypeError
...
... for missing keyword-only arguments. Patch by Jeremiah Lowin.
Closes #20816 .
2014-03-27 18:23:03 -04:00
Yury Selivanov
00abf385ac
asyncio.tests: Autodiscover asyncio tests. Patch by Vajrasky Kok. Closes #20668
2014-03-27 12:21:20 -04:00
Ned Deily
5a507f0f05
Issue #20939 : Use www.example.com instead of www.python.org to avoid test
...
failures when ssl is not present.
2014-03-26 23:31:39 -07:00
R David Murray
ef1c26798c
backport: #20145 : assert[Raises|Warns]Regex now raise TypeError on bad regex.
...
Previously a non-string, non-regex second argument and missing callable
argument could cause the test to appear to always pass.
Initial patch by Kamilla Holanda.
2014-03-25 15:31:50 -04:00
Victor Stinner
1f99f9d5c2
Issue #21058 : Fix a leak of file descriptor in tempfile.NamedTemporaryFile(),
...
close the file descriptor if io.open() fails
2014-03-25 09:18:04 +01:00
Richard Oudkerk
3e952d56ea
Issue #20633 : Replace relative import by absolute import.
2014-03-23 12:42:28 +00:00
Donald Stufft
4137465bf5
Issue #21043 : Remove the recommendation for specific CA organizations
...
Closes #21043 by updating the documentation to remove specific CA
organizations and update the text to no longer need to tell you to
download root certificates, but instead use the OS certificates
avaialble through SSLContext.load_default_certs.
2014-03-24 19:26:03 -04:00
Donald Stufft
6a2ba94908
Issue #21013 : Enhance ssl.create_default_context() for server side contexts
...
Closes #21013 by modfying ssl.create_default_context() to:
* Move the restricted ciphers to only apply when using
ssl.Purpose.CLIENT_AUTH. The major difference between restricted and not
is the lack of RC4 in the restricted. However there are servers that exist
that only expose RC4 still.
* Switches the default protocol to ssl.PROTOCOL_SSLv23 so that the context
will select TLS1.1 or TLS1.2 if it is available.
* Add ssl.OP_NO_SSLv3 by default to continue to block SSL3.0 sockets
* Add ssl.OP_SINGLE_DH_USE and ssl.OP_SINGLE_ECDG_USE to improve the security
of the perfect forward secrecy
* Add ssl.OP_CIPHER_SERVER_PREFERENCE so that when used for a server side
socket the context will prioritize our ciphers which have been carefully
selected to maximize security and performance.
* Documents the failure conditions when a SSL3.0 connection is required so
that end users can more easily determine if they need to unset
ssl.OP_NO_SSLv3.
2014-03-23 19:05:28 -04:00
Antoine Pitrou
8c6f8dc527
Issue #19537 : Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
2014-03-23 22:55:03 +01:00
Richard Oudkerk
c346060440
Merge 3.3.
2014-03-23 12:52:16 +00:00
Richard Oudkerk
80a5be1d84
Issue #20980 : Stop wrapping exception when using ThreadPool.
2014-03-23 12:30:54 +00:00
Richard Oudkerk
a40675a1a2
Issue #20990 : Fix issues found by pyflakes for multiprocessing.
2014-03-23 11:54:15 +00: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
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
a00c2407ca
Issue #20884 : Don't assume in importlib.__init__ that __file__ is
...
defined.
2014-03-21 10:58:33 -04: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
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
Antoine Pitrou
f0b5a7c0f6
Issue #20637 : Key-sharing now also works for instance dictionaries of subclasses. Patch by Peter Ingebretson.
2014-02-23 16:50:07 +01:00
Georg Brandl
e12675a0f2
Bump to 3.3.5rc1.
2014-02-23 08:30:06 +01:00
Martin v. Löwis
1db0eacf3e
Issue #20641 : Run custom actions with the NoImpersonate flag to support UAC.
2014-02-22 23:44:20 +01:00
Victor Stinner
1ac42614e3
Issue #19748 : On AIX, time.mktime() now raises an OverflowError for year
...
outsize range [1902; 2037].
2014-02-21 09:27:17 +01:00
Larry Hastings
24a882bb7b
Issue #20710 : The pydoc summary line no longer displays the "self" parameter
...
for bound methods. Previous to this change, it displayed "self" for methods
implemented in Python but not methods implemented in C; it is now both
internally consistent and consistent with inspect.Signature.
2014-02-20 23:34:46 -08:00
Zachary Ware
52855719f5
Issue #20221 : Removed conflicting (or circular) hypot definition
...
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
2014-02-20 15:39:29 -06:00
Zachary Ware
2d659518aa
Issue #20221 : Removed conflicting (or circular) hypot definition
...
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
2014-02-20 15:36:34 -06:00
Yury Selivanov
cd153f8bdd
Misc/NEWS: Add some missing news items re asyncio.
2014-02-20 13:59:14 -05:00
Yury Selivanov
f4558e8b54
merge heads
2014-02-19 16:28:36 -05:00
Yury Selivanov
57d240ef64
inspect: Fix getfullargspec() to not to follow __wrapped__ chains
...
Initial patch by Nick Coghlan.
2014-02-19 16:27:23 -05:00
Serhiy Storchaka
056eb02719
Issue #20654 : Fixed pydoc for enums with zero value. Patch by Vajrasky Kok.
2014-02-19 23:05:12 +02:00
Serhiy Storchaka
22234dab05
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
...
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:35:10 +02:00
Serhiy Storchaka
e95977621d
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
...
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:34:05 +02:00
Yury Selivanov
ff827f08ac
asyncio: New error handling API. Issue #20681 .
2014-02-18 18:02:19 -05:00
Victor Stinner
5f47ac2aaa
(Merge 3.3) Issue #19612 : On Windows, subprocess.Popen.communicate() now
...
ignores OSError(22, 'Invalid argument') when writing input data into stdin,
whereas the process already exited.
2014-02-18 22:06:35 +01:00
Victor Stinner
d5c8ce7cc0
Issue #19612 : On Windows, subprocess.Popen.communicate() now ignores
...
OSError(22, 'Invalid argument') when writing input data into stdin, whereas
the process already exited.
2014-02-18 22:00:53 +01:00
Yury Selivanov
34ce99f66d
Mangle __parameters in __annotations__ dict properly. Issue #20625 .
2014-02-18 12:49:41 -05:00
Zachary Ware
b59e4425d5
Issue #20609 : Merge with 3.3.
2014-02-18 11:35:15 -06:00
Zachary Ware
9e5a9876ad
Issue #20609 : Fix building 64-bit binaries on 32-bit Windows.
2014-02-18 11:33:18 -06:00
Yury Selivanov
8e7761ec70
Misc/NEWS: Add a news item for UNIX Sockets support in asyncio. Cleanup WS.
2014-02-18 12:21:57 -05:00
Zachary Ware
c36e504c53
Issue #20510 : Merge with 3.3.
2014-02-18 08:41:21 -06:00
Zachary Ware
cefe6b34de
Issue #20510 : Rewrote test_exit in test_sys to match existing comments
...
and to modernize. Patch by Gareth Rees.
2014-02-18 08:39:04 -06:00
Terry Jan Reedy
79bf89986c
Merge with 3.3
2014-02-17 23:12:37 -05:00
Terry Jan Reedy
5b8d2c3af7
Issue #8478 : Untokenizer.compat now processes first token from iterator input.
...
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
2014-02-17 23:12:16 -05:00
Victor Stinner
3c1b379ebd
Issue #20320 : select.select() and select.kqueue.control() now round the timeout
...
aways from zero, instead of rounding towards zero.
It should make test_asyncio more reliable, especially test_timeout_rounding() test.
2014-02-17 00:02:43 +01:00
Victor Stinner
23f628de4a
Issue #20616 : Add a format() method to tracemalloc.Traceback.
2014-02-16 23:53:38 +01:00
Benjamin Peterson
e686c5c3e8
look up __getnewargs__ and __getnewargs_ex__ on the object type ( #16251 )
2014-02-16 13:49:16 -05:00
Nick Coghlan
e2df5cfcbd
Issue #19744 : Handle missing SSL/TLS in ensurepip
...
- now also allows POSIX installation with SSL/TLS missing
- a goal for pip 1.6 is to allow local use without SSL/TLS
2014-02-15 09:14:54 +10:00
Ned Deily
b7bb675d3c
Issue #20605 : Make test_socket getaddrinfo OS X segfault test more robust.
2014-02-13 22:53:42 -08:00
Ned Deily
b24f481ab4
Issue #20605 : Make test_socket getaddrinfo OS X segfault test more robust.
2014-02-13 22:50:42 -08:00
Benjamin Peterson
0714b8b6ab
set line and column numbers for keyword-only arg nodes ( closes #20619 )
2014-02-13 19:22:14 -05:00
Victor Stinner
15054c16c8
Issue #20526 , #19466 : Revert changes of issue #19466 which introduces a
...
regression: don't clear anymore the state of Python threads early during the
Python shutdown.
2014-02-13 12:48:54 +01:00
Serhiy Storchaka
7dfaa27fdd
Issue #6815 : os.path.expandvars() now supports non-ASCII environment
...
variables names and values.
2014-02-13 10:14:48 +02:00
Serhiy Storchaka
dbb101909d
Issue #6815 : os.path.expandvars() now supports non-ASCII environment
...
variables names and values.
2014-02-13 10:13:53 +02:00
Serhiy Storchaka
5bdfc51950
Issue #17671 : Fixed a crash when use non-initialized io.BufferedRWPair.
...
Based on patch by Stephen Tu.
2014-02-12 10:55:07 +02:00
Serhiy Storchaka
61e2493b83
Issue #17671 : Fixed a crash when use non-initialized io.BufferedRWPair.
...
Based on patch by Stephen Tu.
2014-02-12 10:52:35 +02:00
Benjamin Peterson
e18e787e70
merge 3.3 ( #20594 )
2014-02-11 10:19:12 -05:00
Benjamin Peterson
932bba33f2
avoid name clash with posix_close ( closes #20594 )
2014-02-11 10:16:16 -05:00