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
Zachary Ware
cb09dcacab
Issue #21907 : Further improvments to build_pgo.bat. Patch by Ingolf Becker.
2014-07-31 23:48:45 -05:00
Antoine Pitrou
cc66a73d27
Issue #22003 : When initialized from a bytes object, io.BytesIO() now
...
defers making a copy until it is mutated, improving performance and
memory use on some use cases.
Patch by David Wilson.
2014-07-29 19:41:11 -04:00
Ezio Melotti
6aa4269ed2
#21704 : merge with 3.4.
2014-07-29 17:36:20 +03:00
Ezio Melotti
8a0fb2c5ca
#21704 : remove duplicate name in Misc/ACKS.
2014-07-29 17:35:46 +03:00
Richard Oudkerk
c3fc341c35
Issue #21704 : Merge.
2014-07-28 23:13:58 +01:00
Richard Oudkerk
e0e65817e5
Issue #21704 : Fix build error for _multiprocessing when semaphores
...
are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
2014-07-28 23:01:02 +01:00
Raymond Hettinger
a22d8231a3
merge
2014-07-25 15:00:30 -07:00
Raymond Hettinger
5a2146a2fd
Issue #22044 : Fixed premature DECREF in call_tzinfo_method.
2014-07-25 14:59:48 -07:00
Nick Coghlan
efd5df9e52
Issue #21947 : handle generator-iterator objects in dis
...
Patch by Clement Rouault.
2014-07-25 23:02:56 +10:00
Terry Jan Reedy
22084fc8ba
Merge with 3.4
2014-07-23 15:01:29 -04:00
Terry Jan Reedy
b03f0422c5
Issue #21597 : Turtledemo text pane can now be widened to view or copy complete
...
lines or narrowed for small screens.
Issie #19132 : Turtledemo buttons no longer disappear when window is shrun.
Patch mostly by Lita Cho (21597) using idea from patch by Jan Kanis (18132).
2014-07-23 15:01:12 -04:00
Serhiy Storchaka
f1062762f2
Correct issue #21044 patch author.
2014-07-23 18:42:09 +03:00
Serhiy Storchaka
64a1207280
Correct issue #21044 patch author.
2014-07-23 18:41:21 +03:00
Antoine Pitrou
26408df88f
Issue #21976 : Fix test_ssl to accept LibreSSL version strings.
...
Thanks to William Orr.
2014-07-21 18:37:36 -04:00
Antoine Pitrou
dfab935c74
Issue #21976 : Fix test_ssl to accept LibreSSL version strings.
...
Thanks to William Orr.
2014-07-21 18:35:01 -04:00
Serhiy Storchaka
a98faefd68
Issue 21044: tarfile.open() now handles fileobj with an integer 'name'
...
attribute. Based on patch by Martin Panter.
2014-07-17 00:00:26 +03:00
Serhiy Storchaka
2c6a3aedeb
Issue 21044: tarfile.open() now handles fileobj with an integer 'name'
...
attribute. Based on patch by Martin Panter.
2014-07-16 23:58:58 +03:00
Ned Deily
55966193f2
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:20:15 -07:00
Ned Deily
5d0d2e6ed6
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:16:56 -07:00
Ned Deily
217f4cd7ee
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:12:39 -07:00
Ned Deily
915a30fb0d
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:06:26 -07:00
Berker Peksag
1c5f56a955
Issue #9554 : Use modern unittest features in test_argparse.
...
Initial patch by Denver Coneybeare and Radu Voicilas.
2014-07-06 09:33:20 +03:00
Raymond Hettinger
a157867a3d
merge
2014-06-26 09:25:41 -07:00
Raymond Hettinger
19454563d8
Issue #19145 : Remove duplicate ACKS entry
2014-06-26 09:25:18 -07:00
Raymond Hettinger
ee205dc7d8
merge
2014-06-24 21:39:27 -07:00
Raymond Hettinger
97d3555029
Issue #19145 : Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
...
(Patch contributed by Vajrasky Kok.)
2014-06-24 21:36:58 -07:00
R David Murray
24a3c72638
merge: #20155 : use fake HTTP method names so windows doesn't hang the tests.
2014-06-24 16:49:04 -04:00
R David Murray
14199f9392
#20155 : use fake HTTP method names so windows doesn't hang the tests.
...
Windows was seeing the 'GET' generated by these tests as invalid and forcibly
closing the socket, causing the test to fail.
Patch by Jeff Allen.
2014-06-24 16:39:49 -04:00
Raymond Hettinger
c03dc0f164
merge
2014-06-24 13:03:54 -07:00
Raymond Hettinger
4c945fe9e9
merge
2014-06-24 13:03:24 -07:00
Benjamin Peterson
f5c5175b47
merge 3.4
2014-06-23 20:16:06 -07:00
Benjamin Peterson
17f9b64c63
add Chris Foster
2014-06-23 20:14:46 -07:00
Raymond Hettinger
04ba0bb80c
Issue #11974 : Add tutorial section on class and instance variables
...
(Based on a patch from Renee Chu.)
2014-06-23 18:08:01 -07:00
Raymond Hettinger
47d1e2858e
merge
2014-06-22 01:23:55 -07:00
Raymond Hettinger
6dec4eae53
Issue #21812 : Trigger immediate transformation in turtle.shapetransform().
2014-06-22 01:21:51 -07:00
Zachary Ware
63f277b694
Issue #21741 : Add st_file_attributes to os.stat_result on Windows.
...
Patch by Ben Hoyt.
2014-06-19 09:46:37 -05:00
Antoine Pitrou
41dcf35c26
Issue #21722 : The distutils "upload" command now exits with a non-zero return code when uploading fails.
...
Patch by Martin Dengler.
2014-06-18 23:09:11 -04:00
Antoine Pitrou
2e4d3b133a
Issue #21722 : The distutils "upload" command now exits with a non-zero return code when uploading fails.
...
Patch by Martin Dengler.
2014-06-18 23:07:46 -04:00
Benjamin Peterson
d5d4ef3f18
merge 3.4
2014-06-17 09:45:20 -07:00
Benjamin Peterson
67fbed5d29
add Ammar Brohi for running ssllab's test on python.org and reporting a problem
2014-06-17 09:44:55 -07:00
Benjamin Peterson
66f80e92c3
merge 3.4 ( #12063 )
2014-06-07 17:55:53 -07:00
Benjamin Peterson
96e0430dfb
document TokenError and unclosed expression behavior ( closes #12063 )
...
Patch by Amandine Lee.
2014-06-07 17:47:41 -07:00
Benjamin Peterson
edb07d28fb
merge 3.4 ( #21463 )
2014-06-07 15:09:36 -07:00
Benjamin Peterson
3c2dca67ac
in ftp cache pruning, avoid changing the size of a dict while iterating over it ( closes #21463 )
...
Patch by Skyler Leigh Amador.
2014-06-07 15:08:04 -07:00
Benjamin Peterson
33919e8423
merge 3.4 ( #21404 )
2014-06-07 12:48:09 -07:00
Benjamin Peterson
9b2731bfdd
document the compress_level argument to tarfile.open ( closes #21404 )
...
Patch by Katherine Busch.
2014-06-07 12:45:37 -07:00
Terry Jan Reedy
15ec11e4e3
Merge with 3.4
2014-06-02 20:43:13 -04:00
Terry Jan Reedy
b52f876767
Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.
2014-06-02 20:42:56 -04:00
Raymond Hettinger
07e048519b
Issue 21575: Show list.sort() arguments in the tutorial.
2014-05-26 18:44:04 -07:00
Raymond Hettinger
2d452ee166
Issue 15246: Improve test coverage for collections.abc.Set. (Contributed by James King).
2014-05-25 18:28:39 -07:00
Serhiy Storchaka
2f8dca735e
Issue #20197 : Added support for the WebP image type in the imghdr module.
...
Patch by Fabrice Aneche and Claudiu Popa.
2014-05-25 11:45:37 +03:00
Antoine Pitrou
40f6b121c5
Issue #21555 : simplify code in gcmodule.c by using the pytime.h functions instead of trying to call time.time() via the C API.
...
Patch by Geoffrey Spear.
2014-05-24 19:21:53 +02:00
Terry Jan Reedy
a52ecc0a02
Merge with 3.4
2014-05-23 00:34:38 -04:00
Terry Jan Reedy
e17de09101
Issue #21545 : Add .pop example and tweak comment about pure mutation methods.
...
Patch prepared by David Harrigan.
2014-05-23 00:34:12 -04:00
Victor Stinner
fcbeab57d0
Issue #21488 : Oops, the patch for codecs.encode/decode doc was written by
...
Berker Peksag (already present in Misc/ACKS). The issue was reported by Brad
Aylsworth.
2014-05-14 23:29:38 +02:00
Serhiy Storchaka
b9183bb4fd
Issue #21075 : fileinput.FileInput now reads bytes from standard stream if
...
binary mode is specified. Patch by Sam Kimbrel.
2014-05-14 21:11:08 +03:00
Serhiy Storchaka
946cfc3e23
Issue #21075 : fileinput.FileInput now reads bytes from standard stream if
...
binary mode is specified. Patch by Sam Kimbrel.
2014-05-14 21:08:33 +03:00
Victor Stinner
ef5b4e3dc3
Issue #21488 : Fix doc of codecs.decode() and codecs.encode(), no keyword support.
...
Patch written by Brad Aylsworth.
2014-05-14 17:08:45 +02:00
Antoine Pitrou
c644e7c39f
Issue #21396 : Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.
...
Patch by akira.
2014-05-09 00:24:50 +02:00
Tim Golden
8c9f480e9c
Issue18314 ACKS & NEWS
2014-05-05 20:59:50 +01:00
Benjamin Peterson
5c2ac8c1c6
setup.py: report modules which built but import failed ( closes #21282 )
...
Patch by Lukas Vacek.
2014-04-30 11:06:16 -04:00
Antoine Pitrou
32497f89bb
Issue #21321 : itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
...
Patch by Anton Afanasyev.
2014-04-29 12:14:47 +02:00
Antoine Pitrou
26f82efe59
Issue #21321 : itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
...
Patch by Anton Afanasyev.
2014-04-29 12:13:46 +02:00
Terry Jan Reedy
c763807d9b
Merge with 3.4
2014-04-29 00:32:17 -04:00
Terry Jan Reedy
43e7cd38e5
Issue #21026 : Augment site doc based on experiments. Patch by Carol Willing.
2014-04-29 00:31:53 -04:00
Antoine Pitrou
05da1ef40a
Issue #18727 : improve test coverage of the csv module by testing for DictWriter.writerows.
...
Patch by Muhammad Jehanzeb.
2014-04-29 01:58:06 +02:00
Antoine Pitrou
285a163a4c
Issue #21312 : Update the thread_foobar.h template file to include newer threading APIs. Patch by Jack McCracken.
2014-04-28 21:12:11 +02:00
Antoine Pitrou
c695c95626
Issue #19940 : ssl.cert_time_to_seconds() now interprets the given time string in the UTC timezone (as specified in RFC 5280), not the local timezone.
...
Patch by Akira.
2014-04-28 20:57:36 +02:00
Tim Golden
fbf963c064
Backed out changeset: 17df50df62c7
2014-04-27 18:35:36 +01:00
Tim Golden
4675d798bf
Issue #18314 os.unlink will now remove junction points on Windows. Patch by Kim Gräsman.
2014-04-27 18:00:10 +01:00
Antoine Pitrou
711ee2512e
Issue #21127 : Path objects can now be instantiated from str subclass instances (such as numpy.str_).
...
Thanks to Antony Lee for the report and preliminary patch.
2014-04-23 00:34:51 +02:00
Antoine Pitrou
cb5ec77d33
Issue #21127 : Path objects can now be instantiated from str subclass instances (such as numpy.str_).
...
Thanks to Antony Lee for the report and preliminary patch.
2014-04-23 00:34:15 +02:00
R David Murray
4eef074e4c
Merge: #12220 : improve minidom error when URI contains spaces.
2014-04-20 00:48:25 -04:00
R David Murray
9077d24d7f
#12220 : improve minidom error when URI contains spaces.
...
Fix by 'amathew', test by Marek Stepniowski.
2014-04-20 00:46:05 -04:00
Ned Deily
6d17235746
Issue #21311 : merge with 3.4
2014-04-19 13:27:06 -07:00
Ned Deily
f31b478208
Issue #21311 : Avoid exception in _osx_support with non-standard compiler
...
configurations. Patch by John Szakmeister.
2014-04-19 13:25:29 -07:00
Zachary Ware
dee46b370e
Merge with 3.4
2014-04-18 15:45:02 -05:00
Zachary Ware
a37ff0fb80
Issue #21289 : Fix documentation building on Windows using Doc/make.bat.
...
Also fixes a long-standing typo in Doc/README.txt.
Initial patch by Dave Sawyer.
2014-04-18 15:10:40 -05:00
Terry Jan Reedy
6ac4240b6c
Issue #18566 : Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.
2014-04-15 23:38:18 -04:00
Terry Jan Reedy
62e582cdb4
Merge with 3.4
2014-04-15 23:38:44 -04:00