R David Murray
3e8d9413eb
Merge #28407 Improve test coverage of make_msgid.
2016-12-17 22:04:48 -05:00
R David Murray
d4f8132278
Merge #28407 Improve test coverage of make_msgid.
2016-12-17 22:04:20 -05:00
R David Murray
c69fd86f94
#28407 Improve test coverage of make_msgid.
...
Patch by Dillon Brock.
2016-12-17 22:03:44 -05:00
Martin Panter
ca3263c50c
Issue #25677 : Correct syntax error caret for indented blocks.
...
Based on patch by Michael Layzell.
2016-12-11 00:18:36 +00:00
Łukasz Langa
de7bf086d2
Merge 3.6, fix for #24142
2016-11-26 14:04:40 -08:00
Łukasz Langa
8fb4e421f4
Merge 3.5, fix for #24142
2016-11-26 14:02:48 -08:00
Łukasz Langa
47a9a4beda
Fixes #24142 : [configparser] always join multiline values to not leave the parser in an invalid state
2016-11-26 14:00:39 -08:00
Martin Panter
a57890e5ec
Issue #10656 : Merge AIX build fix from 3.6
2016-11-20 22:16:46 +00:00
Martin Panter
e45df0a6da
Issue #10656 : Merge AIX build fix from 3.5
2016-11-20 22:06:44 +00:00
Martin Panter
395733d46b
Issue #10656 : Fix out-of-tree building on AIX
...
The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.
2016-11-20 07:56:37 +00:00
Martin Panter
5e17ad9716
Merge AIX fixes from 3.6
2016-11-14 05:04:36 +00:00
Martin Panter
f8cebad290
Merge AIX fixes from 3.5 into 3.6
2016-11-14 05:04:12 +00:00
Martin Panter
c9e08d8cb5
Issue #28000 : Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
...
Patch by Matthieu S.
2016-11-14 04:26:36 +00:00
Ned Deily
7d76c906f7
Issue #28616 : merge from 3.5
2016-11-04 17:07:06 -04:00
Ned Deily
da4887a88d
Issue #28616 : Correct help for sys.version_info releaselevel component.
...
Patch by Anish Tambe.
2016-11-04 17:03:34 -04:00
Serhiy Storchaka
5f548a24a4
Issue #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when
...
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
2016-11-03 15:38:17 +02:00
Serhiy Storchaka
a7c972e03b
Issue #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when
...
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
2016-11-03 15:37:01 +02:00
Serhiy Storchaka
88b2219358
Issue #27517 : LZMA compressor and decompressor no longer raise exceptions if
...
given empty data twice. Patch by Benjamin Fogle.
2016-10-31 08:31:13 +02:00
Serhiy Storchaka
04f17f103a
Issue #27517 : LZMA compressor and decompressor no longer raise exceptions if
...
given empty data twice. Patch by Benjamin Fogle.
2016-10-31 08:30:09 +02:00
Ned Deily
e37c1cbf66
Issue #28616 : merge from 3.6
2016-11-04 17:07:47 -04:00
Serhiy Storchaka
d63f1f757c
Issue #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when
...
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
2016-11-03 15:38:58 +02:00
Serhiy Storchaka
ecf40c1dce
Issue #27517 : LZMA compressor and decompressor no longer raise exceptions if
...
given empty data twice. Patch by Benjamin Fogle.
2016-10-31 08:31:41 +02:00
Martin Panter
34d304cc0f
Issue #26240 : Merge subprocess doc string from 3.6
2016-10-26 00:26:38 +00:00
Martin Panter
3dca62440c
Issue #26240 : Merge subprocess doc string from 3.5 into 3.6
2016-10-25 23:41:42 +00:00
Martin Panter
4afdca056b
Issue #26240 : Clean up the subprocess module doc string
...
Patch by Tim Mitchell.
2016-10-25 22:20:48 +00:00
Martin Panter
f1f9b633ac
Issue #28435 : Merge urllib test fixes from 3.6
2016-10-22 03:21:55 +00:00
Martin Panter
85e81cfe9b
Issue #28435 : Merge urllib test fixes from 3.5 into 3.6
2016-10-22 03:21:36 +00:00
Martin Panter
1002a621c1
Issue #28435 : Avoid no_proxy environment variable interfering with tests
...
Patch by Piotr Szczepaniak.
2016-10-22 01:42:06 +00:00
Serhiy Storchaka
52597d91e2
Issue #18287 : PyType_Ready() now checks that tp_name is not NULL.
...
Original patch by Niklas Koep.
2016-10-07 23:26:16 +03:00
Serhiy Storchaka
e45b7c09ec
Issue #18287 : PyType_Ready() now checks that tp_name is not NULL.
...
Original patch by Niklas Koep.
2016-10-07 23:25:46 +03:00
Serhiy Storchaka
de0574bdab
Issue #18287 : PyType_Ready() now checks that tp_name is not NULL.
...
Original patch by Niklas Koep.
2016-10-07 23:24:35 +03:00
Steve Dower
cc30fc72c6
Add myself to the ACKS file.
2016-10-03 11:16:17 -07:00
Zachary Ware
6a6967e827
Issue #21085 : add configure check for siginfo_t.si_band
...
Patch by Masayuki Yamamoto, reviewed and rebased by Erik Bray.
This is a first step on the long road toward resupporting Cygwin, which does
not provide siginfo_t.si_band.
2016-10-01 00:47:27 -05:00
Terry Jan Reedy
36925001e6
Merge with 3.6
2016-09-30 15:39:22 -04:00
Terry Jan Reedy
b4b55eb582
Merge with 3.5
2016-09-30 15:39:05 -04:00
Terry Jan Reedy
30eee4deec
Issue #28815 : Change '?' to '<module>' in some doc examples.
...
Patch by Mariatta Wijaya.
2016-09-30 15:38:48 -04:00
Terry Jan Reedy
6c58c34dd3
IDLE NEWS item and ack.
2016-09-28 21:55:55 -04:00
Alexander Belopolsky
3e7a3cb903
Issue #28148 : Stop using localtime() and gmtime() in the time module.
...
Introduced platform independent _PyTime_localtime API that is similar
to POSIX localtime_r, but available on all platforms. Patch by Ed
Schouten.
2016-09-28 17:31:35 -04:00
Alexander Belopolsky
9f518cd01a
Merged from 3.6
2016-09-28 17:32:31 -04:00
Mark Dickinson
3992d6e5e1
Issue #28203 : Merge from 3.6
2016-09-24 15:29:07 +01:00
Mark Dickinson
6997946ec4
Issue #28203 : Merge from 3.5
2016-09-24 15:28:34 +01:00
Mark Dickinson
613f8e513c
Issue #28203 : Fix incorrect type in error message from complex(1.0, {2:3}). Patch by Soumya Sharma.
2016-09-24 15:26:36 +01:00
Alexander Belopolsky
b3788aadb6
Added proper spelling for the name Elazar.
2016-09-16 13:54:05 -04:00
Christian Heimes
b33b02e1c9
Issue #28181 : Add Kaartic Sivaraam to Misc/ACKS.
2016-09-16 13:50:17 +02:00
Terry Jan Reedy
3dad1a5b82
Merge 3.5 - Issue #15308 : Add 'interrupt execution' (^C) to Shell menu.
...
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:57:25 -04:00
Łukasz Langa
a785c87d6e
DTrace support: function calls, GC activity, line execution
...
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.
Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.
Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection
All of those might be added later.
2016-09-09 17:37:37 -07:00
R David Murray
1319236167
Merge: #14977 : Make mailcap respect the order of the lines in the mailcap file.
2016-09-09 20:09:43 -04:00
R David Murray
347dc95cd3
#14977 : Make mailcap respect the order of the lines in the mailcap file.
...
This is required by RFC 1542, so despite the subtle behavior change we
are treating it as a bug. Patch by Michael Lazar.
2016-09-09 20:04:23 -04:00
Zachary Ware
c45599d0d1
Issue #19489 : Merge with 3.5
2016-09-09 13:15:47 -07:00
Zachary Ware
9b32bda851
Issue #19489 : Add NEWS and ACKS
2016-09-09 13:14:42 -07:00
Guido van Rossum
f530738179
Remove duplicate entry for Ivan L.
2016-09-09 09:09:19 -07:00
Yury Selivanov
f8cb8a16a3
Issue #27985 : Implement PEP 526 -- Syntax for Variable Annotations.
...
Patch by Ivan Levkivskyi.
2016-09-08 20:50:03 -07:00
Senthil Kumaran
32d374215a
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
2016-09-07 00:52:20 -07:00
Ethan Furman
6a137e8d50
add recipes for pseudo-valueless enums
2016-09-07 08:17:15 -07:00
Mark Dickinson
e02bfd0ba0
Add Francisco Couzo to Misc/ACKS (for issue #27427 patch).
2016-09-04 12:31:47 +01:00
Mark Dickinson
7c4e409d07
Issue #11734 : Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens.
2016-09-03 17:21:29 +01:00
Berker Peksag
c7876464e7
Issue #6057 : Merge from 3.5
2016-08-25 00:45:36 +03:00
Berker Peksag
ed789f9cf9
Issue #6057 : Document exceptions in sqlite3 module
...
Patch by Jaysinh Shukla and Stéphane Wirtel.
2016-08-25 00:45:07 +03:00
Martin Panter
3c0d0baf2b
Issue #12319 : Support for chunked encoding of HTTP request bodies
...
When the body object is a file, its size is no longer determined with
fstat(), since that can report the wrong result (e.g. reading from a pipe).
Instead, determine the size using seek(), or fall back to chunked encoding
for unseekable files.
Also, change the logic for detecting text files to check for TextIOBase
inheritance, rather than inspecting the “mode” attribute, which may not
exist (e.g. BytesIO and StringIO). The Content-Length for text files is no
longer determined ahead of time, because the original logic could have been
wrong depending on the codec and newline translation settings.
Patch by Demian Brecht and Rolf Krahl, with a few tweaks by me.
2016-08-24 06:33:33 +00:00
Mark Dickinson
0add84b9b8
Issue #27539 : Merge from 3.5.
2016-08-22 10:56:06 +01:00
Mark Dickinson
844796530a
Issue #27539 : Fix unnormalised Fraction.__pow__ result for negative exponent and base. Thanks Vedran Čačić.
2016-08-22 10:50:53 +01:00
Nick Coghlan
cbcd221de4
Merge #27782 fix from 3.5
2016-08-21 17:43:58 +10:00
Nick Coghlan
8682f578c1
Issue #27782 : Fix m_methods handling in multiphase init
...
Multi-phase extension module import now correctly allows the
``m_methods`` field to be used to add module level functions
to instances of non-module types returned from ``Py_create_mod``.
Patch by Xiang Zhang.
2016-08-21 17:41:56 +10:00
R David Murray
c199603853
Merge: #2466 : ismount now recognizes mount points user can't access.
2016-08-18 21:31:13 -04:00
R David Murray
750018b91a
#2466 : ismount now recognizes mount points user can't access.
...
Patch by Robin Roth, reviewed by Serhiy Storchaka, comment wording
tweaked by me.
2016-08-18 21:27:48 -04:00
Senthil Kumaran
cde03fa038
[merge from 3.5] - Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:51:13 -07:00
Xavier de Gaye
3a32bdfaa7
Issue #27453 : CPP invocation in configure must use CPPFLAGS.
...
Patch by Chi Hsuan Yen.
2016-07-30 11:28:35 +02:00
Nick Coghlan
d78448e912
Issue #27366 : Implement PEP 487
...
- __init_subclass__ called when new subclasses defined
- __set_name__ called when descriptors are part of a
class definition
2016-07-30 16:26:03 +10:00
Martin Panter
4b53359090
Issue #27490 : Merge pgen cross-compile logic from 3.5
2016-07-28 01:30:06 +00:00
Martin Panter
eac67be948
Issue #27490 : Do not build pgen when cross-compiling
...
The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.
Patch by Thomas Perl.
2016-07-28 01:28:27 +00:00
Zachary Ware
de85ed69f4
Closes #25393 : Merge with 3.5
2016-07-19 16:46:09 -05:00
Zachary Ware
48e3f98206
Issue #25393 : Fix probable copy/paste error in resource docs
...
Patch by Alakshendra Yadav.
2016-07-19 16:41:20 -05:00
Brett Cannon
896e87a99c
Merge for #26844
2016-07-15 10:59:11 -07:00
Brett Cannon
f76457e122
Issue #26844 : Fix imp.find_module() to have the exception related to
...
type issues be about 'path' instead of 'name'.
Thanks to Lev Maximov for the patch.
2016-07-15 10:58:54 -07:00
Brett Cannon
fdcdd9ed80
Issue #26896 : Disambiguate uses of "importer" with "finder".
...
Thanks to Oren Milman for the patch.
2016-07-08 11:00:00 -07:00
Brett Cannon
15552c39e0
Issue #27285 : Document the deprecation of the pyvenv script.
...
As part of the update, the documentation was updated to normalize
around the term "virtual environment" instead of relying too heavily
on "venv" for the same meaning and leading to inconsistent usage of
either.
Thanks to Steve Piercy for the patch.
2016-07-08 10:46:21 -07: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
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
Berker Peksag
e0b70cd8a9
Issue #16864 : Cursor.lastrowid now supports REPLACE statement
...
Initial patch by Alex LordThorsen.
2016-06-14 15:25:36 +03: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
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
Martin Panter
40de69ac58
Issue #25738 : Merge HTTP server from 3.5
2016-06-08 09:45:58 +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
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
Ethan Furman
b11c744290
add Dusty Phillips to ACKS
2016-06-04 15:53:08 -07: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
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
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
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