Commit graph

9092 commits

Author SHA1 Message Date
Éric Araujo
14eba5fa41 Brench merge 2011-08-12 17:59:25 +02:00
Éric Araujo
28d39a0c08 Branch merge 2011-08-12 17:40:25 +02:00
Antoine Pitrou
fdf4a27422 Issue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0, mostly) pickles. 2011-08-11 21:15:53 +02:00
Antoine Pitrou
f6c7a8595e Issue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0, mostly) pickles. 2011-08-11 21:04:02 +02:00
Senthil Kumaran
5b0a4d22c5 merge from 3.2 2011-08-11 09:25:45 +08:00
Senthil Kumaran
962fed9101 Fix closes Issue10087 - fixing the output of calendar display in the html format. Patch by Chris Lambacher. Test Contributed by catherine. 2011-08-11 09:22:52 +08:00
Éric Araujo
7fc0394a12 Avoid unwanted behavior change in shlex.quote (see #9723).
I simplified the quote code to use a regex instead of a loop+test when I
moved pipes.quote to shlex in 5966eeb0457d; Ezio Melotti pointed out
that my regex contained redundant parts (now removed) and allowed
non-ASCII characters (now disallowed).

I think common UNIX shells don’t quote non-ASCII characters, but there’s
no harm in doing so.  We’ll see if users request a change.
2011-08-09 23:18:06 +02:00
Benjamin Peterson
71ce8970cf fix indentation 2011-08-09 16:17:12 -05:00
Benjamin Peterson
e451ec393f merge heads 2011-08-09 16:16:33 -05:00
Benjamin Peterson
832bfe2ebd add a AST validator (closes #12575) 2011-08-09 16:15:04 -05:00
Éric Araujo
ef1e94a848 Test pipes.quote with a few non-ASCII characters (see #9723).
That pipes.quote thinks all non-ASCII characters need to be quoted may
be a bug, but right now I’m committing this test to make sure I haven’t
introduced a behavior change in 3.3 when I simplified the code to use a
regex (in 5966eeb0457d).
2011-08-09 23:03:43 +02:00
Raymond Hettinger
fcb393c018 Add support for unary plus and unary minus to collections.Counter() 2011-08-09 13:00:40 -07:00
Victor Stinner
a8db378434 Issue #12700: fix test_faulthandler for Mac OS X Lion
Read from NULL raises SIGILL, not SIGSEGV, on Mac OS X Lion.
2011-08-08 22:43:45 +02:00
Senthil Kumaran
0c8108914e merge from 3.2 - Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items) 2011-08-06 12:28:16 +08:00
Senthil Kumaran
89976f1cdc Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items) 2011-08-06 12:27:40 +08:00
Sandro Tosi
4dc9c84ed9 #11572: improvements to copy module tests along with removal of old test suite 2011-08-05 23:05:35 +02:00
Brett Cannon
252365bab8 Silence the altered state warning about threadgs when running test_httplib. 2011-08-04 22:43:11 -07:00
Brett Cannon
40ccea7e1e Silence altered execution state warnings from test_telnetlib involving threads. 2011-08-04 22:37:55 -07:00
Brett Cannon
a4265546f9 Explicitly close a file to stop raising a ResourceWarning. 2011-08-04 21:34:52 -07:00
Senthil Kumaran
12fe95351b merge from 3.2 - change the extra svn to svn+ssh 2011-08-03 22:09:51 +08:00
Senthil Kumaran
7ce71f6496 change the redundant svn scheme urljoin test case to svn+ssh scheme. 2011-08-03 22:08:46 +08:00
Senthil Kumaran
8283a622fc merge heads 2011-08-03 18:45:02 +08:00
Senthil Kumaran
8a984b58b7 merge from 3.2 - Fix closes issue12683 - urljoin to work with relative join of svn scheme. 2011-08-03 18:44:10 +08:00
Senthil Kumaran
2a157d2a3d Fix closes issue12683 - urljoin to work with relative join of svn scheme. 2011-08-03 18:37:22 +08:00
Benjamin Peterson
43234ab685 handle sched_rr_get_interval not working on current 2011-08-02 22:19:14 -05:00
Benjamin Peterson
50ba271dbb fix punctuation 2011-08-02 22:15:40 -05:00
Benjamin Peterson
c158158086 fix indentation 2011-08-02 22:10:55 -05:00
Benjamin Peterson
b0fc9c4d0a merge heads 2011-08-02 22:09:56 -05:00
Benjamin Peterson
539b6c41ff OSX doesn't check sched_get_priority_(min/max) argument 2011-08-02 22:09:37 -05:00
Eli Bendersky
2b6ee28630 Issue #11049: fix test_forget on installed Python - add os.curdir to sys.path 2011-08-03 05:18:33 +03:00
Benjamin Peterson
18592ca589 bsd doesn't like letting normal processes set the scheduler 2011-08-02 18:48:59 -05:00
Benjamin Peterson
c5fce4ded2 check individually for some for sched_ functions 2011-08-02 18:07:32 -05:00
Benjamin Peterson
2740af8cc4 sched.h can exist without sched affinity support 2011-08-02 17:41:34 -05:00
Benjamin Peterson
94b580d423 expose sched.h functions (closes #12655) 2011-08-02 17:30:04 -05:00
Senthil Kumaran
d61535d50b Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Reported by Popa Claudiu and Patch by Santoso Wijaya.
2011-08-02 18:34:53 +08:00
Senthil Kumaran
eb71ad4c71 Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Reported by Popa Claudiu and Patch by Santoso Wijaya.
2011-08-02 18:33:41 +08:00
Eli Bendersky
8db645f722 Issue #11049: fix test_forget to work on installed Python, by using a temporary module for import/forget 2011-08-02 06:24:31 +03:00
Stefan Krah
d9c665b60e Merge 68b5f87566fb 2011-08-02 01:12:16 +02:00
Stefan Krah
f187a0230b Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.
See: https://bugzilla.redhat.com/show_bug.cgi?id=726536
2011-08-02 01:06:16 +02:00
Nadeem Vawda
3c01d16ed9 Issue #11651: Move options for running tests into a Python script.
This will be particularly useful to Windows users.

run_tests.py originally written by Brett Cannon.
2011-08-01 23:48:26 +02:00
Senthil Kumaran
2f7c695b97 using support.transient_internet helper method in the urllib2net test. 2011-07-31 11:46:24 +08:00
Senthil Kumaran
e324c57367 using support.transient_internet helper method in the urllib2net test. 2011-07-31 11:45:14 +08:00
Senthil Kumaran
b351a48eee Addressing the review comments by Antoine Pitrou for smtplib.py and test_smtplib.py. Review comments by Ezio Melotti for smtplib.rst 2011-07-31 09:14:17 +08:00
Nadeem Vawda
3fc5868a1d test_smtpnet: Skip STARTTLS test if the server doesn't support it.
This issue can arise with ISPs that redirect all connections on port 25 to
their own (crappy) mail servers.
2011-07-30 23:46:54 +02:00
Senthil Kumaran
193cd2fb26 merge heads. 2011-07-30 10:57:28 +08:00
Senthil Kumaran
3d23fd6493 Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine. 2011-07-30 10:56:50 +08:00
Benjamin Peterson
18d7d7a217 also make NotImplementedType callable 2011-07-29 18:27:44 -05:00
Benjamin Peterson
d83be998fc merge heads 2011-07-29 18:20:35 -05:00
Benjamin Peterson
c4607aeedd make the types of None and Ellipsis callable 2011-07-29 18:19:43 -05:00
Antoine Pitrou
f83e4acbae Issue #12626: In regrtest, allow to filter tests using a glob filter
with the `-m` (or `--match`) option.  This works with all test cases
using the unittest module.  This is useful with long test suites
such as test_io or test_subprocess.
2011-07-29 23:57:10 +02:00