Guido van Rossum
841d9ee41a
Issue #25304 : Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.
2015-10-03 08:31:42 -07:00
Martin Panter
5e84d037bb
Issues #25232 , #24657 : Merge two CGI server fixes from 3.5
2015-10-03 06:43:19 +00:00
Martin Panter
56b76d25dd
Issues #25232 , #24657 : Merge two CGI server fixes from 3.4 into 3.5
2015-10-03 06:03:25 +00:00
Martin Panter
a02e18a43f
Issue #25232 : Fix CGIRequestHandler's splitting of URL query
...
Patch from Xiang Zhang.
2015-10-03 05:38:07 +00:00
Eric V. Smith
6dcada3bcf
Issue #25034 : Merge from 3.5.
2015-09-29 10:30:47 -04:00
Eric V. Smith
ad4003c7fb
Issue #25034 : Merge from 3.4.
2015-09-29 10:30:04 -04:00
Eric V. Smith
85976b14dd
Fixed issue #25034 : Fix string.Formatter problem with auto-numbering
...
and nested format_specs. Patch by Anthon van der Neut.
2015-09-29 10:27:38 -04:00
Andrew Svetlov
038b61fbb5
Merge 3.5 -> default
2015-09-24 14:36:00 +03:00
Andrew Svetlov
1c99e529dd
Merge 3.4 -> 3.5
2015-09-24 14:35:16 +03:00
Andrew Svetlov
74edd3580e
Add Benjamin Hodgson to Misc/ACK
2015-09-24 14:34:07 +03:00
Victor Stinner
996572ca3f
Merge 3.5 (asyncio)
2015-09-21 18:41:46 +02:00
Victor Stinner
7b58a2bb1d
Merge 3.4 (asyncio)
2015-09-21 18:41:05 +02:00
Victor Stinner
5e4a7d8dc7
Issue #23630 , asyncio: host parameter of loop.create_server() can now be a
...
sequence of strings. Patch written by Yann Sionneau.
2015-09-21 18:33:43 +02:00
Martin Panter
b7d276e647
Issue #25176 : Merge cgi.parse_qsl link from 3.5
2015-09-20 01:11:50 +00:00
Martin Panter
926be1b0ec
Issue #25176 : Merge cgi.parse_qsl link from 3.4 into 3.5
2015-09-20 01:07:41 +00:00
Martin Panter
cebfdac32c
Issue #25176 : Correct link for cgi.parse_qsl; patch from Ville Skyttä
2015-09-20 00:28:50 +00:00
Brett Cannon
36df60fe75
Merge for issue #24915
2015-09-18 15:17:37 -07:00
Brett Cannon
7188a3efe0
Issue #24915 : Add Clang support to PGO builds and use the test suite
...
for profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
2015-09-18 15:13:44 -07:00
Ethan Furman
6db1fd5fb8
Close issue24840: Enum._value_ is queried for bool(); original patch by Mike Lundy
2015-09-17 21:49:12 -07:00
Martin Panter
b26cbf9636
Issue #25030 : Merge seek() doc fixes from 3.5
2015-09-11 04:39:42 +00:00
Martin Panter
0e8e78e15d
Issue #25030 : Merge seek() doc fixes from 3.4 into 3.5
2015-09-11 04:39:31 +00:00
Martin Panter
db4220ea09
Issue #25030 : Do not document seek() as if it accepts keyword arguments
...
Patch from Shiyao Ma.
2015-09-11 03:58:30 +00:00
Martin Panter
98b30cb18a
Issue #24984 : Merge 3.5 into 3.6
2015-09-09 06:50:07 +00:00
Martin Panter
24a9bd0d39
Issue #24984 : Merge 3.4 into 3.5
2015-09-09 06:48:55 +00:00
Martin Panter
d1a98587fe
Issue #24984 : Document AF_BLUETOOTH socket address formats
...
Patch from Tim Tisdall.
2015-09-09 06:47:58 +00:00
Serhiy Storchaka
9df7035f5b
Issue #25019 : Fixed a crash caused by setting non-string key of expat parser.
...
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
2015-09-07 22:41:04 +03:00
Serhiy Storchaka
3b1bc7828d
Issue #25019 : Fixed a crash caused by setting non-string key of expat parser.
...
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
2015-09-07 22:38:34 +03:00
Serhiy Storchaka
931331a328
Issue #25019 : Fixed a crash caused by setting non-string key of expat parser.
...
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
2015-09-07 22:37:02 +03:00
Martin Panter
1b8be1fbe5
Issue #25004 : Merge 3.5 into 3.6
2015-09-07 04:07:06 +00:00
Martin Panter
da19767b86
Issue #25004 : Merge 3.4 into 3.5
2015-09-07 04:04:40 +00:00
Martin Panter
e8d58d1f02
Issue #25004 : Handle out-of-disk-space error in LargeMmapTests
...
Patch from John Beck.
2015-09-07 02:57:47 +00:00
Martin Panter
3368eb7c25
Issue #23406 : Merge 3.5 into 3.6
2015-09-07 02:12:08 +00:00
Martin Panter
06dc2fa3f6
Issue #23406 : Merge 3.4 into 3.5
2015-09-07 02:10:59 +00:00
Martin Panter
7f02d6d0d9
Issue #23406 : Clarify documentation on multiplying a sequence
...
Patch from Matheus Vieira Portela.
2015-09-07 02:08:55 +00:00
Victor Stinner
d05f49924d
Merge 3.5 (create_stdio)
2015-09-04 17:30:48 +02:00
Victor Stinner
874dbe895d
Merge 3.4 (create_stdio)
2015-09-04 17:29:57 +02:00
Victor Stinner
6fb5bae252
Fix race condition in create_stdio()
...
Issue #24891 : Fix a race condition at Python startup if the file descriptor
of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set
to None if the creation of the object failed, instead of raising an OSError
exception. Initial patch written by Marco Paolini.
2015-09-04 17:27:49 +02:00
Martin Panter
81174d749a
Issue #24952 : Merge 3.5 into 3.6
2015-08-31 03:26:46 +00:00
Martin Panter
e721b7cb8b
Issue #24952 : Merge 3.4 into 3.5
2015-08-31 03:25:34 +00:00
Martin Panter
31e7f50d4c
Issue #24952 : Clarify default argument of stack_size() in threading, _thread
...
Patch from Mattip.
2015-08-31 03:15:52 +00:00
Martin Panter
ccf426e7e7
Issue #24808 : Merge 3.5 into 3.6
2015-08-25 05:41:51 +00:00
Martin Panter
36f22a2820
Issue #24808 : Merge 3.4 into 3.5; adjust new tp_as_async field
2015-08-25 05:25:21 +00:00
Martin Panter
78d5033337
Issue #24808 : Update the documentation of some PyTypeObject fields
...
Patch by Joseph Weston.
2015-08-25 05:06:39 +00:00
Robert Collins
d949e5b057
Issue #22812 : Fix unittest discovery examples.
...
Patch from Pam McA'Nulty.
2015-08-24 12:15:49 +12:00
Robert Collins
478eadc5f3
Issue #22812 : Fix unittest discovery examples.
...
Patch from Pam McA'Nulty.
2015-08-24 12:15:05 +12:00
Robert Collins
a2b0055396
Issue #22812 : Fix unittest discovery examples.
...
Patch from Pam McA'Nulty.
2015-08-24 12:14:28 +12:00
Robert Collins
f01b16c1fe
Issue #20362 : Honour TestCase.longMessage correctly in assertRegex.
...
Patch from Ilia Kurenkov.
2015-08-20 11:13:38 +12:00
Robert Collins
be6caca534
Issue #20362 : Honour TestCase.longMessage correctly in assertRegex.
...
Patch from Ilia Kurenkov.
2015-08-20 11:13:09 +12:00
Victor Stinner
7a0eadc6d5
(Merge 3.5) cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:23:48 -07:00
Victor Stinner
1e26dc7ef6
(Merge 3.4) cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:23:16 -07:00
Victor Stinner
6579459d4b
cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:21:10 -07:00
Terry Jan Reedy
92491af4e5
Merge with 3.5
2015-08-16 21:55:13 -04:00
Terry Jan Reedy
ac28169696
Merge with 3.4
2015-08-16 21:54:58 -04:00
Terry Jan Reedy
a350e856c3
Issue #23672 : ACKS
2015-08-16 21:54:39 -04:00
Robert Collins
61e767b8fb
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:19:35 +12:00
Robert Collins
5409177b62
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:19:19 +12:00
Robert Collins
9644f2450d
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:18:35 +12:00
R David Murray
587748e271
Merge: #21167 : Fix definition of NAN when ICC used without -fp-model strict.
2015-08-13 10:07:54 -04:00
R David Murray
c77088d055
Merge: #21167 : Fix definition of NAN when ICC used without -fp-model strict.
2015-08-13 10:04:21 -04:00
R David Murray
edbc28ce81
#21167 : Fix definition of NAN when ICC used without -fp-model strict.
...
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-13 09:58:07 -04:00
Nick Coghlan
94b17d7685
Merge issue #24129 from 3.5
2015-08-05 23:24:55 +10:00
Nick Coghlan
73c6f64a5e
Merge issue #24129 from 3.4
2015-08-05 23:23:24 +10:00
Nick Coghlan
91e561aa77
Issue #24129 : Clarify reference docs for name resolution.
...
This includes removing the assumption that readers will be familiar with the
name resolution scheme Python used prior to the introduction of lexical
scoping for function namespaces.
Patch by Ivan Levkivskyi.
2015-08-05 23:07:24 +10:00
Robert Collins
8c81711d6c
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:32:11 +12:00
Robert Collins
b3ca31f5f1
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:28:53 +12:00
Robert Collins
1ae28d2ff3
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:20:53 +12:00
Robert Collins
a5ffba00ab
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:58 +12:00
Robert Collins
1f9a29f31b
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:43 +12:00
Robert Collins
2fee5c9367
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:06 +12:00
Terry Jan Reedy
8efb76fb39
Merge with 3.5
2015-08-01 19:15:28 -04:00
Terry Jan Reedy
dba51b8378
Issue 24745: Add ACKS entry.
2015-08-01 19:15:11 -04:00
Terry Jan Reedy
1c837f4010
Issue 24745: Add ACKS entry.
2015-08-01 19:12:37 -04:00
Terry Jan Reedy
99b80b5072
Merge with 3.5
2015-07-31 22:35:15 -04:00
Terry Jan Reedy
26f667676f
Merge with 3.4
2015-07-31 22:35:00 -04:00
Terry Jan Reedy
231007fe14
Issue #21192 : Idle Editor. When a file is run, put its name in the restart bar.
...
Do not print false prompts. Original patch by Adnan Umer.
2015-07-31 22:34:37 -04:00
Robert Collins
354b6e50bb
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:20:04 +12:00
Robert Collins
19fae1a932
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:19:06 +12:00
Robert Collins
2080dc97a7
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:18:22 +12:00
Robert Collins
2808e441c5
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 09:02:09 +12:00
Robert Collins
78378e8939
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 09:01:38 +12:00
Robert Collins
5ccc18f298
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 08:59:02 +12:00
Victor Stinner
e625e7c793
Merge 3.5 (Misc/ACKS)
2015-07-29 14:41:02 +02:00
Victor Stinner
991d1d3e4a
Merge 3.4 (Misc/ACKS)
2015-07-29 14:40:53 +02:00
Victor Stinner
111803c038
Issue #23319 : Add Matthieu Gautier to Misc/ACKS
2015-07-29 14:40:38 +02:00
Robert Collins
3e1770f5f3
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:46:42 +12:00
Robert Collins
f66f4208b7
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:42:54 +12:00
Robert Collins
ddc7440b0e
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:42:01 +12:00
Robert Collins
8b73e6197e
Issue #22153 : Improve unittest docs. Patch from Martin Panter and evilzero.
2015-07-23 06:40:13 +12:00
Robert Collins
38de40db00
Issue #22153 : Improve unittest docs. Patch from Martin Panter and evilzero.
2015-07-23 06:39:06 +12:00
Robert Collins
e02f6c20ff
Issue #22153 : Improve unittest docs. Patch from Martin Panter and evilzero.
2015-07-23 06:37:26 +12:00
Robert Collins
a7282c0ff7
- Issue #18622 : unittest.mock.mock_open().reset_mock would recurse infinitely.
...
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:51:22 +12:00
Robert Collins
76d508b5d4
- Issue #18622 : unittest.mock.mock_open().reset_mock would recurse infinitely.
...
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:49:43 +12:00
Robert Collins
b37f43f94b
- Issue #18622 : unittest.mock.mock_open().reset_mock would recurse infinitely.
...
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:42:28 +12:00
Robert Collins
f58f88c4c7
Issue #23661 : unittest.mock side_effects can now be exceptions again.
...
This was a regression vs Python 3.4. Patch from Ignacio Rossi
2015-07-14 13:51:40 +12:00
Robert Collins
a3fffb0539
Issue #23661 : unittest.mock side_effects can now be exceptions again.
...
This was a regression vs Python 3.4. Patch from Ignacio Rossi
2015-07-14 13:51:40 +12:00
Charles-François Natali
dc87e4b885
Issue #23530 : Improve os.cpu_count() description.
...
Patch by Julian Taylor.
2015-07-13 21:01:39 +01:00
Nick Coghlan
d5cacbb1d9
PEP 489: Multi-phase extension module initialization
...
Known limitations of the current implementation:
- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet
The leak is most visible by running:
./python -m test -R3:3 test_importlib
However, you can also see it by running:
./python -X showrefcount
Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
2015-05-23 22:24:10 +10:00
Raymond Hettinger
ec219ba1c0
Issue #23086 : Add start and stop arguments to the Sequence.index() mixin method.
2015-05-22 19:29:22 -07:00
Serhiy Storchaka
041dd8eef1
Issue #15836 : assertRaises(), assertRaisesRegex(), assertWarns() and
...
assertWarnsRegex() assertments now check the type of the first argument
to prevent possible user error. Based on patch by Daniel Wagner-Hall.
2015-05-21 20:15:40 +03:00
Antoine Pitrou
45d6156154
Issue #9858 : Add missing method stubs to _io.RawIOBase. Patch by Laura Rupprecht.
2015-05-20 21:50:59 +02:00
R David Murray
b744f3a45e
#21083 : add get_content_disposition method to email.message.
...
Patch by Abhilash Raj.
2015-05-16 15:41:07 -04:00
Benjamin Peterson
025e9ebd0a
PEP 448: additional unpacking generalizations ( closes #2292 )
...
Patch by Neil Girdhar.
2015-05-05 20:16:41 -04:00
Serhiy Storchaka
24559e4834
Issue #22619 : Added negative limit support in the traceback module.
...
Based on patch by Dmitry Kazakov.
2015-05-03 13:19:46 +03:00
Gregory P. Smith
8cb6569fe1
Implements issue #9951 : Adds a hex() method to bytes, bytearray, & memoryview.
...
Also updates a few internal implementations of the same thing to use the
new built-in code.
Contributed by Arnon Yaari.
2015-04-25 23:22:26 +00:00
R David Murray
0c49b896e6
#16914 : add timestamps to smtplib debugging output via new debuglevel 2.
...
Patch by Gavin Chappell and Maciej Szulik.
2015-04-16 17:14:42 -04:00
R David Murray
4c7f995e80
#7159 : generalize urllib prior auth support.
...
This fix is a superset of the functionality introduced by the issue #19494
enhancement, and supersedes that fix. Instead of a new handler, we have a new
password manager that tracks whether we should send the auth for a given uri.
This allows us to say "always send", satisfying #19494 , or track that we've
succeeded in auth and send the creds right away on every *subsequent* request.
The support for using the password manager is added to AbstractBasicAuth,
which means the proxy handler also now can handle prior auth if passed
the new password manager.
Patch by Akshit Khurana, docs mostly by me.
2015-04-16 16:36:18 -04:00
R David Murray
2b78129b3a
#18128 : use standard +NNNN timezone format in POT-Creation-Date header.
...
Patch by Michael McFadden, with a few small style tweaks.
2015-04-16 12:15:09 -04:00
Eric V. Smith
7a80389ce5
Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and tarfile.TarFile.extractall().
2015-04-15 10:27:58 -04:00
Benjamin Peterson
28edf12cd4
add Allison Kaptur ( #21217 )
2015-04-15 00:00:41 -04:00
Antoine Pitrou
a8723a02ea
Issue #21217 : inspect.getsourcelines() now tries to compute the start and
...
end lines from the code object, fixing an issue when a lambda function is
used as decorator argument. Patch by Thomas Ballinger.
2015-04-15 00:41:29 +02:00
Łukasz Langa
e91ecb2b34
Merge 3.4 ( #23310 )
2015-04-14 00:15:42 -07:00
Łukasz Langa
5f6684efe0
Issue #23310 : Fix MagicMock's initializer to work with __methods__.
...
Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim.
2015-04-14 00:12:57 -07:00
Łukasz Langa
a468db9b0b
Issue #23310 : Fix MagicMock's initializer to work with __methods__.
...
Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim.
2015-04-13 23:12:42 -07:00
R David Murray
0a8f43e85a
#11754 : test contents of string module attributes.
...
As noted in the comment, while the order of the items in the attributes is not
technically guaranteed, after all this time there is almost certainly user
code out there that relies on it, so we might as well test for it.
Patch by Chalmer Lowe.
2015-04-13 20:04:29 -04:00
Larry Hastings
a6cc551502
Issue #22631 : Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
...
Patch courtesy of Joe Jevnik.
2015-04-13 17:48:40 -04:00
Antoine Pitrou
d5aec7ba48
Issue #21116 : Avoid blowing memory when allocating a multiprocessing shared
...
array that's larger than 50% of the available RAM.
Patch by Médéric Boquien.
2015-04-13 20:53:43 +02:00
Zachary Ware
0b1e4f1427
Merge with 3.4
2015-04-13 11:08:55 -05:00
Zachary Ware
bb5dbf840c
Attribute Michael Dorman for his initial patch on issue #18402 .
2015-04-13 11:07:35 -05:00
Serhiy Storchaka
4faf5c5655
Issue #23985 : Fixed integer overflow in iterator object. Patch by
...
Clement Rouault.
2015-05-21 20:50:25 +03:00
Serhiy Storchaka
f8aa133cce
Issue #23338 : Fixed formatting ctypes error messages on Cygwin.
...
Patch by Makoto Kato.
2015-04-04 10:06:58 +03:00
Serhiy Storchaka
2e229e025c
Issue #23338 : Fixed formatting ctypes error messages on Cygwin.
...
Patch by Makoto Kato.
2015-04-04 10:05:48 +03:00
Ezio Melotti
2e3998fae0
#11468 : improve unittest basic example. Initial patch by Florian Preinstorfer.
2015-03-24 12:42:41 +02:00
Victor Stinner
19276f184f
Issue #23654 : Fix faulthandler._stack_overflow() for the Intel C Compiler (ICC)
...
Issue #23654 : Turn off ICC's tail call optimization for the stack_overflow
generator. ICC turns the recursive tail call into a loop.
Patch written by Matt Frank.
2015-03-23 21:20:27 +01:00
R David Murray
beed8402ca
#23539 : Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
...
Some http servers will reject PUT, POST, and PATCH requests if they
do not have a Content-Length header.
Patch by James Rutherford, with additional cleaning up of the
'request' documentation by me.
2015-03-22 15:18:23 -04:00
Ezio Melotti
0f05cea057
#11468 : merge with 3.4.
2015-03-24 12:52:13 +02:00
Victor Stinner
d1f3a002c3
Merge 3.4 (faulthandler ICC)
2015-03-23 21:21:00 +01:00
R David Murray
0a0d20edfb
Merge: #23539 : Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
2015-03-22 15:19:01 -04:00
Serhiy Storchaka
79fbeee237
Issue #23051 : multiprocessing.Pool methods imap() and imap_unordered() now
...
handle exceptions raised by an iterator. Patch by Alon Diamant and Davin
Potts.
2015-03-13 08:25:26 +02:00
Serhiy Storchaka
63623ac252
Issue #23051 : multiprocessing.Pool methods imap() and imap_unordered() now
...
handle exceptions raised by an iterator. Patch by Alon Diamant and Davin
Potts.
2015-03-13 08:30:33 +02:00
Serhiy Storchaka
c775ad615a
Issue #23192 : Fixed generator lambdas. Patch by Bruno Cauet.
2015-03-11 18:20:35 +02:00
Serhiy Storchaka
1c205518a3
Issue #19980 : Improved help() for non-recognized strings. help('') now
...
shows the help on str. help('help') now shows the help on help().
Original patch by Mark Lawrence.
2015-03-01 00:42:54 +02:00
Victor Stinner
69899e6f3f
Merge 3.4 (httplib)
2015-02-27 17:47:40 +01:00
Victor Stinner
b389b48265
Issue #23526 : Fix ResourceWarning in test_httplib. Patch written by Alex Shkop.
2015-02-27 17:47:23 +01:00
Benjamin Peterson
77c041ba64
merge 3.4 ( #21548 )
2015-02-16 19:45:42 -05:00
Benjamin Peterson
54237f9fea
fix pydoc.apropos and pydoc.synopsis on modules with empty docstrings ( #21548 )
...
Patch by Yuyang Guo and Berker Peksag.
2015-02-16 19:45:01 -05:00
Benjamin Peterson
6c62ac1a01
merge 3.4 ( #22735 )
2015-02-05 22:29:46 -05:00
Benjamin Peterson
104b9e0cca
fix many custom mro() edge cases and improve code quality ( #22735 )
...
Patch by Eldar Abusalimov.
2015-02-05 22:29:14 -05:00
Victor Stinner
29dacf2e97
Issue #15859 : PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and
...
PyUnicode_EncodeCodePage() now raise an exception if the object is not an
Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on
platforms other than Windows. Patch written by Campbell Barton.
2015-01-26 16:41:32 +01:00
Ned Deily
140fc9f501
Issue #23180 : merge from 3.4
2015-01-17 21:09:16 -08:00
Ned Deily
ccb416fee2
Issue #23180 : Rename IDLE "Windows" menu item to "Window".
...
Patch by Al Sweigart.
2015-01-17 21:06:27 -08:00
Benjamin Peterson
610bc6a211
merge 3.4 ( #23221 )
2015-01-13 09:20:31 -05:00
Benjamin Peterson
82f34ada45
fix instances of consecutive articles ( closes #23221 )
...
Patch by Karan Goel.
2015-01-13 09:17:24 -05:00
Antoine Pitrou
17cba7daf5
Issue #19777 : Provide a home() classmethod on Path objects.
...
Contributed by Victor Salgado and Mayank Tripathi.
2015-01-12 21:03:41 +01:00
Antoine Pitrou
dc3eaa80d4
Issue #23206 : Make ``json.dumps(..., ensure_ascii=False)`` as fast as the default case of ``ensure_ascii=True``. Patch by Naoki Inada.
2015-01-11 16:41:01 +01:00
Victor Stinner
4f5366e65a
Issue #22038 : pyatomic.h now uses stdatomic.h or GCC built-in functions for
...
atomic memory access if available. Patch written by Vitor de Lima and Gustavo
Temple.
2015-01-09 02:13:19 +01:00
Victor Stinner
e7182979d6
Closes #22348 : Rephrase asyncio.StreamWriter.drain() documentation
...
Patch written by Martin Richard.
2014-11-28 17:45:41 +01:00
Serhiy Storchaka
ac4aa7b6aa
Issue #22902 : The "ip" command is now used on Linux to determine MAC address
...
in uuid.getnode(). Pach by Bruno Cauet.
2014-11-30 20:39:04 +02:00
Victor Stinner
79d784ab7b
(Merge 3.4) Closes #22348 : Rephrase asyncio.StreamWriter.drain() documentation
...
Patch written by Martin Richard.
2014-11-28 17:46:05 +01:00
Serhiy Storchaka
2cb0e73a89
Issue #22775 : Fixed unpickling of http.cookies.SimpleCookie with protocol 2
...
and above. Patch by Tim Graham.
2014-11-02 22:19:56 +02:00
Serhiy Storchaka
8cf7c1cff0
Issue #22775 : Fixed unpickling of http.cookies.SimpleCookie with protocol 2
...
and above. Patch by Tim Graham.
2014-11-02 22:18:25 +02:00
Ezio Melotti
6e2db04345
#22751 : merge with 3.4.
2014-11-02 19:14:54 +02:00
Ezio Melotti
8b23f5cc7a
#22751 : fix test___all__ warning about modified environment in the tests. Patch by Michael Cetrulo.
2014-11-02 19:08:35 +02:00
Berker Peksag
8f791d358b
Issue #6623 : Remove deprecated Netrc class in the ftplib module.
...
Patch by Matt Chaput.
2014-11-01 10:45:57 +02:00
Antoine Pitrou
be8d06f523
Issue #18216 : gettext now raises an error when a .mo file has an unsupported major version number. Patch by Aaron Hill.
2014-10-28 20:17:51 +01:00
Ezio Melotti
788f2adeae
#22196 : link to Enum in the nametuple documentation. Patch by Karmen Dykstra.
2014-10-28 15:07:14 +01:00
Ezio Melotti
993c782565
#22196 : link to Enum in the nametuple documentation. Patch by Karmen Dykstra.
2014-10-28 15:07:14 +01:00
Ezio Melotti
85f16bf5e5
#22237 : merge patch attribution fix.
2014-10-28 13:59:01 +01:00
Ezio Melotti
670e8ff06c
#22237 : fix patch attribution.
2014-10-28 13:58:36 +01:00
Zachary Ware
b6f8fec80b
Issue #22261 : Add a note to PCbuild\readme.txt about MSBuild switches.
...
Specifically, that they can be passed at the end of a build.bat invocation.
Initial patch by Shorya Raj.
2014-10-25 22:57:05 -05:00
Terry Jan Reedy
439da843e4
Merge with 3.4
2014-10-10 16:53:56 -04:00
Terry Jan Reedy
64138c438c
Issue 22603: add Francisco Fernández Castaño to ACKS.
2014-10-10 16:53:41 -04:00
Antoine Pitrou
9bf2c00360
Add Dan O'Reilly to Misc/ACKS
2014-10-05 02:35:46 +02:00
Antoine Pitrou
5f6a7556bf
Issue #21905 : Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
...
Patch by Olivier Grisel.
2014-10-04 22:17:26 +02:00
Antoine Pitrou
e1618491ad
Issue #21905 : Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
...
Patch by Olivier Grisel.
2014-10-04 22:15:27 +02:00
Alexander Belopolsky
6c7a4182f5
Closes issue #20858 : Enhancements/fixes to pure-python datetime module
...
This patch brings the pure-python datetime more in-line with the C
module. Patch contributed by Brian Kearns, a PyPy developer. PyPy
project has been running these modifications in PyPy2 stdlib.
This commit includes:
- General PEP8/cleanups;
- Better testing of argument types passed to constructors;
- Removal of duplicate operations;
- Optimization of timedelta creation;
- Caching the result of __hash__ like the C accelerator;
- Enhancements/bug fixes in tests.
2014-09-28 19:11:56 -04:00
Benjamin Peterson
a2f93885b0
merge 3.4 ( #22379 )
2014-09-28 12:57:22 -04:00
Benjamin Peterson
c31f12d196
check that exception messages are not empty ( #22379 )
...
Patch by Yongzhi Pan.
2014-09-28 12:56:42 -04:00
R David Murray
3a54c3e3aa
Merge: #10510 : make distuitls upload/register use HTML standards compliant CRLF.
2014-09-27 16:57:51 -04:00
R David Murray
9ce69672f3
#10510 : make distuitls upload/register use HTML standards compliant CRLF.
...
Patch by Ian Cordasco, approved by Éric Araujo.
2014-09-27 16:56:15 -04:00
Berker Peksag
a72bc8c3cf
Issue #16537 : Check whether self.extensions is empty in setup.py.
...
Patch by Jonathan Hosmer.
2014-09-27 22:39:38 +03:00
Berker Peksag
21c8d5c7d9
Issue #16537 : Check whether self.extensions is empty in setup.py.
...
Patch by Jonathan Hosmer.
2014-09-27 22:37:15 +03:00
Berker Peksag
fe21e4d4d7
Issue #16324 : _charset parameter of MIMEText now also accepts email.charset.Charset instances.
...
Initial patch by Claude Paroz.
2014-09-27 00:57:29 +03:00
Berker Peksag
4f6355f861
Issue #17462 : Add a paragraph about advantages of argparse over optparse.
...
Patch by Anastasia Filatova.
2014-09-26 15:35:02 +03:00
Berker Peksag
6c1f0ad665
Issue #17462 : Add a paragraph about advantages of argparse over optparse.
...
Patch by Anastasia Filatova.
2014-09-26 15:34:26 +03:00
Berker Peksag
43705d76aa
Issue #21860 : Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
...
Patch by Terry Chia.
2014-09-24 12:44:06 +03:00
Berker Peksag
b87630c273
Issue #21860 : Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
...
Patch by Terry Chia.
2014-09-24 12:43:29 +03:00
Benjamin Peterson
21df71ae8e
merge 3.4 ( #22459 )
2014-09-22 22:44:21 -04:00
Benjamin Peterson
eb83ffe1b3
fix error in split() examples ( closes #22459 )
...
Patch by Raúl Cumplido.
2014-09-22 22:43:50 -04:00
Senthil Kumaran
dc41440401
Merge from 3.4
...
Issue #22419 : Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:32:46 +08:00
Senthil Kumaran
86c9e1877c
Merge from 3.3
...
Issue #22419 : Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:31:47 +08:00
Senthil Kumaran
e025b52db0
Issue #22419 : Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:29:29 +08:00
Antoine Pitrou
0d54887326
Lax cookie parsing in http.cookies could be a security issue when combined
...
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
2014-09-17 00:27:26 +02:00
Antoine Pitrou
637e4544af
Lax cookie parsing in http.cookies could be a security issue when combined
...
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
2014-09-17 00:25:57 +02:00
Antoine Pitrou
7d0b8f95e7
Lax cookie parsing in http.cookies could be a security issue when combined
...
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
2014-09-17 00:23:55 +02:00
Serhiy Storchaka
91453026ff
Issue #19524 : Fixed resource leak in the HTTP connection when an invalid
...
response is received. Patch by Martin Panter.
2014-09-06 21:43:49 +03:00
Serhiy Storchaka
f54c350160
Issue #19524 : Fixed resource leak in the HTTP connection when an invalid
...
response is received. Patch by Martin Panter.
2014-09-06 21:41:39 +03:00
Antoine Pitrou
fa9211b11d
Issue #22185 : Fix an occasional RuntimeError in threading.Condition.wait() caused by mutation of the waiters queue without holding the lock.
...
Patch by Doug Zongker.
2014-08-29 23:27:33 +02:00
Antoine Pitrou
a64b92edd3
Issue #22185 : Fix an occasional RuntimeError in threading.Condition.wait() caused by mutation of the waiters queue without holding the lock.
...
Patch by Doug Zongker.
2014-08-29 23:26:36 +02:00
Antoine Pitrou
ef3b9ed0ac
Issue #2527 : Add a *globals* argument to timeit functions, in order to override the globals namespace in which the timed code is executed.
...
Patch by Ben Roberts.
2014-08-22 23:13:50 -04:00
Brett Cannon
145759c892
Merge for issue #22191 fix
2014-08-22 10:46:07 -04:00
Brett Cannon
14ad5319d9
Issue #22191 : Fix warnings.__all__.
...
Thanks to Jon Poler for the patch.
2014-08-22 10:44:47 -04:00
Berker Peksag
3714ab4c27
Issue #21445 : Pass exception messages correctly to assertTrue in
...
the FileCompareTestCase.test_matching test.
Patch by Steven Barker.
2014-08-14 08:35:15 +03:00
Berker Peksag
143fe05da1
Issue #21445 : Pass exception messages correctly to assertTrue in
...
the FileCompareTestCase.test_matching test.
Patch by Steven Barker.
2014-08-14 08:34:32 +03:00
Raymond Hettinger
ac191ce1d3
Issue #22174 : Clean-up grammar and ambiguities in property() docs.
2014-08-10 10:41:25 -07:00
Raymond Hettinger
ed16b2e5ab
merge
2014-08-10 10:41:52 -07:00
Antoine Pitrou
b349e4c929
Issue #22116 : C functions and methods (of the 'builtin_function_or_method' type) can now be weakref'ed. Patch by Wei Wu.
2014-08-06 19:31:40 -04:00
Ezio Melotti
48b8e4afd1
#18034 : merge with 3.4.
2014-08-04 19:34:57 +03:00
Ezio Melotti
e4aad5ab32
#18034 : update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst.
2014-08-04 19:34:29 +03:00
Ezio Melotti
c734c387de
#20977 : merge with 3.4.
2014-08-04 17:17:21 +03:00
Ezio Melotti
d577480197
#20977 : fix undefined name in the email module. Patch by Rose Ames.
2014-08-04 17:16:49 +03:00