Commit Graph

32734 Commits

Author SHA1 Message Date
Benjamin Peterson 5395d211f9 merge 3.3 (#19114) 2013-09-29 11:13:50 -04:00
Benjamin Peterson 56b143d758 condense two tests with the same name (closes #19114) 2013-09-29 11:13:27 -04:00
Benjamin Peterson 70157e8f02 merge 3.3 (#19112) 2013-09-29 11:11:10 -04:00
Benjamin Peterson cc6ef3620f move helper function into its test method (closes #19112) 2013-09-29 11:08:04 -04:00
Benjamin Peterson 353d450928 merge 3.3 (#19117) 2013-09-29 10:53:59 -04:00
Benjamin Peterson 52010b40f6 fix duplicate test names in test_dis (closes #19117) 2013-09-29 10:53:49 -04:00
Benjamin Peterson 42686e45c1 merge 3.3 (#19118) 2013-09-29 10:51:08 -04:00
Benjamin Peterson f8ab76039b remove duplicate test_mkd (closes #19118) 2013-09-29 10:51:00 -04:00
Benjamin Peterson 3dcdacfe6a merge 3.3 (#19116) 2013-09-29 10:50:24 -04:00
Benjamin Peterson db0601f871 combine two tests to avoid duplicate names (closes #19116) 2013-09-29 10:50:15 -04:00
Benjamin Peterson 177d89ce90 merge 3.3 (#19126) 2013-09-29 10:48:39 -04:00
Benjamin Peterson e8c8a592e7 fix duplicate test name (closes #19126) 2013-09-29 10:48:19 -04:00
Benjamin Peterson e86eb89b97 merge 3.3 (#19125) 2013-09-29 10:47:04 -04:00
Benjamin Peterson 1eca062be6 fix test to run and test that smtpd does support ELHO (closes #19125) 2013-09-29 10:46:31 -04:00
Benjamin Peterson 11f34caac4 delete duplicate test (closes #19123) 2013-09-29 10:39:51 -04:00
Benjamin Peterson 96609b701e merge 3.3 (#19122) 2013-09-29 10:02:28 -04:00
Benjamin Peterson 05ab7028ba remove duplicate test from test_import (closes #19122) 2013-09-29 10:01:40 -04:00
Antoine Pitrou 61e10a5efe Issue #4366: Fix building extensions on all platforms when --enable-shared is used. 2013-09-29 01:49:07 +02:00
Antoine Pitrou 643238eb53 Issue #4366: Fix building extensions on all platforms when --enable-shared is used. 2013-09-29 01:48:40 +02:00
Benjamin Peterson b3b0720597 merge 3.3 (#19115) 2013-09-28 15:13:10 -04:00
Benjamin Peterson 3103631f66 fix duplicate test names (closes #19115)
Patch by Xavier de Gaye.
2013-09-28 15:12:37 -04:00
Serhiy Storchaka f7622bfcfb Issue #18950: Fix miscellaneous bugs in the sunau module.
Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream.  Au_write.writeframesraw() now
correctly updates current file position.  Au_read.getnframes() now returns an
integer (as in Python 2).  Au_read and Au_write now correctly works with file
object if start file position is not a zero.
2013-09-28 21:24:43 +03:00
Serhiy Storchaka 0300a8db49 Issue #18950: Fix miscellaneous bugs in the sunau module.
Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream.  Au_write.writeframesraw() now
correctly updates current file position.  Au_read.getnframes() now returns an
integer (as in Python 2).  Au_read and Au_write now correctly works with file
object if start file position is not a zero.
2013-09-28 21:21:39 +03:00
Nick Coghlan 4cc2afa0ec Close #18990: remove root attribute from XMLPullParser
- this was an internal implementation detail for iterparse
- this has been changed to use a new private method instead
- XMLPullParser.close docs are now more explicit about not
  returning a root element and instead direct users towards
  read_events
- also added missing docstrings and clarified some details
  related to exactly *when* events are consumed from the
  internal queue

(Initial patch by Stefan Behnel)
2013-09-28 23:50:35 +10:00
Ethan Furman 33918c128b Issue19030: fixed comment that was still referring to a changed descriptor. 2013-09-27 23:02:02 -07:00
Serhiy Storchaka ab25c7c011 Issue #19053: ZipExtFile.read1() with non-zero argument no more returns empty
bytes until end of data.
2013-09-27 22:14:31 +03:00
Serhiy Storchaka d2c07a58af Issue #19053: ZipExtFile.read1() with non-zero argument no more returns empty
bytes until end of data.
2013-09-27 22:11:57 +03:00
Vinay Sajip cb2c4fe649 Updated test_logging so that errors don't occur in the absence of threading. 2013-09-27 19:08:24 +01:00
Vinay Sajip f6cdffeb78 Streamlined logging tests by moving common code to a helper function. 2013-09-27 18:41:12 +01:00
Vinay Sajip 5421f35d5e logging: added support for Unix domain sockets to SocketHandler and DatagramHandler. 2013-09-27 18:18:28 +01:00
Ethan Furman e03ea37a7b Close #19030: improvements to inspect and Enum.
inspect.getmembers and inspect.classify_class_attrs now search the metaclass
mro for types.DynamicClassAttributes (what use to be called
enum._RouteClassAttributeToGetattr); in part this means that these two
functions no longer rely solely on dir().

Besides now returning more accurate information, these improvements also
allow a more helpful help() on Enum classes.
2013-09-25 07:14:41 -07:00
Serhiy Storchaka 369606df2f Issue #19028: Fixed tkinter.Tkapp.merge() for non-string arguments. 2013-09-23 23:20:07 +03:00
Serhiy Storchaka 77622f55c2 Issue #18996: TestCase.assertEqual() now more cleverly shorten differing
strings in error report.
2013-09-23 23:07:00 +03:00
Ethan Furman 64a9972b40 Close #19025: Better error message when trying to delete an Enum member.
Also slight code reorg for PEP 8 guidelines.
2013-09-22 16:18:19 -07:00
Jason R. Coombs 838521eed0 Close #18978: Merge changes. 2013-09-22 10:06:24 -04:00
Nick Coghlan f94a16b494 Close #18626: add a basic CLI for the inspect module 2013-09-22 22:46:49 +10:00
Nick Coghlan df4cb129e4 Merge from 3.3 2013-09-22 19:38:44 +10:00
Nick Coghlan ce34687d23 Fix comment in test_gdb 2013-09-22 19:38:16 +10:00
Antoine Pitrou a78cccb134 test_gdb: skip pretty-printing of sets with gdb < 7.3
(should fix the failures on OpenIndiana)
2013-09-22 00:14:27 +02:00
Antoine Pitrou d0f3e07a60 test_gdb: dump gdb version in verbose mode 2013-09-21 23:56:17 +02:00
Serhiy Storchaka c8bf95cfc5 Issue #18050: Fixed an incompatibility of the re module with Python 3.3.0
binaries.
2013-09-20 21:24:39 +03:00
R David Murray 6bd3e444f5 Merge #14984: only import pwd on POSIX.
Since we have fine grained import locks in 3.4, I moved the
import to where it is actually needed.
2013-09-18 08:59:47 -04:00
R David Murray 4b49ae61d8 Merge #14984: only import pwd on POSIX. 2013-09-18 08:54:00 -04:00
R David Murray 58bf8d2a68 Merge #14984: only import pwd on POSIX. 2013-09-18 08:53:26 -04:00
R David Murray 505be2146f #14984: only import pwd on POSIX. 2013-09-18 08:52:38 -04:00
R David Murray cf6d0e77ea Merge #19037: adjust file times *before* moving maildir files into place. 2013-09-18 08:36:36 -04:00
R David Murray 41a22f1a77 #19037: adjust file times *before* moving maildir files into place.
This avoids race conditions when other programs are monitoring
the maildir directory.  Patch by janzert.
2013-09-18 08:34:40 -04:00
R David Murray 4750fa8369 Merge #14984: On POSIX, enforce permissions when reading default .netrc. 2013-09-17 21:28:17 -04:00
R David Murray fb9dc0b3ae Merge #14984: On POSIX, enforce permissions when reading default .netrc. 2013-09-17 21:04:50 -04:00
R David Murray 8270a2c209 Merge #14984: On POSIX, enforce permissions when reading default .netrc. 2013-09-17 20:32:54 -04:00