Raymond Hettinger
8f35c891e7
Modernize unittest example
2013-03-22 07:26:18 -07:00
Benjamin Peterson
440282ba8a
copy 2.7 magic numbers for historical interest
2013-03-21 23:04:45 -05:00
R David Murray
f516388de8
#17472 : add tests for a couple of untested methods in urllib.urlparse.
...
Original patch by Daniel Wozniak.
2013-03-21 20:56:51 -04:00
Terry Jan Reedy
2b6c26ebe3
Issue #13248 : NEWS and What's New items
2013-03-21 19:36:26 -04:00
Victor Stinner
d502a07fac
test_ast: pass the filename to ast.parse()
2013-03-22 00:06:20 +01:00
doko@ubuntu.com
6d3d0fe0b2
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:39:52 -07:00
doko@ubuntu.com
1621d77fc8
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:31:41 -07:00
doko@ubuntu.com
d5537d071c
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:21:49 -07:00
Victor Stinner
d06b35c1b6
(Merge 3.3) Issue #17209 : curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)
2013-03-21 12:21:43 +01:00
Victor Stinner
bd2d30cf31
Issue #17209 : curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)
2013-03-21 12:21:06 +01:00
R David Murray
e0a1bf313f
Merge: #5713 : One more test_smtplib timing fix.
2013-03-21 00:33:30 -04:00
R David Murray
6bd5202227
#5713 : One more test_smtplib timing fix.
2013-03-21 00:32:31 -04:00
Gregory P. Smith
f72119d10f
merge heads
2013-03-20 20:53:21 -07:00
Gregory P. Smith
40a2160a09
Refactor the common code out of the posix and windows listdir
...
implementations from my previous commit into the higher level
function.
2013-03-20 20:52:50 -07:00
Raymond Hettinger
3030728138
Fix import
2013-03-20 19:28:19 -07:00
R David Murray
dac94d619c
Merge: #5712 : Preemptively fix some other possible timing issues.
2013-03-20 22:12:53 -04:00
R David Murray
54bd49d49b
Merge: #5712 : Preemptively fix some other possible timing issues.
2013-03-20 22:12:14 -04:00
R David Murray
03b0116c78
#5712 : Preemptively fix some other possible timing issues.
2013-03-20 22:11:40 -04:00
R David Murray
ba7d9d46f2
Merge: #5713 : fix timing issue in smtplib tests.
2013-03-20 21:56:03 -04:00
R David Murray
a686ed7d10
Merge: #5713 : fix timing issue in smtplib tests.
2013-03-20 21:55:14 -04:00
R David Murray
853c0f9d60
#5713 : fix timing issue in smtplib tests.
2013-03-20 21:54:05 -04:00
Gregory P. Smith
16ea14a690
Refactor the Windows specific and POSIX specific implementations of
...
listdir into two separate coherent functions rather than interleaved
#ifdef's.
2013-03-20 18:51:33 -07:00
Gregory P. Smith
e25df59427
merge
2013-03-20 18:32:45 -07:00
Gregory P. Smith
74b24047e3
merge
2013-03-20 18:32:22 -07:00
Gregory P. Smith
1f8a40b81d
remove the long obsolete mention of universal newlines mode only being
...
available when configured at compile time.
2013-03-20 18:32:03 -07:00
R David Murray
82c6b45c14
Merge: #5713 : Handle 421 error codes during sendmail by closing the socket.
...
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
2013-03-20 21:13:56 -04:00
R David Murray
f1a40b4ec5
Merge: #5713 : Handle 421 error codes during sendmail by closing the socket.
...
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
2013-03-20 21:12:17 -04:00
R David Murray
d312c740f1
#5713 : Handle 421 error codes during sendmail by closing the socket.
...
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
2013-03-20 20:36:14 -04:00
Kristján Valur Jónsson
6168362509
Issue #16475 : Correctly handle the EOF when reading marshal streams.
2013-03-20 14:26:33 -07:00
doko@ubuntu.com
f219c8da49
- .hgtouch: Add dependencies for GRAMMAR_H and GRAMMAR_C
2013-03-20 12:38:50 -07:00
Kristján Valur Jónsson
e178187bf6
Issue #16475 : Simplify the interface to r_ref_allocate and improve comments.
2013-03-20 11:43:57 -07:00
doko@ubuntu.com
8d0e427c39
- Merge 3.3 (.hgtouch)
2013-03-20 12:39:38 -07:00
Antoine Pitrou
c9b3ef2df0
Issue #16997 : unittest.TestCase now provides a subTest() context manager to procedurally generate, in an easy way, small test instances.
2013-03-20 20:16:47 +01:00
Ezio Melotti
a612176c9c
#17493 : merge with 3.3.
2013-03-20 18:16:05 +02:00
Ezio Melotti
a49178e48e
#17493 : merge with 3.2.
2013-03-20 18:15:37 +02:00
Ezio Melotti
958f7ae865
#17493 : re-enable a test on Windows. Patch by Zachary Ware.
2013-03-20 18:14:48 +02:00
Ezio Melotti
c622bf3f85
Merge usage of argument/parameter and markup fixes from 3.3.
2013-03-20 13:54:30 +02:00
Ezio Melotti
ba7dd670cb
Merge usage of argument/parameter and markup fixes from 3.2.
2013-03-20 13:54:18 +02:00
Ezio Melotti
93115e0914
Fix usage of argument/parameter and markup.
2013-03-20 13:53:32 +02:00
Gregory P. Smith
6409989dc8
clarifiy the documentation for issue17285. see also commit
...
ee30400efceb which updated the docstring.
2013-03-19 23:36:59 -07:00
Gregory P. Smith
f16455aa4a
clarifiy the documentation for issue17285. see also commit
...
ee30400efceb which updated the docstring.
2013-03-19 23:36:31 -07:00
Gregory P. Smith
016b9e38f7
Use a larger amount of data for tests such as the interrupted_write
...
tests that depend on filling up an OS pipe so that they work properly
on systems configured with large pipe buffers.
Also a subprocess docstring update that i forgot was in my client when
i did the original 3.3 commit... easier to just leave that in here
with this one than go back and undo/redo.
2013-03-19 23:27:09 -07:00
Gregory P. Smith
91110f5e55
Use a larger amount of data for tests such as the interrupted_write
...
tests that depend on filling up an OS pipe so that they work properly
on systems configured with large pipe buffers.
2013-03-19 23:25:16 -07:00
Benjamin Peterson
eddb0a7884
fix compiler warning
2013-03-20 00:40:07 -05:00
Benjamin Peterson
605a774a98
Backed out changeset 521232b05b97
2013-03-20 00:39:41 -05:00
Senthil Kumaran
620e875df2
Automated merge with file:///Users/skumaran/python/cpython
2013-03-19 21:27:23 -07:00
Benjamin Peterson
c6dc12484b
fix compiler warning
2013-03-19 23:20:59 -05:00
Senthil Kumaran
95dc8b5761
null merge.
2013-03-19 21:41:35 -07:00
Senthil Kumaran
08c73e80df
Automated merge with ssh://hg.python.org/cpython
2013-03-19 21:27:21 -07:00
R David Murray
9a7d3768a3
Use logic operator, not bitwise operator, for conditional.
2013-03-20 00:15:20 -04:00