Commit graph

97420 commits

Author SHA1 Message Date
Benjamin Peterson
8e16351545 allow test to work on implementations not using ref-counting (closes #22265) 2014-08-24 18:07:28 -05:00
Benjamin Peterson
d475731c54 merge 3.4 (#22267) 2014-08-24 18:04:25 -05:00
Benjamin Peterson
18bb702182 fix some test_weakref tests to not rely on ref-counting (closes #22267) 2014-08-24 18:02:15 -05:00
Antoine Pitrou
cdcafb78b2 Issue #16808: inspect.stack() now returns a named tuple instead of a tuple.
Patch by Daniel Shahaf.
2014-08-24 10:50:28 -04:00
Serhiy Storchaka
1fa36268cf Issue #22034: Improve handling of wrong argument types in posixpath.join(). 2014-08-24 12:23:36 +03:00
Serhiy Storchaka
549c1972f2 Issue #22034: Got rid of misleading error message for bytearray arguments in
posixpath.join().
2014-08-24 12:18:09 +03:00
Serhiy Storchaka
66106626ed Issue #22236: Tkinter tests now don't reuse default root window. New root
window is created for every test class.

Fixed Tkinter images copying operations in NoDefaultRoot mode.

Tcl command names generated for "after" callbacks now contains a name of
original function.
2014-08-24 09:10:58 +03:00
Serhiy Storchaka
d00aff2f62 Issue #22236: Tkinter tests now don't reuse default root window. New root
window is created for every test class.

Fixed Tkinter images copying operations in NoDefaultRoot mode.

Tcl command names generated for "after" callbacks now contains a name of
original function.
2014-08-24 09:07:47 +03:00
Terry Jan Reedy
fa6e73bac9 Merge with 3.4 2014-08-23 22:22:07 -04:00
Terry Jan Reedy
ee55826072 Issue #13540: add missing markup. 2014-08-23 22:21:47 -04:00
Ned Deily
87018afeae Issue #21166: fix typo in comment 2014-08-23 18:10:49 -07:00
Ned Deily
ec7aaf5de4 Issue #21166: fix typo in comment 2014-08-23 18:10:16 -07:00
Terry Jan Reedy
523136937f Merge with 3.4 2014-08-23 19:29:58 -04:00
Terry Jan Reedy
65e3ecb3e2 Issue #22243: fix except grammar in reference. 2014-08-23 19:29:47 -04:00
Terry Jan Reedy
8d2d8894da Merge with 3.4 2014-08-23 18:29:02 -04:00
Terry Jan Reedy
004e87048a Issue #22232 (partial fix): update Universal newlines Glossary entry. 2014-08-23 18:28:44 -04:00
Terry Jan Reedy
763826aec1 Merge with 3.4 2014-08-23 18:24:09 -04:00
Terry Jan Reedy
133250c5b2 Merge heads. 2014-08-23 18:23:50 -04:00
Terry Jan Reedy
130f303ba5 Merge heads. 2014-08-23 18:22:43 -04:00
Nick Coghlan
b51b1345bd Merge PEP 466 What's New in 2.7 changes from 3.4 2014-08-23 14:48:22 +10:00
Nick Coghlan
a5bbc2ea3d Forward port PEP 466 What's New in 2.7 updates 2014-08-23 14:47:47 +10: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
Ned Deily
682c04c70c Issue #21166: merge from 3.4 2014-08-22 13:36:30 -07:00
Ned Deily
fcbc246e9f Issue #21166: Prevent possible segfaults and other random failures of
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
2014-08-22 13:32:49 -07:00
Brett Cannon
d0aeda8f0f Issue #20152: Port pyexpat to Argument Clinic.
Could not emit an external file as pyexpat has a conditionally built
method which Clinic won't hide otherwise.
2014-08-22 14:23:20 -04:00
Brett Cannon
9f49e31a4a Add a missing Argument Clinic file 2014-08-22 14:08:46 -04:00
Brett Cannon
3d25e16760 Issue #20152: Port the pwd module to Argument Clinic. 2014-08-22 14:03:51 -04:00
Brett Cannon
52d67ef358 Fix a missing #include. 2014-08-22 14:01:56 -04:00
Brett Cannon
20cf6ddfa2 Issue #20152: Port the spwd module to Argument Clinic. 2014-08-22 13:59:24 -04:00
Berker Peksag
04bb443eb6 Issue #19447: Use importlib.util.cache_from_source() instead of `bad_coding + 'c'`.
Thanks to Arfrever Frehtes Taifersar Arahesis.
2014-08-22 20:52:37 +03:00
Berker Peksag
0242f79051 Issue #19447: Use importlib.util.cache_from_source() instead of `bad_coding + 'c'`.
Thanks to Arfrever Frehtes Taifersar Arahesis.
2014-08-22 20:52:15 +03:00
Berker Peksag
5296db908a Issue #19447: Add a test case to py_compile.compile() to make sure
it don't raise an exception if doraise is False.

Patch by Bohuslav "Slavek" Kabrda.
2014-08-22 20:18:12 +03:00
Berker Peksag
31f8a677a4 Issue #19447: Add a test case to py_compile.compile() to make sure
it don't raise an exception if doraise is False.

Patch by Bohuslav "Slavek" Kabrda.
2014-08-22 20:17:32 +03:00
Brett Cannon
8fb7bb2f29 Issue #20152: Convert the grp module to Argument Clinic. 2014-08-22 11:52:46 -04:00
Brett Cannon
f2de1fc21a Issue #20152: Convert _multibytecodecs to Argument Clinic. 2014-08-22 11:45:03 -04:00
Berker Peksag
adc5634193 Issue #22150: Fix deprecated-removed directive in Sphinx 1.2. 2014-08-22 18:25:16 +03:00
Berker Peksag
eb265ab873 Issue #22150: Fix deprecated-removed directive in Sphinx 1.2. 2014-08-22 18:24:29 +03: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
Brett Cannon
7c08b19f86 Issue #19714: Tests for importlib.machinery.WindowsRegistryFinder.
Patch by Claudiu Popa, review by Martin v. Löwis.
2014-08-22 10:28:42 -04:00
Senthil Kumaran
f499931b33 merge from 3.4
Fix issue22245 - Fix urllib2_localnet test.

Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
2014-08-22 16:27:06 +05:30
Senthil Kumaran
a969ae2e11 Fix issue22245 - Fix urllib2_localnet test.
Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
2014-08-22 16:26:21 +05:30
Antoine Pitrou
55ac5b3f7b Issue #22118: Switch urllib.parse to use RFC 3986 semantics for the resolution of relative URLs, rather than RFCs 1808 and 2396.
Patch by Demian Brecht.
2014-08-21 19:16:17 -04:00
Serhiy Storchaka
a7eb746278 Issue #21549: Added the "members" parameter to TarFile.list(). 2014-08-21 10:01:16 +03:00
Benjamin Peterson
48ad7c0b01 use __qualname__ to compute bound method repr (closes #21389)
Patch from Steven Barker.
2014-08-20 18:41:57 -05:00
Senthil Kumaran
2b7ccbda90 merge from 3.4
Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
2014-08-20 07:55:53 +05:30
Senthil Kumaran
783737625d Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull. 2014-08-20 07:53:58 +05:30
Terry Jan Reedy
f2d9ee67e1 Merge with 3.4 2014-08-19 19:47:51 -04:00
Terry Jan Reedy
37ed873ac2 Idle ColorDelegator: finish removing code for 'as'. 2014-08-19 19:47:38 -04:00
Terry Jan Reedy
f2e500c133 Merge with 3.4 2014-08-19 17:18:11 -04:00