Commit Graph

76903 Commits

Author SHA1 Message Date
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 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
Gregory P. Smith 5c87ad07bd Use a larger amount of data for the interrupted_write tests so that
they work properly on systems configured with large pipe buffers.
2013-03-19 23:21:03 -07:00
Senthil Kumaran 620e875df2 Automated merge with file:///Users/skumaran/python/cpython 2013-03-19 21:27:23 -07:00
Kristján Valur Jónsson dc32d18d11 Issue #15038 : Fixing the condition broadcast and docs. 2013-03-19 20:18:37 -07:00
Senthil Kumaran cd3bb8b73c #17474 - Mark the deprecated Request methods as deprecated-removed. Review by Ezio Melotti 2013-03-19 18:01:43 -07:00
Kristján Valur Jónsson 9795ca44fb Issue #10212: Support new buffer interface for struct.unpack and
cStringIO
2013-03-19 17:17:47 -07:00
Kristján Valur Jónsson 1d108bc714 Issue #10211 : Buffer object should support the new buffer interface. 2013-03-19 16:50:51 -07:00
Kristján Valur Jónsson acb6e85808 Issue #12098 : Fix a missing import in the unittests. 2013-03-19 17:30:30 -07:00
Senthil Kumaran f47e77f343 #17471 - merge from 3.2 2013-03-19 16:46:34 -07:00
Kristján Valur Jónsson 5cfbde0e8b Merge with 3.2 2013-03-19 16:34:39 -07:00
Senthil Kumaran 2a4d24510a #17471 - Increasing the urllib.error test coverage. Bringing it to 100%. Based on patch contributed by Daniel Wozniak 2013-03-19 16:11:07 -07:00
Kristján Valur Jónsson d6e9f32b79 Merge 2013-03-19 16:00:01 -07:00
Kristján Valur Jónsson ece12222ce Merge 2013-03-19 15:57:19 -07:00
Kristján Valur Jónsson a251b37179 #10296: Merge to 3.3 2013-03-19 15:35:28 -07:00
Gregory P. Smith 3cc791c5a1 merge from 3.2 2013-03-19 15:30:41 -07:00
Gregory P. Smith 4effb67004 merge heads 2013-03-19 15:25:46 -07:00
Gregory P. Smith 1f1ec04c7f merge heads 2013-03-19 15:25:28 -07:00
Kristján Valur Jónsson 11f989320e Issue #10296 : Don't handle BreakPoint exceptions using
Structured Exception Handling on windows.
2013-03-19 15:24:10 -07:00
Kristján Valur Jónsson 5aed330e37 Issue #10296 : Don't handle BreakPoint exceptions using
Structured Exception Handling on windows.
2013-03-19 15:24:10 -07:00
R David Murray 432a48a0c8 Merge: #1525919: Document MIMEText+set_payload encoding behavior. 2013-03-19 18:21:22 -04:00
R David Murray 14b0124a29 #1525919: Document MIMEText+set_payload encoding behavior. 2013-03-19 18:18:55 -04:00
Kristján Valur Jónsson 8927e8f421 Issue #12098: multiprocessing on Windows now starts child processes
using the same sys.flags as the current process.
Backport from default branch.
2013-03-19 15:07:35 -07:00
Gregory P. Smith f697180431 merge heads 2013-03-19 15:07:22 -07:00
Gregory P. Smith cca8507758 merge heads in 3.3 2013-03-19 15:05:52 -07:00
doko@ubuntu.com 41b977c453 - update config.guess and config.sub 2013-03-19 15:03:26 -07:00
Gregory P. Smith dd35162894 merge heads in 3.2 2013-03-19 15:03:26 -07:00
doko@ubuntu.com ac0866f2ab - update config.guess and config.sub 2013-03-19 15:00:46 -07:00
Gregory P. Smith 0408bf9cfb 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-19 14:59:02 -07:00
doko@ubuntu.com 71610752d6 Reindent files for:
- Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
  db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19 14:50:38 -07:00
doko@ubuntu.com 4950a3b6cc - Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19 14:46:29 -07:00
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