Serhiy Storchaka
b554faddf5
Issue #22115 : Updated Misc/NEWS.
2016-06-26 17:47:46 +03:00
Serhiy Storchaka
745a407df8
Issue #22115 : Fixed tracing Tkinter variables:
...
* tracing in the "u" mode now works
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
2016-06-26 17:42:23 +03:00
Serhiy Storchaka
8122174af1
Issue #22115 : Added methods trace_add, trace_remove and trace_info in the
...
tkinter.Variable class. They replace old methods trace_variable, trace,
trace_vdelete and trace_vinfo that use obsolete Tcl commands and might
not work in future versions of Tcl.
2016-06-26 09:46:57 +03:00
Larry Hastings
98be9d500e
Version bump for 3.4.5 final.
2016-06-25 14:44:30 -07:00
Serhiy Storchaka
95657cdd40
Issue #26243 : Only the level argument to zlib.compress() is keyword argument
...
now. The first argument is positional-only.
2016-06-25 22:43:05 +03:00
Brett Cannon
e92dc9c23d
Fix a scoping issue where an UnboundLocalError was triggered if a
...
lazy-loaded module was already in sys.modules.
2016-06-25 10:47:53 -07:00
Brett Cannon
a32c4d0531
Issue #27038 : Expose DirEntry as os.DirEntry.
...
Thanks to Jelle Zijlstra for the code portion of the patch.
2016-06-24 14:14:44 -07:00
Brett Cannon
c78ca1e044
Issue #27186 : Update os.fspath()/PyOS_FSPath() to check the return
...
type of __fspath__().
As part of this change, also make sure that the pure Python
implementation of os.fspath() is tested.
2016-06-24 12:03:43 -07:00
Serhiy Storchaka
aacd53f6cb
Issue #18726 : All optional parameters of the dump(), dumps(),
...
load() and loads() functions and JSONEncoder and JSONDecoder class
constructors in the json module are now keyword-only.
2016-06-22 00:03:20 +03:00
Martin Panter
df1d31c2cd
Fix “allow(s) to”
2016-06-20 08:00:45 +00:00
Serhiy Storchaka
b84f029baa
Issue #27319 : Methods selection_set(), selection_add(), selection_remove()
...
and selection_toggle() of ttk.TreeView now allow to pass multiple items as
multiple arguments instead of passing them as a tuple. Deprecated
undocumented ability of calling the selection() method with arguments.
2016-06-20 00:05:40 +03:00
Serhiy Storchaka
f81a266df9
Issue #27294 : Numerical state in the repr for Tkinter event objects is now
...
represented as a compination of known flags.
2016-06-18 22:09:30 +03:00
Serhiy Storchaka
514f9736a7
Issue #27294 : Numerical state in the repr for Tkinter event objects is now
...
represented as a compination of known flags.
2016-06-18 22:08:11 +03:00
Serhiy Storchaka
9c6c3fb435
Issue #27294 : Numerical state in the repr for Tkinter event objects is now
...
represented as a compination of known flags.
2016-06-18 21:55:26 +03:00
Serhiy Storchaka
977b3ac1c1
Issue #27177 : Match objects in the re module now support index-like objects
...
as group indices. Based on patches by Jeroen Demeyer and Xiang Zhang.
2016-06-18 16:48:07 +03:00
Serhiy Storchaka
f95de0e8cc
Issue #26754 : PyUnicode_FSDecoder() accepted a filename argument encoded as
...
an iterable of integers. Now only strings and byte-like objects are accepted.
2016-06-18 13:56:16 +03:00
Serhiy Storchaka
9305d83425
Issue #26754 : PyUnicode_FSDecoder() accepted a filename argument encoded as
...
an iterable of integers. Now only strings and byte-like objects are accepted.
2016-06-18 13:53:36 +03:00
Steve Dower
ea93ac013d
Issue #26536 : socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes.
2016-06-17 12:52:18 -07:00
Steve Dower
99d66f917a
Issue #27048 : Prevents distutils failing on Windows when environment variables contain non-ASCII characters
2016-06-17 09:33:11 -07:00
Steve Dower
08bb8a41cc
Issue #27048 : Prevents distutils failing on Windows when environment variables contain non-ASCII characters
2016-06-17 09:32:38 -07:00
Serhiy Storchaka
74108614b1
Issue #27330 : Fixed possible leaks in the ctypes module.
2016-06-16 22:10:13 +03:00
Serhiy Storchaka
adef6460d7
Issue #27330 : Fixed possible leaks in the ctypes module.
2016-06-16 22:08:46 +03:00
Zachary Ware
0475ffa64d
Issue #26930 : Merge with 3.5
2016-06-15 17:16:16 -05:00
Zachary Ware
42d4b9c22c
Issue #26930 : Update Windows build to OpenSSL 1.0.2h
2016-06-15 17:13:28 -05:00
Zachary Ware
f88d83b922
Issue #26930 : Update Windows build to OpenSSL 1.0.2h
2016-06-15 17:13:28 -05:00
Serhiy Storchaka
e80b658dbf
Issue #27238 : Got rid of bare excepts in the turtle module. Original patch
...
by Jelle Zijlstra.
2016-06-14 22:53:43 +03:00
Serhiy Storchaka
cefa9172a2
Issue #27238 : Got rid of bare excepts in the turtle module. Original patch
...
by Jelle Zijlstra.
2016-06-14 22:52:04 +03:00
Gregory P. Smith
319a57c338
issue27122: fix typo in the news file, wrong issue #. not issue27123.
2016-06-14 09:28:08 -07:00
Gregory P. Smith
fcbe337fef
issue27122: fix typo in the news file, wrong issue #. not issue27123.
2016-06-14 09:27:44 -07:00
Gregory P. Smith
881aa38972
Issue #27123 : When an exception is raised within the context being
...
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:24:31 -07:00
Gregory P. Smith
ba2ecd6841
Issue #27123 : When an exception is raised within the context being
...
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:19:20 -07:00
Victor Stinner
370f5136d4
Merge 3.5 (os.urandom, issue #27278 )
2016-06-14 16:33:17 +02:00
Victor Stinner
b98a36e8f3
Fix os.urandom() using getrandom() on Linux
...
Issue #27278 : Fix os.urandom() implementation using getrandom() on Linux.
Truncate size to INT_MAX and loop until we collected enough random bytes,
instead of casting a directly Py_ssize_t to int.
2016-06-14 16:31:35 +02:00
Victor Stinner
673ac27499
Merge 3.5
2016-06-14 15:05:21 +02:00
Victor Stinner
fd7f19ea67
Issue #25843 : Fix the NEWS entry
2016-06-14 15:04:44 +02:00
Berker Peksag
e0b70cd8a9
Issue #16864 : Cursor.lastrowid now supports REPLACE statement
...
Initial patch by Alex LordThorsen.
2016-06-14 15:25:36 +03:00
Serhiy Storchaka
255bbf2d25
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:39:18 +03:00
Serhiy Storchaka
8e6d09c1cc
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:33:31 +03:00
doko@ubuntu.com
006a56ceda
- Don't use largefile support for GNU/Hurd.
2016-06-14 10:15:25 +02:00
doko@ubuntu.com
5553231b91
- Issue #23968 : Rename the platform directory from plat-$(MACHDEP) to
...
plat-$(PLATFORM_TRIPLET).
Rename the config directory (LIBPL) from config-$(LDVERSION) to
config-$(LDVERSION)-$(PLATFORM_TRIPLET).
Install the platform specifc _sysconfigdata module into the platform
directory and rename it to include the ABIFLAGS.
2016-06-14 08:55:19 +02:00
doko@ubuntu.com
965754521e
- Issue #8637 : Honor a pager set by the env var MANPAGER (in preference to
...
one set by the env var PAGER).
2016-06-14 08:39:31 +02:00
Ned Deily
ed80db5784
Merge 3.6.0a2 releasing branch into default
2016-06-13 23:55:33 -04:00
Ned Deily
8a43f727a4
Start 3.6.0a3
2016-06-13 23:46:45 -04:00
Martin Panter
1db314bd5c
Issue #22636 : Merge ctypes.util shell injection fixes from 3.5
2016-06-14 02:59:21 +00:00
Martin Panter
4074f93b33
Issue #16182 : Merge readline locale fix from 3.5
2016-06-14 02:47:56 +00:00
Martin Panter
b769164636
Issue #17500 : Remove merge conflict scar tissue
2016-06-14 02:23:31 +00:00
Martin Panter
bfb15ab711
Issue #22636 : avoid using a shell in the ctypes.util module
...
Replace os.popen() with subprocess.Popen. Based on patch by Victor Stinner.
If the "gcc", "cc" or "objdump" command is not available, the code was
supposed to raise an OSError exception. But there was a bug in the code. The
shell code returns the exit code 10 if the required command is missing, and the
code tries to check for the status 10. The problem is that os.popen() doesn't
return the exit code directly, but a status which should be processed by
os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never
raised. The OSError exception was not documented and ctypes.util.find_library()
is expected to return None if the library is not found.
2016-06-14 01:27:11 +00:00
Martin Panter
f00c49df10
Issue #16182 : Fix readline begidx, endidx, and use locale encoding
...
Based on patch by Serhiy Storchaka.
2016-06-14 01:16:16 +00:00
Ned Deily
e371599004
Issue #27310 : Fix IDLE.app failure to launch on OS X due to vestigial import.
2016-06-13 20:27:57 -04:00
Ned Deily
fa42893546
Version bump for 3.6.0a2
2016-06-13 16:54:49 -04:00
doko@ubuntu.com
fcff437de3
- Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants
...
exposed on the API which are not implemented on GNU/Hurd. They would not
work at runtime anyway.
2016-06-13 16:33:04 +02:00
Larry Hastings
6e9a96be9e
Post-release fixups for Python 3.5.2rc1.
2016-06-12 20:22:18 -07:00
Larry Hastings
29f9637321
Merge 3.5.2rc1 with current 3.5 branch.
2016-06-12 20:26:28 -07:00
Serhiy Storchaka
64204de04c
Issue #27095 : Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.
...
Patch by Demur Rumed.
2016-06-12 17:36:24 +03:00
Berker Peksag
0f355c0022
Issue #27190 : Merge from 3.5
2016-06-12 14:10:24 +03:00
Berker Peksag
7bea2347c7
Issue #27190 : Raise NotSupportedError if sqlite3 is older than 3.3.1
...
Patch by Dave Sawyer.
2016-06-12 14:09:51 +03:00
Serhiy Storchaka
b62ff6eb57
Issue #25455 : Fixed a crash in repr of recursive functools.partial objects.
2016-06-12 11:51:26 +03:00
Serhiy Storchaka
179f960d47
Issue #25455 : Fixed a crash in repr of recursive functools.partial objects.
2016-06-12 11:44:06 +03:00
Serhiy Storchaka
4aa15a0d0d
Merge heads
2016-06-12 09:48:19 +03:00
Serhiy Storchaka
cbe6142135
Merge heads
2016-06-12 09:47:57 +03:00
Serhiy Storchaka
f0ee5ccd19
Issue #25455 : Fixed a crash in repr of ElementTree.Element with recursive tag.
2016-06-12 09:47:20 +03:00
Serhiy Storchaka
9062c261a4
Issue #25455 : Fixed a crash in repr of ElementTree.Element with recursive tag.
2016-06-12 09:43:55 +03:00
Serhiy Storchaka
cf2ad55511
Issue #27286 : Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
...
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
2016-06-12 09:35:13 +03:00
Serhiy Storchaka
3c317e76a2
Issue #27286 : Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
...
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
2016-06-12 09:22:01 +03:00
Martin Panter
98e9051577
Add grammatical article to “an ASCII letter”
2016-06-12 06:17:29 +00:00
Martin Panter
aea671efc6
Merge typo fixes from 3.5
2016-06-12 06:16:51 +00:00
Martin Panter
70c502aacf
Fix typos and English grammar in documentation and code comment
2016-06-12 06:14:03 +00:00
Larry Hastings
463c3f3eef
Release bump for 3.4.5rc1.
2016-06-11 22:24:03 -07:00
Martin Panter
5285545271
Issue #16484 : Merge pydoc Windows fixes from 3.5
2016-06-12 04:31:25 +00:00
Martin Panter
4f8aaf6440
Issue #16484 : Fix pydoc link and test on Windows, by Kaushik Nadikuditi
2016-06-12 04:24:06 +00:00
Larry Hastings
d31a255f32
Release bump for 3.5.2rc1.
2016-06-11 20:51:22 -07:00
Martin Panter
99cb0cda15
Issue #24136 : Merge unpacking doc from 3.5
2016-06-12 01:55:03 +00:00
Martin Panter
0c0da48aed
Issue #24136 : Document generalized unpacking, PEP 448
...
Based on patches by Konstantin Molchanov and Neil Girdhar.
2016-06-12 01:46:50 +00:00
Łukasz Langa
34ad2ef8f9
Merge 3.5, issue #14209
2016-06-11 18:05:42 -07:00
Łukasz Langa
0d18c15fbf
Issue #14209 : pkgutil.iter_zipimport_modules ignores the prefix for packages
...
Patch by James Pickering.
2016-06-11 18:02:46 -07:00
Łukasz Langa
5135e9ed51
Merge 3.5, issue #27194
2016-06-11 16:56:18 -07:00
Łukasz Langa
e7f27481a8
Issue #27194 : superfluous truncate calls in tarfile.py slow down extraction
...
Patch by Jason Fried.
2016-06-11 16:42:36 -07:00
Serhiy Storchaka
6a7506a77f
Issue #27140 : Added BUILD_CONST_KEY_MAP opcode.
2016-06-12 00:39:41 +03:00
Serhiy Storchaka
d611f4cf10
Issue #27294 : Improved repr for Tkinter event objects.
2016-06-12 00:19:44 +03:00
Benjamin Peterson
f0d4621aa2
merge 3.5 ( #26556 )
2016-06-11 13:33:58 -07:00
Benjamin Peterson
b5ad54990f
merge 3.4 ( #26556 )
2016-06-11 13:33:17 -07:00
Benjamin Peterson
196d7db395
upgrade expt to 2.1.1 ( closes #26556 )
2016-06-11 13:28:56 -07:00
Benjamin Peterson
ab6e156ed3
merge 3.5
2016-06-11 13:19:34 -07:00
Benjamin Peterson
b0557e729e
merge 3.4
2016-06-11 13:18:56 -07:00
Benjamin Peterson
46b32f307c
raise an error when STARTTLS fails
2016-06-11 13:16:42 -07:00
Berker Peksag
28dc1186a8
Issue #20508 : Improve exception message of IPv{4,6}Network.__getitem__
...
Patch by Gareth Rees.
2016-06-11 22:30:05 +03:00
Berker Peksag
24b102e6e8
Issue #21386 : Merge from 3.5
2016-06-11 22:12:36 +03:00
Berker Peksag
742192a4fe
Issue #21386 : Implement missing IPv4Address.is_global property
...
It was documented since 07a5610bae9d.
Initial patch by Roger Luethi.
2016-06-11 22:11:47 +03:00
Terry Jan Reedy
4da945f361
Merge Issue #22558 .
2016-06-11 15:06:08 -04:00
Terry Jan Reedy
fa089b9b0b
Issue #22558 : Add remaining doc links to source code for Python-coded modules.
...
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
2016-06-11 15:02:54 -04:00
Serhiy Storchaka
e670be2273
Issue #27029 : Removed deprecated support of universal newlines mode from ZipFile.open().
2016-06-11 19:32:44 +03:00
Serhiy Storchaka
e6dae877dc
Issue #27030 : The re.LOCALE flag now can be used only with bytes patterns.
...
(Just updated NEWS.)
2016-06-11 19:24:24 +03:00
Serhiy Storchaka
9bd85b83f6
Issue #27030 : Unknown escapes consisting of ``'\'`` and ASCII letter in
...
regular expressions now are errors.
2016-06-11 19:15:00 +03:00
Yury Selivanov
c92bf83a82
Issue #22970 : asyncio: Fix inconsistency cancelling Condition.wait.
...
Patch by David Coles.
2016-06-11 12:00:07 -04:00
Yury Selivanov
ca2e0a48cf
Issue #27223 : aio: Fix _read_ready and _write_ready to respect _conn_lost.
...
Patch by Łukasz Langa.
2016-06-11 11:19:47 -04:00
Terry Jan Reedy
b1c9b64850
IDLE NEWS entries
2016-06-11 04:36:34 -04:00
Terry Jan Reedy
661c0329d3
Merge Issue #5124 : NEWS entries.
2016-06-11 04:32:30 -04:00
Terry Jan Reedy
8ace13be39
Issue #5124 : NEWS entries.
2016-06-11 04:31:22 -04:00
Brett Cannon
96881cd621
Issue #27186 : Add os.PathLike support to DirEntry
...
Initial patch thanks to Jelle Zijlstra.
2016-06-10 14:37:21 -07:00
Berker Peksag
419e8ede19
Issue #20900 : Merge from 3.5
2016-06-10 23:02:04 +03:00
Berker Peksag
904a2ef2e2
Issue #20900 : distutils register command now decodes HTTP responses correctly
...
Initial patch by ingrid.
2016-06-10 23:00:52 +03:00
Brett Cannon
568be63248
Issue #27186 : Add os.PathLike support to pathlib.
...
This adds support both to pathlib.PurePath's constructor as well as
implementing __fspath__(). This removes the provisional status for
pathlib.
Initial patch by Dusty Phillips.
2016-06-10 12:20:49 -07:00
doko@ubuntu.com
87a8bcc221
- Issue #17500 , and https://github.com/python/pythondotorg/issues/945 : Remove
...
unused and outdated icons.
2016-06-10 18:23:35 +02:00
Serhiy Storchaka
f41b82fb19
Issue #26282 : PyArg_ParseTupleAndKeywords() and Argument Clinic now support
...
positional-only and keyword parameters in the same function.
2016-06-09 16:30:29 +03:00
doko@ubuntu.com
339880809a
- Issue #17500 , and https://github.com/python/pythondotorg/issues/945 : Remove
...
unused and outdated icons.
2016-06-10 18:25:42 +02:00
Yury Selivanov
711d25db48
Merge 3.5 (issue #27243 )
2016-06-09 15:13:16 -04:00
Yury Selivanov
a6f6edbda8
Issue #27243 : Fix __aiter__ protocol
2016-06-09 15:08:31 -04:00
Barry Warsaw
118598a072
Issue #27066 : Fixed SystemError if a custom opener (for open()) returns a
...
negative number without setting an exception.
2016-06-08 17:54:43 -04:00
Barry Warsaw
480e28538d
Issue #27066 : Fixed SystemError if a custom opener (for open()) returns
...
a negative number without setting an exception.
2016-06-08 17:47:26 -04:00
Guido van Rossum
d03ed8a4d0
Omnibus news entry for updates to typing.py. (Merge 3.5->3.6)
2016-06-08 11:33:28 -07:00
Guido van Rossum
fda4d67842
Omnibus news entry for updates to typing.py.
2016-06-08 11:30:48 -07:00
Yury Selivanov
1842e12b0b
Merge 3.5 (NEWS)
2016-06-08 13:58:35 -04:00
Yury Selivanov
07a9fcdc86
asyncio: Remove line about asyncio.timeout() from the NEWS file
2016-06-08 13:58:15 -04:00
Martin Panter
b198c42bcb
Fix RST conflicts with Idle news entries
2016-06-08 13:32:49 +00:00
Martin Panter
40de69ac58
Issue #25738 : Merge HTTP server from 3.5
2016-06-08 09:45:58 +00:00
Martin Panter
58f016909e
Issue #21313 : Merge version parsing from 3.5
2016-06-08 09:44:21 +00:00
Martin Panter
e42e129ebe
Issue #25738 : Don’t send message body for 205 Reset Content
...
Patch by Susumu Koshiba.
2016-06-08 08:29:13 +00:00
Martin Panter
4e50553823
Issue #21313 : Tolerate truncated buildinfo in sys.version
2016-06-08 06:12:22 +00:00
Terry Jan Reedy
ea938baf5e
Items for NEWS and idlelib/NEWS.txt.
2016-06-07 15:35:37 -04:00
Terry Jan Reedy
8bff8f6953
Items for NEWS and idlelib/NEWS.txt.
2016-06-07 15:33:53 -04:00
Victor Stinner
9ff9cbd600
Merge 3.5 (os.urandom)
2016-06-07 11:25:43 +02:00
Victor Stinner
dddf4849ec
os.urandom() doesn't block on Linux anymore
...
Issue #26839 : On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK
to fall back on reading /dev/urandom if the urandom entropy pool is not
initialized yet. Patch written by Colm Buckley.
2016-06-07 11:21:42 +02:00
Martin Panter
bb707607ea
Issue #27229 : Merge cross-compiling fix from 3.5
2016-06-07 00:30:49 +00:00
Martin Panter
9c2a8f97da
Issue #27229 : Fix in-tree cross-build rule, by Xavier de Gaye
2016-06-07 00:27:17 +00:00
Martin Panter
0d3535a6ab
Issue #23883 : News updates for __all__ attributes
2016-06-06 02:09:08 +00:00
Ned Deily
223b874c00
Issue #26014 : merge from 3.5
2016-06-05 17:39:58 -07:00
Ned Deily
8f5798edfb
Issue #26014 : Update 3.x packaging documentation:
...
- "See also" links to the new docs are now provided in the legacy pages
- links to setuptools documentation have been updated
(original patch by Susan Sun)
2016-06-05 17:38:48 -07:00
Martin Panter
1ab2f14281
Issue #27164 : Merge raw Deflate zdict support from 3.5
2016-06-05 12:07:48 +00:00
Martin Panter
3f0ee83f14
Issue #27164 : Allow decompressing raw Deflate streams with predefined zdict
...
Based on patch by Xiang Zhang.
2016-06-05 10:48:34 +00:00
Martin Panter
ff5cd4576f
Issue #24291 : Merge wsgi partial write fix from 3.5
2016-06-05 06:56:51 +00:00
Martin Panter
ed0425c60a
Issue #24291 : Avoid WSGIRequestHandler doing partial writes
...
If the underlying send() method indicates a partial write, such as when the
call is interrupted to handle a signal, the server would silently drop the
remaining data.
Also add deprecated support for SimpleHandler.stdout.write() doing partial
writes.
2016-06-05 06:28:55 +00:00
Ned Deily
f39571ed64
Issue #26930 : merge from 3.5
2016-06-04 17:24:01 -07:00
Ned Deily
92b4b5a863
Issue #26930 : Update OS X 32-bit-only installer builds to use OpenSSL 1.0.2h.
2016-06-04 17:21:21 -07:00
doko@ubuntu.com
ae683657b7
- Issue #21277 : Don't try to link _ctypes with a ffi_convenience library.
2016-06-05 01:38:29 +02:00
Kushal Das
5801ecb440
Issue #25548 : Showing memory address of class objects in repl
2016-06-04 16:21:13 -07:00
doko@ubuntu.com
409482251b
- Issue #21272 : Use _sysconfigdata.py to initialize distutils.sysconfig.
2016-06-05 01:17:57 +02:00
Ethan Furman
b11c744290
add Dusty Phillips to ACKS
2016-06-04 15:53:08 -07:00
doko@ubuntu.com
36987d7c8d
- merge 3.5
2016-06-05 00:44:01 +02:00
doko@ubuntu.com
6ada01234d
- Issue #26884 : Fix linking extension modules for cross builds.
...
Patch by Xavier de Gaye.
2016-06-05 00:41:58 +02:00
Nick Coghlan
b4b966ece2
Issue #19611 : handle implicit parameters in inspect.signature
...
inspect.signature now reports the implicit ``.0`` parameters generated by
the compiler for comprehension and generator expression scopes as if they
were positional-only parameters called ``implicit0``.
Patch by Jelle Zijlstra.
2016-06-04 14:40:03 -07:00
Serhiy Storchaka
6e8e10e30d
Issue #21916 : Added tests for the turtle module.
...
Patch by ingrid, Gregory Loyse and Jelle Zijlstra.
2016-06-04 23:28:40 +03:00
Serhiy Storchaka
41e9ad1ef4
Issue #21916 : Added tests for the turtle module.
...
Patch by ingrid, Gregory Loyse and Jelle Zijlstra.
2016-06-04 23:27:26 +03:00
Zachary Ware
8bc9378c98
Closes #26809 : Merge with 3.5
2016-06-04 14:41:42 -05:00
Zachary Ware
c17a0b87a6
Issue #26809 : Add __all__ to string module. Patch by Emanuel Barry
2016-06-04 14:35:05 -05:00
Serhiy Storchaka
64c26e5f60
Issue #20041 : Fixed TypeError when frame.f_trace is set to None.
...
Patch by Xavier de Gaye.
2016-06-04 20:33:33 +03:00
Serhiy Storchaka
64a263a1ce
Issue #20041 : Fixed TypeError when frame.f_trace is set to None.
...
Patch by Xavier de Gaye.
2016-06-04 20:32:36 +03:00
Martin Panter
19409197e2
Merge typo fixes from 3.5
2016-06-04 05:26:40 +00:00
Martin Panter
3ee6270262
Fix typos in code comment and documentation
2016-06-04 04:57:19 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
fcbf1ca4f9
merge from 3.5 - Fixes Issue #26373 : subprocess.Popen.communicate
...
now correctly ignores BrokenPipeError when the child process dies
before .communicate() is called in more (all?) circumstances.
2016-06-04 00:34:15 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
1ef8c7e886
Fixes Issue #26373 : subprocess.Popen.communicate now correctly ignores
...
BrokenPipeError when the child process dies before .communicate()
is called in more (all?) circumstances.
2016-06-04 00:22:17 +00:00
R David Murray
d2367c651e
Clean up urlopen doc string.
...
Clarifies what is returned when and that the methods are common between the two.
Patch by Alexander Liu as part of #22797 .
2016-06-03 20:16:06 -04:00
R David Murray
13ee7d15e3
Merge: #16484 : Fix pydoc doc links to modules whose names are mixed case.
2016-06-03 19:29:18 -04:00
R David Murray
ead9bfc5c3
#16484 : Fix pydoc doc links to modules whose names are mixed case.
...
Patch by Sean Rodman, test by Kaushik N.
2016-06-03 19:28:35 -04:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
6f20bd6063
signal, socket, and ssl module IntEnum constant name lookups now return a
...
consistent name for values having multiple names. Ex: signal.Signals(6)
now refers to itself as signal.SIGALRM rather than flipping between that
and signal.SIGIOT based on the interpreter's hash randomization seed.
This helps finish issue27167.
2016-06-03 19:14:52 +00:00
Serhiy Storchaka
16931c3559
Issue #26983 : float() now always return an instance of exact float.
...
The deprecation warning is emitted if __float__ returns an instance of
a strict subclass of float. In a future versions of Python this can
be an error.
2016-06-03 21:42:55 +03:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
d6da7604d3
Issue #27167 : Clarify the subprocess.CalledProcessError error message text
...
when the child process died due to a signal.
2016-06-03 06:14:06 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
aea1650389
typo fix
2016-06-03 00:57:26 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
cef1f83c71
Issue #25931 : Don't defining socketserver.Forking* names on platforms such
...
as Windows that do not support os.fork().
2016-06-03 00:13:36 +00:00
R David Murray
3bad04ca62
Merge: #26829 : Clarify that namespace is copied to a new __dict__ in instance creation.
2016-06-02 20:06:13 -04:00
R David Murray
dd4fcf52f4
#26829 : Clarify that namespace is copied to a new __dict__ in instance creation.
...
Patch by Emily Morehouse.
2016-06-02 20:05:43 -04:00
R David Murray
1b50c4d697
Merge: #27185 : move test_pep292 into test_string.
2016-06-02 19:38:20 -04:00
R David Murray
a32c738ad7
#27185 : move test_pep292 into test_string.
...
This makes the Template tests discoverable. Patch by Erin Braswell.
2016-06-02 19:37:47 -04:00
Berker Peksag
fddf12198f
Issue #21776 : Merge from 3.5
2016-06-02 13:47:23 -07:00
Berker Peksag
6a8e626a60
Issue #21776 : distutils.upload now correctly handles HTTPError
...
Initial patch by Claudiu Popa.
2016-06-02 13:45:53 -07:00
R David Murray
0d20189f63
Merge: #20973 : add total ordering tests for ipaddress
2016-06-02 15:49:41 -04:00
R David Murray
947ff38725
#20973 : add total ordering tests for ipaddress
...
Patch by Tommy Beadle.
2016-06-02 15:46:04 -04:00
Benjamin Peterson
53595c4879
replace custom validation logic in the parse module with a simple DFA validator ( closes #26526 )
...
Patch from A. Skrobov.
2016-06-02 11:30:18 -07:00
Kushal Das
9cd39a170b
Issue #21271 : Adds new keyword only parameters in reset_mock call
...
We now have two keyword only parameters in the reset_mock function to
selectively reset the return_value or the side_effects, or both.
2016-06-02 10:20:16 -07:00
Martin Panter
0b7d84de6b
Issue #27171 : Merge typo fixes from 3.5
2016-06-02 10:11:18 +00:00
Martin Panter
e26da7c03a
Issue #27171 : Fix typos in documentation, comments, and test function names
2016-06-02 10:07:09 +00:00
Martin Panter
e514093a2f
Issue #27125 : Merge typo fixes from 3.5
2016-05-30 05:24:49 +00:00
Terry Jan Reedy
137bac265e
Add items to MISC/NEWS and idlelib/NEWS.txt.
2016-05-30 01:04:08 -04:00
Terry Jan Reedy
f45d27bcc3
Add items to MISC/NEWS and idlelib/NEWS.txt.
2016-05-30 01:02:34 -04:00
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Martin Panter
e501a93c18
Issue #27125 : Merge typo fixes from 3.5
...
Also merge changes from Issue #27117 ; no actual code changes to 3.6.
2016-05-29 09:05:06 +00:00
Martin Panter
8d56c026a5
Issue #27125 : Fix various errors like “will [be] inherited”
2016-05-29 04:13:35 +00:00
Benjamin Peterson
6ca4260219
merge 3.5
2016-05-28 14:05:11 -07:00
Benjamin Peterson
c352620c92
backout 3c9512d8ac0d
2016-05-28 14:04:40 -07:00
Eric Snow
dc4f7c09cc
Issue #27147 : Mention PEP 420 in the importlib docs.
2016-05-28 11:08:20 -07:00
Eric Snow
338502b307
Issue #27147 : Mention PEP 420 in the importlib docs.
2016-05-28 11:56:53 -06:00
Raymond Hettinger
672866d009
Issue 25926: Clarify that the pure python equivalents are only approximate.
2016-05-28 00:17:54 -07:00
Raymond Hettinger
819581b843
Issue 25926: Clarify that the pure python equivalents are only approximate.
2016-05-28 00:10:56 -07:00
Eric Snow
0472217d43
Issue #27138 : Fix the doc comment for FileFinder.find_spec().
2016-05-27 12:56:41 -06:00
Eric Snow
fc36e66af4
Issue #27138 : Fix the doc comment for FileFinder.find_spec().
2016-05-27 12:36:28 -06:00
Steve Dower
48df37dbb8
Issue #27114 : Fix SSLContext._load_windows_store_certs fails with PermissionError
2016-05-26 12:19:42 -07:00
Steve Dower
33bc4a2983
Issue #27114 : Fix SSLContext._load_windows_store_certs fails with PermissionError
2016-05-26 12:18:12 -07:00
Martin Panter
b6ae2ae47c
Issue #18383 : Merge warnings fix from 3.5
2016-05-26 09:39:41 +00:00
Martin Panter
43593a1892
Issue #18383 : Avoid adding duplicate filters when warnings is reloaded
...
Based on patch by Alex Shkop.
2016-05-26 09:10:55 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Serhiy Storchaka
f60bf5f7d6
Issue #27097 : Python interpreter is now about 7% faster due to optimized
...
instruction decoding. Based on patch by Demur Rumed.
2016-05-25 20:02:01 +03:00
Steve Dower
80ac11d01e
Issue #23026 : winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril)
2016-05-24 15:42:04 -07:00
Serhiy Storchaka
b0f80b0312
Issue #26647 : Python interpreter now uses 16-bit wordcode instead of bytecode.
...
Patch by Demur Rumed.
2016-05-24 09:15:14 +03:00
Paul Moore
835416cf7c
Issue #27064 : The py.exe launcher now defaults to Python 3.
...
The Windows launcher ``py.exe`` no longer prefers an installed
Python 2 version over Python 3 by default when used interactively.
2016-05-22 12:28:41 +01:00
Martin Panter
7f3d16f8f5
Extra NEWS formatting fix for 3.6
2016-05-22 03:10:11 +00:00
Martin Panter
f4af15b3b3
Merge NEWS formatting from 3.5
2016-05-22 03:05:44 +00:00
Martin Panter
4e52558fb1
Fix minor inconsistencies with Issue #N references in NEWS and HISTORY
2016-05-22 03:01:52 +00:00
Serhiy Storchaka
2a95219bc4
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:50 +03:00
Serhiy Storchaka
13e602ea0f
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:14 +03:00
Victor Stinner
6d81a2136d
regrtest doesn't ignore -j1 anymore
...
* regrtest now uses subprocesses when the -j1 command line option
is used: each test file runs in a fresh child process. Before, the -j1 option
was ignored.
* Tools/buildbot/test.bat script now uses -j1 by default to run
each test file in fresh child process.
2016-05-20 13:15:55 +02:00
Victor Stinner
5a48e21ff1
subprocess now emits a ResourceWarning warning
...
Issue #26741 : subprocess.Popen destructor now emits a ResourceWarning warning
if the child process is still running.
2016-05-20 12:11:15 +02:00
Victor Stinner
19ed27ec2b
Optimize pickle.load() and pickle.loads()
...
Issue #27056 : Optimize pickle.load() and pickle.loads(), up to 10% faster to
deserialize a lot of small objects.
2016-05-20 11:42:37 +02:00
Guido van Rossum
03e6061956
Back out pathlib.Path.path attr. (Merge 3.5->3.6)
2016-05-19 13:11:17 -07:00
Guido van Rossum
387e6e3817
Back out pathlib.Path.path attr. (Merge 3.4->3.5)
2016-05-19 13:10:20 -07:00
Guido van Rossum
3d4d01f614
Back out 7e9605697dfc, 2e3c31ab586a, 759b2cecc289.
...
These added a path attribute to pathlib.Path objects, and docs.
Instead, we're going to use PEP 519.
(Starting in the 3.4 branch and merging forward from there since that's what I did originally.)
2016-05-19 13:00:21 -07:00
Steve Dower
7fa6378747
Issue #27053 : Updates make_zip.py to correctly generate library ZIP file.
2016-05-19 10:47:55 -07:00
Steve Dower
d8bf09c6cd
Issue #27053 : Updates make_zip.py to correctly generate library ZIP file.
2016-05-19 10:47:47 -07:00
Victor Stinner
4a3443be43
Merge 3.5 (issue #27057 )
2016-05-19 16:48:06 +02:00
Victor Stinner
3116cc44af
Fix os.set_inheritable() on Android
...
Issue #27057 : Fix os.set_inheritable() on Android, ioctl() is blocked by
SELinux and fails with EACCESS. The function now falls back to fcntl().
Patch written by Michał Bednarski.
2016-05-19 16:46:18 +02:00
Guido van Rossum
c41c70fd9b
Fix #27014 -- infinite recursion using typing.py. (Merge 3.5 -> 3.6.)
2016-05-18 08:36:16 -07:00
Guido van Rossum
1cea70f08c
Fix #27014 -- infinite recursion using typing.py.
2016-05-18 08:35:00 -07:00
Martin Panter
9ef6b7fbde
Issue #23275 : Don’t think this made it into alpha 1
2016-05-18 07:19:32 +00:00
Berker Peksag
094c9c921c
Issue #23275 : Allow () = iterable assignment syntax
...
Documentation updates by Martin Panter.
2016-05-18 08:44:29 +03:00
Ned Deily
4284ffd2f8
Merge 3.6.0a1 updates
2016-05-17 17:09:48 -04:00
Ned Deily
786ed5537c
Post-release cleanup: 3.6.0a1 -> 3.6.0a2
2016-05-17 16:55:41 -04:00
Benjamin Peterson
5b2b3aae2a
merge 3.5 ( #26991 )
2016-05-16 22:53:44 -07:00
Benjamin Peterson
ad887cf7d1
fix possible refleak in MAKE_FUNCTION ( closes #26991 )
...
Patch by Xiang Zhang.
2016-05-16 22:52:40 -07:00
Ned Deily
cec00a7d87
Version bump for 3.6.0a1
2016-05-16 16:03:51 -04:00
Yury Selivanov
82d9a2e1fe
Merge heads
2016-05-16 15:40:38 -04:00
Yury Selivanov
8ace2c66d3
Merge 3.5 (Issue #27041 )
2016-05-16 15:39:39 -04:00
Yury Selivanov
7661db6228
Issue #27041 : asyncio: Add loop.create_future method
2016-05-16 15:38:39 -04:00
Serhiy Storchaka
2e208b7d62
Issue #27031 : Removed dummy methods in Tkinter widget classes: tk_menuBar()
...
and tk_bindForTraversal().
2016-05-16 22:35:46 +03:00
Yury Selivanov
7c3ac2d1f8
Merge 3.5 (issue #27040 )
2016-05-16 15:32:26 -04:00
Serhiy Storchaka
4b23494ded
Issue #27039 : Fixed bytearray.remove() for values greater than 127.
...
Based on patch by Joe Jevnik.
2016-05-16 22:24:03 +03:00
Yury Selivanov
7ed7ce6ee7
Issue #27040 : Add loop.get_exception_handler method
2016-05-16 15:20:38 -04:00
Serhiy Storchaka
7bf36dace8
Issue #27039 : Fixed bytearray.remove() for values greater than 127.
...
Patch by Joe Jevnik.
2016-05-16 22:15:38 +03:00
Martin Panter
0b39a556e8
Issue #14132 , Issue #17214 : Merge two redirect handling fixes from 3.5
2016-05-16 07:45:28 +00:00
Serhiy Storchaka
cbcc2fd641
Issue #27033 : The default value of the decode_data parameter for
...
smtpd.SMTPChannel and smtpd.SMTPServer constructors is changed to False.
2016-05-16 09:36:31 +03:00
Serhiy Storchaka
98019e1cf6
Issue #27034 : Removed deprecated class asynchat.fifo.
2016-05-16 09:10:43 +03:00
Robert Collins
c85dd85f1a
Issue #26807 : mock_open 'files' no longer error on readline at end of file.
...
Patch from Yolanda Robla.
2016-05-16 15:22:45 +12:00
Robert Collins
9549a3e3d4
Issue #26807 : mock_open 'files' no longer error on readline at end of file.
...
Patch from Yolanda Robla.
2016-05-16 15:22:01 +12:00
Martin Panter
e6f060903c
Issue #17214 : Percent-encode non-ASCII bytes in redirect targets
...
Some servers send Location header fields with non-ASCII bytes, but "http.
client" requires the request target to be ASCII-encodable, otherwise a
UnicodeEncodeError is raised. Based on patch by Christian Heimes.
Python 2 does not suffer any problem because it allows non-ASCII bytes in the
HTTP request target.
2016-05-16 01:14:20 +00:00
Martin Panter
ce6e06874b
Issue #14132 : Fix redirect handling when target is just a query string
2016-05-16 01:07:13 +00:00
Martin Panter
f0dbf7a6ab
Issue #26870 : Add readline.set_auto_history(), originally by Tyler Crompton
2016-05-15 01:26:25 +00:00
Yury Selivanov
059320bab8
Merge 3.5 (issue #26848 )
2016-05-13 15:39:09 -04:00
Yury Selivanov
7657f6ba21
Issue #26848 : Fix asyncio/subprocess.communicate() to handle empty input.
2016-05-13 15:35:28 -04:00
Serhiy Storchaka
18ee29d0b8
Issue #26039 : zipfile.ZipFile.open() can now be used to write data into a ZIP
...
file, as well as for extracting data. Patch by Thomas Kluyver.
2016-05-13 13:52:49 +03:00
Senthil Kumaran
5d1110a952
merge from 3.5
...
Issue #26892 : Honor debuglevel flag in urllib.request.HTTPHandler.
Patch contributed by Chi Hsuan Yen.
2016-05-13 01:35:29 -07:00
Senthil Kumaran
9642eedc0a
Issue #26892 : Honor debuglevel flag in urllib.request.HTTPHandler.
...
Patch contributed by Chi Hsuan Yen.
2016-05-13 01:32:42 -07:00
Martin Panter
f94ec1bd83
Issue #22274 : Merge stderr=STDOUT fix from 3.5
2016-05-13 07:45:21 +00:00
Martin Panter
c76358924f
Issue #22274 : Redirect stderr=STDOUT when stdout not redirected, by Akira Li
2016-05-13 01:54:44 +00:00
Serhiy Storchaka
ea36c941a1
Issue #23640 : int.from_bytes() no longer bypasses constructors for subclasses.
2016-05-12 10:37:58 +03:00
Serhiy Storchaka
9de7efe5ab
Removed duplicated NEWS entity for issue #26881 .
2016-05-11 22:25:05 +03:00
Steven D'Aprano
3414e4a34f
NEWS message for issue #26977 .
2016-05-11 12:41:19 +10:00
Eric Snow
228ab1ff6b
Issue #21099 : Switch applicable importlib tests to use PEP 451 API.
2016-05-10 16:21:03 -06:00
Serhiy Storchaka
1f364438ad
Issue #23640 : int.from_bytes() no longer bypasses constructors for subclasses.
2016-05-12 10:39:32 +03:00
Serhiy Storchaka
25885d1dc5
Issue #27005 : Optimized the float.fromhex() class method for exact float.
2016-05-12 10:21:14 +03:00
Serhiy Storchaka
871639a6d5
Merge 3.5.
2016-05-11 22:25:31 +03:00
Steven D'Aprano
441581a79f
Update NEWS.
2016-05-11 13:01:42 +10:00
Steven D'Aprano
6494449a98
Merge NEWS update from 3.5 for issue #26977 .
2016-05-11 12:46:40 +10:00
Eric Snow
d65018b17c
Fixes #19711 : Add tests for reloading namespace packages.
2016-05-10 15:29:05 -06:00
Serhiy Storchaka
6a8af9ab36
Issue #25745 : Fixed leaking a userptr in curses panel destructor.
2016-05-09 00:14:22 +03:00
Serhiy Storchaka
df40b62390
Issue #25745 : Fixed leaking a userptr in curses panel destructor.
2016-05-09 00:11:59 +03:00
Serhiy Storchaka
3e99fdeed5
Issue #26881 : The modulefinder module now supports extended opcode arguments.
2016-05-08 23:44:54 +03:00
Serhiy Storchaka
02d9f5e5b2
Issue #26881 : The modulefinder module now supports extended opcode arguments.
2016-05-08 23:43:50 +03:00
Serhiy Storchaka
ce41287e99
Issue #18531 : Single var-keyword argument of dict subtype was passed
...
unscathed to the C-defined function. Now it is converted to exact dict.
2016-05-08 23:36:44 +03:00
Serhiy Storchaka
dea76376cb
Issue #23815 : Fixed crashes related to directly created instances of types in
...
_tkinter and curses.panel modules.
2016-05-08 20:46:55 +03:00
Serhiy Storchaka
e3f1b0911e
Issue #23815 : Fixed crashes related to directly created instances of types in
...
_tkinter and curses.panel modules.
2016-05-08 20:46:22 +03:00
Martin Panter
1ce738e08f
Merge typo fixes from 3.5
2016-05-08 14:02:35 +00:00
Martin Panter
f0564164ba
Fix typos in comments, documentation and test method names
2016-05-08 13:48:10 +00:00
Serhiy Storchaka
17e22959a4
Issue #17765 : weakref.ref() no longer silently ignores keyword arguments.
...
Patch by Georg Brandl.
2016-05-07 15:43:59 +03:00
Serhiy Storchaka
21eb48764c
Issue #17765 : weakref.ref() no longer silently ignores keyword arguments.
...
Patch by Georg Brandl.
2016-05-07 15:41:09 +03:00
Serhiy Storchaka
1acbf853c8
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:58 +03:00
Serhiy Storchaka
6dff0205b7
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:07 +03:00
Raymond Hettinger
584e8aedc3
Issue 26915: Add identity checks to the collections ABC __contains__ methods.
2016-05-05 11:14:06 +03:00
Serhiy Storchaka
fcce462e9c
Issue #26811 : gc.get_objects() no longer contains a broken tuple with NULL
...
pointer.
2016-05-04 21:42:52 +03:00
Serhiy Storchaka
7822f151b6
Issue #26811 : gc.get_objects() no longer contains a broken tuple with NULL
...
pointer.
2016-05-04 21:42:05 +03:00
Jason R. Coombs
ad039f7548
Issue #20120 : Merge with 3.5
2016-05-04 12:00:32 -04:00
Jason R. Coombs
422cf2b4ad
Issue #20120 : Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0.
2016-05-04 11:57:32 -04:00
Serhiy Storchaka
45cdcd93c9
Issue #26873 : xmlrpc now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:27:17 +03:00
Serhiy Storchaka
290fed43d9
Issue #26873 : xmlrpc now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:26:42 +03:00
Serhiy Storchaka
c2f7d87897
Issue #26932 : Fixed support of RTLD_* constants defined as enum values,
...
not via macros (in particular on Android). Patch by Chi Hsuan Yen.
2016-05-04 09:44:44 +03:00
Serhiy Storchaka
47d1d7f48a
Issue #26711 : Fixed the comparison of plistlib.Data with other types.
2016-05-01 13:36:42 +03:00
Serhiy Storchaka
dd1bcdf618
Issue #26711 : Fixed the comparison of plistlib.Data with other types.
2016-05-01 13:36:16 +03:00
Meador Inge
f1e2671fdf
Issue #24114 : Fix an uninitialized variable in `ctypes.util`.
...
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
2016-04-30 22:17:22 -05:00
Meador Inge
8988ebf2a7
Issue #24114 : Fix an uninitialized variable in `ctypes.util`.
...
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
2016-04-30 21:56:59 -05:00
Martin Panter
51b697b7f3
Issue #26864 : Merge no_proxy fixes from 3.5
2016-04-30 01:30:57 +00:00
Martin Panter
aa27982ffc
Issue #26864 : Fix case insensitivity and suffix comparison with no_proxy
...
Patch by Xiang Zhang.
2016-04-30 01:03:40 +00:00
Berker Peksag
3a31cca4ab
Issue #24902 : Print server URL on http.server startup
...
Initial patch by Felix Kaiser.
2016-04-29 16:48:11 +03:00
Serhiy Storchaka
b275210a3b
Issue #25788 : fileinput.hook_encoded() now supports an "errors" argument
...
for passing to open. Original patch by Joseph Hackman.
2016-04-27 23:13:46 +03:00
Serhiy Storchaka
cd9b5c2f40
Issue #26634 : recursive_repr() now sets __qualname__ of wrapper.
...
Patch by Xiang Zhang.
2016-04-26 09:31:11 +03:00
Serhiy Storchaka
b3b366d803
Issue #26634 : recursive_repr() now sets __qualname__ of wrapper.
...
Patch by Xiang Zhang.
2016-04-26 09:30:44 +03:00
Senthil Kumaran
0996fa3bd8
merge 3.5
...
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:18:07 -07:00
Senthil Kumaran
a7c0ff2f0b
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
...
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:16:23 -07:00
Serhiy Storchaka
81e7f94076
Merge 3.5
2016-04-25 08:58:59 +03:00
Serhiy Storchaka
685fbed7f9
Issue #26837 : assertSequenceEqual() now correctly outputs non-stringified
...
differing items (like bytes in the -b mode). This affects assertListEqual()
and assertTupleEqual().
2016-04-25 08:58:25 +03:00
Berker Peksag
e50d8465ab
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:50 +03:00
Berker Peksag
8d8221f0d6
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:24 +03:00
Serhiy Storchaka
745145a7da
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:53:43 +03:00
Serhiy Storchaka
c2a2a751cf
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:51:39 +03:00
Serhiy Storchaka
8b9eefc363
Issue #26733 : Disassembling a class now disassembles class and static methods.
...
Patch by Xiang Zhang.
2016-04-23 09:24:29 +03:00
Serhiy Storchaka
585c93daea
Issue #26733 : Disassembling a class now disassembles class and static methods.
...
Patch by Xiang Zhang.
2016-04-23 09:23:52 +03:00
Martin Panter
da28494d0a
Issue #22359 : Merge cross-compilation fix from 3.5
2016-04-23 01:18:54 +00:00
Martin Panter
1046d5c653
Issue #22359 : Disable running cross-compiled _freeze_importlib and pgen
...
Patch by Xavier de Gaye.
2016-04-23 00:58:44 +00:00
Victor Stinner
f5c4b99034
PyMem_Malloc() now uses the fast pymalloc allocator
...
Issue #26249 : PyMem_Malloc() allocator family now uses the pymalloc allocator
rather than system malloc(). Applications calling PyMem_Malloc() without
holding the GIL can now crash: use PYTHONMALLOC=debug environment variable to
validate the usage of memory allocators in your application.
2016-04-22 16:26:23 +02:00
Victor Stinner
b4faa8ef93
Merge 3.5
2016-04-20 18:23:59 +02:00
Victor Stinner
d7a71224d8
Issue #26799 : Fix typo in Misc/NEWS
2016-04-20 18:23:49 +02:00
Victor Stinner
c88390f02d
Merge 3.5: Issue #26799
2016-04-20 18:12:38 +02:00
Victor Stinner
4e75ca87e3
python-gdb.py: get C types at runtime
...
Issue #26799 : Fix python-gdb.py: don't get once C types when the Python code
is loaded, but get C types on demande. The C types can change if
python-gdb.py is loaded before the Python executable.
Patch written by Thomas Ilsche.
2016-04-20 18:07:21 +02:00
Victor Stinner
a2bf3060d0
Issue #21668 : Add also Chi Hsuan Yen to Misc/ACKS
2016-04-20 10:02:04 +02:00
Victor Stinner
61f68dbd17
Issue #21668 : Fix author of the patch.
...
Sorry, it was hard to retrieve the original author of the patch in this issue
with a long history and many authors.
2016-04-20 09:58:12 +02:00
Martin Panter
abe4d52a1a
Merge doc and comment fixes from 3.5
2016-04-19 23:23:16 +00:00
Victor Stinner
0b2e98d53d
Optimize func(*tuple) function call
...
Issue #26802 : Optimize function calls only using unpacking like "func(*tuple)"
(no other positional argument, no keyword): avoid copying the tuple.
Patch written by Joe Jevnik.
2016-04-19 22:54:37 +02:00
Victor Stinner
5bfe0da808
Merge 3.5: issue #26801
2016-04-19 22:29:11 +02:00
Victor Stinner
119ebb70e9
Fix shutil.get_terminal_size() error handling
...
Issue #26801 : Fix error handling in shutil.get_terminal_size(), catch
AttributeError instead of NameError. Patch written by Emanuel Barry.
test_shutil: skip the functional test using "stty size" command if
os.get_terminal_size() is missing.
2016-04-19 22:24:56 +02:00
Victor Stinner
1fa5a38e92
Merge 3.5: Issue #21668
2016-04-19 15:58:33 +02:00
Victor Stinner
def8072c34
setup.py: add missing libm dependency
...
Issue #21668 : Link audioop, _datetime, _ctypes_test modules to libm, except on
Mac OS X. Patch written by Xavier de Gaye.
2016-04-19 15:58:11 +02:00
Lars Gustäbel
7c3e6848f2
Issue #24838 : Merge tarfile fix from 3.5.
2016-04-19 08:53:14 +02:00
Lars Gustäbel
0f450abec4
Issue #24838 : tarfile's ustar and gnu formats now correctly calculate name and
...
link field limits for multibyte character encodings like utf-8.
2016-04-19 08:43:17 +02:00
Martin Panter
8f26565ba9
Fix spelling (inital), grammar (may translates) in documentation, comments
2016-04-19 04:03:41 +00:00
Martin Panter
791ac54a44
Issue #26657 : Merge http.server fix from 3.5
2016-04-18 07:16:17 +00:00
Martin Panter
d274b3f1f1
Issue #26657 : Fix Windows directory traversal vulnerability with http.server
...
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision f4377699fd47.
2016-04-18 03:45:18 +00:00
Serhiy Storchaka
b6a9c9761c
Issue #26778 : Fixed "a/an/and" typos in code comment, documentation and error
...
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Martin Panter
d77133b4ce
Issue #26717 : Merge wsgiref fix from 3.5
2016-04-17 02:36:50 +00:00
Martin Panter
50dd1f7dd6
Issue #26717 : Stop encoding Latin-1-ized WSGI paths with UTF-8
...
Patch by Anthony Sottile.
2016-04-17 02:17:03 +00:00
Martin Panter
528619b6c3
Issue #26782 : Add STARTUPINFO to subprocess.__all__ on Windows
2016-04-16 23:42:37 +00:00
Benjamin Peterson
259d247b31
merge 3.5 ( #26659 )
2016-04-16 14:54:27 -07:00
Benjamin Peterson
2b601d3905
add gc support to slice ( closes #26659 )
2016-04-16 14:47:12 -07:00
Gregory P. Smith
79a12a2aa5
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:58:51 -07:00
Gregory P. Smith
d82da9f7f2
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:57:04 -07:00
Martin Panter
cda80940ed
Issue #15984 : Merge PyUnicode doc from 3.5
2016-04-15 02:27:11 +00:00
Martin Panter
6245cb3c01
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
...
This affects documentation, code comments, and a debugging messages.
2016-04-15 02:14:19 +00:00
Serhiy Storchaka
131b8f8eee
Issue #26718 : super.__init__ no longer leaks memory if called multiple times.
...
NOTE: A direct call of super.__init__ is not endorsed!
2016-04-13 15:28:53 +03:00
Serhiy Storchaka
3d7497608b
Issue #26718 : super.__init__ no longer leaks memory if called multiple times.
...
NOTE: A direct call of super.__init__ is not endorsed!
2016-04-13 15:27:33 +03:00
Steve Dower
a4d41b3a3e
Closes #26624 : Adds validation of ucrtbase[d].dll version with warning for old versions.
2016-04-12 20:11:45 -07:00
Steve Dower
a7a222fde7
Closes #26624 : Adds validation of ucrtbase[d].dll version with warning for old versions.
2016-04-12 20:11:25 -07:00
Martin Panter
0cab9c1eba
Issue #26404 : Add context manager to socketserver, by Aviv Palivoda
2016-04-13 00:36:52 +00:00
Victor Stinner
7258176c68
Merge 3.5 (os.urandom)
2016-04-12 22:38:22 +02:00
Victor Stinner
9d24271d86
Fix os.urandom() on Solaris 11.3
...
Issue #26735 : Fix os.urandom() on Solaris 11.3 and newer when reading more than
1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per
call.
2016-04-12 22:28:49 +02:00
Martin Panter
da3bb38452
Issue #26585 : Eliminate _quote_html() and use html.escape(quote=False)
...
Patch by Xiang Zhang.
2016-04-11 00:40:08 +00:00
Martin Panter
50ab1a3694
Issue #26685 : Raise OSError if closing a socket fails
2016-04-11 00:38:12 +00:00
Serhiy Storchaka
403002723f
Issue #25339 : PYTHONIOENCODING now has priority over locale in setting the
...
error handler for stdin and stdout.
2016-04-10 14:35:21 +03:00
Serhiy Storchaka
fc43511867
Issue #25339 : PYTHONIOENCODING now has priority over locale in setting the
...
error handler for stdin and stdout.
2016-04-10 14:34:13 +03:00
Berker Peksag
734423b87b
Issue #16329 : Add .webm to mimetypes.types_map
...
Patch by Giampaolo Rodola'.
2016-04-09 08:00:53 +03:00
Berker Peksag
d7fdc86153
Issue #16329 : Add .webm to mimetypes.types_map
...
Patch by Giampaolo Rodola'.
2016-04-09 08:00:20 +03:00
Berker Peksag
ba22cf8bdc
Issue #13952 : Add .csv to mimetypes.types_map
...
Patch by Geoff Wilson.
2016-04-09 07:53:00 +03:00
Berker Peksag
a2d7cf087f
Issue #13952 : Add .csv to mimetypes.types_map
...
Patch by Geoff Wilson.
2016-04-09 07:52:05 +03:00
Brett Cannon
5f0507d8ab
Issue #26587 : Allow .pth files to specify file paths as well as
...
directories.
Thanks to Wolfgang Langner for the bug report and initial version of
the patch.
2016-04-08 15:04:28 -07:00
Brett Cannon
9e080e0e74
Issue #25609 : Introduce contextlib.AbstractContextManager and
...
typing.ContextManager.
2016-04-08 12:15:27 -07:00
Serhiy Storchaka
c5b5ba9bda
Issue #26709 : Fixed Y2038 problem in loading binary PLists.
2016-04-08 15:00:33 +03:00
Serhiy Storchaka
94ad49fabc
Issue #26709 : Fixed Y2038 problem in loading binary PLists.
2016-04-08 15:00:02 +03:00
Martin Panter
b15c304984
Issue #6953 : Merge readline doc from 3.5
2016-04-05 10:17:38 +00:00
Martin Panter
0f7673943a
Issue #6953 : Rearrange and expand Readline module documentation
...
* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific
2016-04-05 07:37:22 +00:00
Martin Panter
c86c91aab0
Merge typo fixes from 3.5
2016-04-05 06:20:32 +00:00
Martin Panter
cc71a795df
Fix typos in documentation and comments
2016-04-05 06:19:42 +00:00
Martin Panter
a3506005b3
Issue #23735 : Merge Readline resize handling from 3.5
2016-04-03 03:19:27 +00:00
Martin Panter
5dbbf1abba
Issue #23735 : Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
2016-04-03 02:54:58 +00:00
Martin Panter
519f91215b
Issue #25951 : Fix SSLSocket.sendall() to return None, by Aviv Palivoda
2016-04-03 02:12:54 +00:00
Martin Panter
b93e4b2480
Issue #26586 : Merge excessive HTTP header handling from 3.5
2016-04-03 01:28:49 +00:00