Kristján Valur Jónsson
868f0aac37
issue #9090 : Take the same approach for socketmodule as daytimemodule
...
when it needs support from timemodule (which is a .so on linux):
link in timemodule.c for the required functions.
2013-03-19 13:53:56 -07:00
Senthil Kumaran
d17ca23828
#17471 - merge from 3.2
2013-03-19 13:44:17 -07:00
Senthil Kumaran
843fae9312
#17471 - Improve urllib2 test coverage. Patch contributed by Daniel Wozniak
2013-03-19 13:43:42 -07:00
R David Murray
a39c47aab0
#8862 : Fix curses cleanup with getchar is interrupted by a signal.
...
I have no idea how one would write a test for this.
Patch by July Tikhonov.
2013-03-19 16:26:53 -04:00
R David Murray
779dab9447
Merge: #8862 : Fix curses cleanup with getchar is interrupted by a signal.
...
I have no idea how one would write a test for this.
Patch by July Tikhonov.
2013-03-19 16:24:35 -04:00
R David Murray
f5d7cc239e
#8862 : Fix curses cleanup with getchar is interrupted by a signal.
...
I have no idea how one would write a test for this.
Patch by July Tikhonov.
2013-03-19 16:23:09 -04:00
Kristján Valur Jónsson
620e36419a
issue #9090 : Limit the fix to windows since getting a portable simple
...
time function on non-windows isn't quite simple.
2013-03-19 13:01:05 -07:00
Kristján Valur Jónsson
6ebc8f3f38
Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout
...
(WSAEWOULDBLOCK - A non-blocking socket operation could not be completed
immediately)
2013-03-19 10:58:59 -07:00
R David Murray
7889944b83
Merge: #17443 : Fix buffering in IMAP4_stream.
...
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
2013-03-19 13:56:01 -04:00
R David Murray
fcb6d6a3b3
#17443 : Fix buffering in IMAP4_stream.
...
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
2013-03-19 13:52:33 -04:00
Serhiy Storchaka
e185341bfa
Fix usage of the unittest.skip decorator.
2013-03-19 13:27:05 +02:00
Serhiy Storchaka
ae4ef4d2ff
Fix usage of the unittest.skip decorator.
2013-03-19 13:25:20 +02:00
Senthil Kumaran
2f306c03d3
#17460 - merge from 3.2
2013-03-19 00:58:46 -07:00
Senthil Kumaran
0492ec07e0
#17460 - Adding relevant warning messages regarding strict removal in docs
2013-03-19 00:51:08 -07:00
R David Murray
52dfc74080
#17476 : make allmethods actually return all methods.
...
This fixes a regression relative to Python2. (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).
This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.
Original patch by Matt Bachmann.
2013-03-19 02:32:35 -04:00
R David Murray
9929bc543a
#17476 : make allmethods actually return all methods.
...
This fixes a regression relative to Python2. (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).
This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.
Original patch by Matt Bachmann.
2013-03-19 02:31:06 -04:00
Gregory P. Smith
029273fc90
Fixes issue #17192 : Update the ctypes module's libffi to v3.0.13. This
...
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
2013-03-18 17:11:20 -07:00
Senthil Kumaran
6227c6952e
#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )
2013-03-18 17:09:50 -07:00
Gregory P. Smith
46ce27ab1e
Fixes issue #17192 : Update the ctypes module's libffi to v3.0.13. This
...
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
2013-03-18 16:58:50 -07:00
Michael Foord
f575230981
Documentation corrections for unittest.mock
2013-03-18 15:04:03 -07:00
Andrew Svetlov
f0efea0841
Issue #17463 : Fix test discovery for test_pdb.py
2013-03-18 10:09:50 -07:00
Benjamin Peterson
bebf75f30a
open file in binary mode
2013-03-17 21:28:29 -07:00
R David Murray
f3a1b6efe0
Merge #17448 : Make test_sax skip if there are no xml parsers.
...
Patch by Rafael Santos.
2013-03-18 00:20:43 -04:00
R David Murray
a846f5ace8
#17448 : Make test_sax skip if there are no xml parsers.
...
Patch by Rafael Santos.
2013-03-18 00:18:12 -04:00
R David Murray
35893b7994
#16057 : Clarify why the base method default is called in custom encoders.
...
Original patch by Kushal Das.
2013-03-17 22:06:18 -04:00
R David Murray
1f2a49cfc6
Merge #16057 : Clarify why the base method default is called in custom encoders.
...
Original patch by Kushal Das.
2013-03-17 21:53:23 -04:00
R David Murray
dd246171e4
#16057 : Clarify why the base method default is called in custom encoders.
...
Original patch by Kushal Das.
2013-03-17 21:52:35 -04:00
Brett Cannon
3e2fe05e62
Issue #16880 : _imp.load_dynamic() is not defined on a platform that
...
does not support dynamic loading (e.g. Atari), so make sure that imp
doesn't assume it always exists.
Patch by Christian Heimes.
2013-03-17 15:48:16 -07:00
Terry Jan Reedy
b271727bad
Merge with 3.2
2013-03-17 15:28:52 -04:00
Terry Jan Reedy
271e56e887
Issue #17415 : Trim trailing whitespace
2013-03-17 15:28:10 -04:00
Terry Jan Reedy
f3460414d5
Issue #17415 : Trim trailing whitespace
2013-03-17 15:28:10 -04:00
Terry Jan Reedy
3380170ea5
Merge with 3.2
2013-03-17 15:22:00 -04:00
Terry Jan Reedy
3e50fb3f69
Issue #17415 : Clarify 'this' referent by moving containing sentence just after
...
the sentence referred to. Make other minor edits to improve flow.
2013-03-17 15:21:26 -04:00
Terry Jan Reedy
ec6e132987
Issue #17415 : Clarify 'this' referent by moving containing sentence just after
...
the sentence referred to. Make other minor edits to improve flow.
2013-03-17 15:21:26 -04:00
Serhiy Storchaka
1eec53d9ba
Issue #16389 : Fixed an issue number in previos commit.
2013-03-16 22:59:59 +02:00
Serhiy Storchaka
a99dfd1ab6
Issue #16389 : Fixed an issue number in previos commit.
2013-03-16 22:59:27 +02:00
Serhiy Storchaka
969ff72642
Issue #16564 : Fixed a performance regression relative to Python 3.1 in the
...
caching of compiled regular expressions.
2013-03-16 22:53:48 +02:00
Serhiy Storchaka
0f606a636a
Issue #16564 : Fixed a performance regression relative to Python 3.1 in the
...
caching of compiled regular expressions.
2013-03-16 22:52:09 +02:00
Serhiy Storchaka
fa320aea9c
Null merge
2013-03-16 22:50:13 +02:00
Terry Jan Reedy
cf9054396d
Merge heads 3.3.
2013-03-16 16:06:52 -04:00
Terry Jan Reedy
de6849fcf6
Merge heads 3.2.
2013-03-16 16:05:27 -04:00
Terry Jan Reedy
e493e87f35
Merge heads.
2013-03-16 16:03:37 -04:00
Terry Jan Reedy
f39cab1076
Merge with 3.2
2013-03-16 15:56:50 -04:00
Terry Jan Reedy
dff04f44bc
Issue #17418 : specify that buffer sizes are bytes as soon as possible.
2013-03-16 15:56:27 -04:00
Terry Jan Reedy
589cb111b5
Issue #17418 : specify that buffer sizes are bytes.
2013-03-16 15:55:53 -04:00
Ezio Melotti
e5e7a7cbf4
#11420 : merge with 3.2.
2013-03-16 21:49:20 +02:00
Ezio Melotti
e015b6b1fc
#11420 : make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
2013-03-16 20:04:44 +02:00
Ezio Melotti
c28f6fa505
#11420 : make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
2013-03-16 19:48:51 +02:00
Georg Brandl
e3eb0615af
merge heads
2013-03-16 08:03:13 +01:00
Georg Brandl
1f68a2f27f
Remove row-spanning cell, which the Sphinx text writer does not support.
2013-03-16 08:01:49 +01:00