]>
granicus.if.org Git - python/log
Victor Stinner [Wed, 25 May 2011 20:01:33 +0000 (22:01 +0200)]
Fast path for IncrementalNewlineDecoder.decode() in io.TextIOWrapper.read(-1)
Copy/paste code from textiowrapper_read_chunk().
Senthil Kumaran [Wed, 25 May 2011 16:26:32 +0000 (00:26 +0800)]
merge commit.
Senthil Kumaran [Wed, 25 May 2011 16:24:38 +0000 (00:24 +0800)]
News entry for issue11109.
Senthil Kumaran [Wed, 25 May 2011 16:22:59 +0000 (00:22 +0800)]
Fix closes issue #11109 - socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass.
A new method called service_action is made available in BaseServer, called by
serve_forever loop. This useful in cases where Mixins can use it for cleanup
action. ForkingMixin class uses service_action to collect the zombie child
processes. Initial Patch by Justin Wark.
Antoine Pitrou [Wed, 25 May 2011 16:17:25 +0000 (18:17 +0200)]
Issue #12045: Avoid duplicate execution of command in ctypes.util._get_soname().
Patch by Sijin Joseph.
Benjamin Peterson [Wed, 25 May 2011 14:33:37 +0000 (09:33 -0500)]
test that object has a __dir__() implementation
Benjamin Peterson [Wed, 25 May 2011 14:29:00 +0000 (09:29 -0500)]
make PyImport_ImportModuleLevel's first arg const like similiar functions (closes #12173)
Benjamin Peterson [Wed, 25 May 2011 14:27:43 +0000 (09:27 -0500)]
wrap at 80 chars
Benjamin Peterson [Wed, 25 May 2011 14:21:46 +0000 (09:21 -0500)]
test values and types of (True/False).(imag/real)
Victor Stinner [Wed, 25 May 2011 11:13:55 +0000 (13:13 +0200)]
Issue #12049: cleanup the warning in the random module doc
Victor Stinner [Wed, 25 May 2011 09:27:40 +0000 (11:27 +0200)]
Issue #12049: Document errors cases of ssl.RAND_bytes() and
ssl.RAND_pseudo_bytes(). Add also links to RAND_status and RAND_add.
Victor Stinner [Wed, 25 May 2011 09:15:16 +0000 (11:15 +0200)]
Issue #12049: test_ssl now checks also that RAND_bytes() raises an error if
there is not enough entropy.
Victor Stinner [Wed, 25 May 2011 00:35:58 +0000 (02:35 +0200)]
Issue #8407: Fix the signal handler of the signal module: if it is called
twice, it now writes the number of the second signal into the wakeup fd.
Benjamin Peterson [Wed, 25 May 2011 00:31:01 +0000 (19:31 -0500)]
excellent place for assertRaises
Victor Stinner [Wed, 25 May 2011 00:01:55 +0000 (02:01 +0200)]
Issue #8533: regrtest replaces also sys.stdout on Windows
Replace sys.stdout to use backslashreplace. Use '\n' newline on all operating
systems.
Victor Stinner [Tue, 24 May 2011 23:41:22 +0000 (01:41 +0200)]
Issue #10818: Remove deprecated pydoc.serve() function
The pydoc module has a new enhanced web server.
Victor Stinner [Tue, 24 May 2011 23:35:05 +0000 (01:35 +0200)]
Issue #10818: Remove the Tk GUI of the pydoc module (pydoc -g has been
deprecated in Python 3.2).
Victor Stinner [Tue, 24 May 2011 23:16:49 +0000 (01:16 +0200)]
(Merge 3.2) Issue #12057: Add cjkencodings directory to the Makefile and
Tools/msi/msi.py
Victor Stinner [Tue, 24 May 2011 23:15:59 +0000 (01:15 +0200)]
(Merge 3.1) Issue #12057: Add cjkencodings directory to the Makefile and
Tools/msi/msi.py
Victor Stinner [Tue, 24 May 2011 23:13:59 +0000 (01:13 +0200)]
Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py
Nadeem Vawda [Tue, 24 May 2011 22:32:08 +0000 (00:32 +0200)]
Fix typo in bz2 module.
Victor Stinner [Tue, 24 May 2011 22:17:13 +0000 (00:17 +0200)]
(Merge 3.2) Issue #12057: Add tests for the HZ encoding
Victor Stinner [Tue, 24 May 2011 22:16:43 +0000 (00:16 +0200)]
(Merge 3.1) Issue #12057: Add tests for the HZ encoding
Victor Stinner [Tue, 24 May 2011 22:06:51 +0000 (00:06 +0200)]
Issue #12057: Add tests for the HZ encoding
Charles-François Natali [Tue, 24 May 2011 21:47:49 +0000 (23:47 +0200)]
Issue #
1441530 : In imaplib, read the data in one chunk to speed up large
reads and simplify code.
Victor Stinner [Tue, 24 May 2011 21:38:03 +0000 (23:38 +0200)]
(Merge 3.2) Issue #12070: Fix the Makefile parser of the sysconfig module to
handle correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
Victor Stinner [Tue, 24 May 2011 21:37:07 +0000 (23:37 +0200)]
Issue #12070: Fix the Makefile parser of the sysconfig module to handle
correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
Victor Stinner [Tue, 24 May 2011 20:24:11 +0000 (22:24 +0200)]
(Merge 3.2) Issue #12100: Don't reset incremental encoders of CJK codecs at
each call to their encode() method anymore, but continue to call the reset()
method if the final argument is True.
Victor Stinner [Tue, 24 May 2011 20:22:17 +0000 (22:22 +0200)]
(Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs at
each call to their encode() method anymore, but continue to call the reset()
method if the final argument is True.
Victor Stinner [Tue, 24 May 2011 20:17:55 +0000 (22:17 +0200)]
Issue #12100: Don't reset incremental encoders of CJK codecs at each call to
their encode() method anymore, but continue to call the reset() method if the
final argument is True.
Victor Stinner [Tue, 24 May 2011 19:32:40 +0000 (21:32 +0200)]
Issue #12049: improve RAND_bytes() and RAND_pseudo_bytes() documentation
Add also a security warning in the module random pointing to ssl.RAND_bytes().
Benjamin Peterson [Tue, 24 May 2011 17:51:32 +0000 (12:51 -0500)]
merge 3.2
Benjamin Peterson [Tue, 24 May 2011 17:51:24 +0000 (12:51 -0500)]
merge 3.1
Benjamin Peterson [Tue, 24 May 2011 17:50:34 +0000 (12:50 -0500)]
backout
8b384de4e780 , so a proper fix can be considered (#5715)
Benjamin Peterson [Tue, 24 May 2011 17:46:15 +0000 (12:46 -0500)]
indicate return value on __dir__ methods
Benjamin Peterson [Tue, 24 May 2011 17:45:33 +0000 (12:45 -0500)]
merge 3.2
Benjamin Peterson [Tue, 24 May 2011 17:44:26 +0000 (12:44 -0500)]
merge 3.1
Benjamin Peterson [Tue, 24 May 2011 17:42:51 +0000 (12:42 -0500)]
use '->' to indicate return values
Benjamin Peterson [Tue, 24 May 2011 17:09:47 +0000 (12:09 -0500)]
merge 3.2
Benjamin Peterson [Tue, 24 May 2011 17:09:26 +0000 (12:09 -0500)]
merge 3.1
Benjamin Peterson [Tue, 24 May 2011 17:06:31 +0000 (12:06 -0500)]
generally, sockets should be closed after they're used
Charles-François Natali [Tue, 24 May 2011 16:29:46 +0000 (18:29 +0200)]
Issue #5715: In socketserver, close the server socket in the child process.
Charles-François Natali [Tue, 24 May 2011 16:27:25 +0000 (18:27 +0200)]
Issue #5715: In socketserver, close the server socket in the child process.
Charles-François Natali [Tue, 24 May 2011 16:23:15 +0000 (18:23 +0200)]
Issue #5715: In socketserver, close the server socket in the child process.
Benjamin Peterson [Tue, 24 May 2011 16:09:06 +0000 (11:09 -0500)]
move specialized dir implementations into __dir__ methods (closes #12166)
Victor Stinner [Tue, 24 May 2011 12:01:39 +0000 (14:01 +0200)]
Issue #12167: packaging.tests.test_dist unloads the temporary module
Fix a reference leak.
Victor Stinner [Tue, 24 May 2011 11:59:21 +0000 (13:59 +0200)]
Issue #12167: packaging.tests.support, LoggingCatcher restores correctly the
log level. Avoid also calls to .addCleanup() in setUp().
Victor Stinner [Tue, 24 May 2011 10:05:19 +0000 (12:05 +0200)]
Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl
module.
Vinay Sajip [Tue, 24 May 2011 06:12:41 +0000 (07:12 +0100)]
Updated test_rollover delay to just over a second.
Victor Stinner [Mon, 23 May 2011 22:29:43 +0000 (00:29 +0200)]
Issue #12105: test_posix skips test_oscloexec() on Linux < 2.6.23
Victor Stinner [Mon, 23 May 2011 22:24:19 +0000 (00:24 +0200)]
Issue #12158: Move linux_version() from test_socket to test.support
Victor Stinner [Mon, 23 May 2011 22:16:16 +0000 (00:16 +0200)]
Issue #11377: platform.popen() emits a DeprecationWarning
Ezio Melotti [Mon, 23 May 2011 22:03:33 +0000 (01:03 +0300)]
Merge heads.
Ezio Melotti [Mon, 23 May 2011 22:01:08 +0000 (01:01 +0300)]
#12074: merge with 3.2.
Vinay Sajip [Mon, 23 May 2011 22:00:42 +0000 (23:00 +0100)]
Issue #12151: Test now ignores datagram socket errors after server is closed.
Ezio Melotti [Mon, 23 May 2011 22:00:10 +0000 (01:00 +0300)]
#12074: remove the /0 when there are no failures.
Benjamin Peterson [Mon, 23 May 2011 21:35:12 +0000 (16:35 -0500)]
merge 3.2
Benjamin Peterson [Mon, 23 May 2011 21:30:29 +0000 (16:30 -0500)]
merge heads
Benjamin Peterson [Mon, 23 May 2011 21:29:50 +0000 (16:29 -0500)]
merge heads
Benjamin Peterson [Mon, 23 May 2011 21:27:36 +0000 (16:27 -0500)]
merge 3.2
Benjamin Peterson [Mon, 23 May 2011 21:22:42 +0000 (16:22 -0500)]
merge 3.1
Victor Stinner [Mon, 23 May 2011 21:16:09 +0000 (23:16 +0200)]
(Merge 3.2) Issue #12074: regrtest displays also the current number of failures
Victor Stinner [Mon, 23 May 2011 21:14:05 +0000 (23:14 +0200)]
Issue #12074: regrtest displays also the current number of failures
Benjamin Peterson [Mon, 23 May 2011 21:11:05 +0000 (16:11 -0500)]
correctly lookup __dir__
Vinay Sajip [Mon, 23 May 2011 20:49:09 +0000 (21:49 +0100)]
Issue #12151: Correction to diagnostic code.
Vinay Sajip [Mon, 23 May 2011 20:37:54 +0000 (21:37 +0100)]
Issue #12151: Added diagnostics to help diagnose intermittent socket errors.
Raymond Hettinger [Mon, 23 May 2011 19:46:20 +0000 (12:46 -0700)]
Clean-up example.
Raymond Hettinger [Mon, 23 May 2011 19:45:34 +0000 (12:45 -0700)]
Clean-up example.
Tarek Ziade [Mon, 23 May 2011 17:07:56 +0000 (19:07 +0200)]
Issue #12125: fixed the failures under Solaris due to improper test cleanup.
Tarek Ziade [Mon, 23 May 2011 16:47:27 +0000 (18:47 +0200)]
fixed the cwd cleanup in packaging test_util
Tarek Ziade [Mon, 23 May 2011 16:31:20 +0000 (18:31 +0200)]
make sure the cwd is restored on tearDown
Victor Stinner [Mon, 23 May 2011 16:12:52 +0000 (18:12 +0200)]
Issue #6501: os.device_encoding() returns None on Windows if the application
has no console.
Tarek Ziade [Mon, 23 May 2011 15:35:20 +0000 (17:35 +0200)]
make sure build_dir.build_lib is synced to the faked build location
Victor Stinner [Mon, 23 May 2011 12:58:07 +0000 (14:58 +0200)]
Merge 3.2
Victor Stinner [Mon, 23 May 2011 12:57:05 +0000 (14:57 +0200)]
Merge 3.1
Victor Stinner [Mon, 23 May 2011 12:51:42 +0000 (14:51 +0200)]
test_codecs now removes the temporay file (created by the test)
Victor Stinner [Mon, 23 May 2011 10:54:52 +0000 (12:54 +0200)]
Issue #12105: test_posix, add the value of O_CLOEXEC in the error message
Victor Stinner [Mon, 23 May 2011 10:29:10 +0000 (12:29 +0200)]
Close #12153: faulthandler, mark stack_overflow() as static
Gregory P. Smith [Mon, 23 May 2011 05:29:49 +0000 (22:29 -0700)]
Update documentation to mention bytes instead byte string and correct one
mentioned string to the accurate description of what type is required.
Gregory P. Smith [Mon, 23 May 2011 05:16:57 +0000 (22:16 -0700)]
Refer to the return value on nameindex and friends as a string, not a byte
string. The code was fixed to return strings instead of bytes and to accept
either.
Martin v. Löwis [Mon, 23 May 2011 05:04:05 +0000 (07:04 +0200)]
merged
Martin v. Löwis [Mon, 23 May 2011 05:02:07 +0000 (07:02 +0200)]
Add 3.2.1rc2 uuid.
Victor Stinner [Sun, 22 May 2011 23:16:44 +0000 (01:16 +0200)]
Issue #12151: test_logging writes debug messages to stderr, not stdout
stdout are lost in buildbots
Tarek Ziade [Sun, 22 May 2011 22:41:27 +0000 (00:41 +0200)]
skip more tests in packaging if threading is not supported
Tarek Ziade [Sun, 22 May 2011 21:25:48 +0000 (23:25 +0200)]
not using a server name anymore as the 127.0.0.1 <> localhost symmetry is not true under Windows 7
Victor Stinner [Sun, 22 May 2011 20:12:27 +0000 (22:12 +0200)]
Issue #10801: Remove a debug print() from test_zipfile
Tarek Ziade [Sun, 22 May 2011 20:09:55 +0000 (22:09 +0200)]
Issue 12132 - skip the test_buil_ext test if the xx module is not found
Tarek Ziade [Sun, 22 May 2011 19:21:44 +0000 (21:21 +0200)]
Issue 10126 - backported distutils fix for the enable-share mode into packaging
Charles-François Natali [Sun, 22 May 2011 18:42:32 +0000 (20:42 +0200)]
Issue #12105: Add O_CLOEXEC to the os module.
Antoine Pitrou [Sun, 22 May 2011 15:35:48 +0000 (17:35 +0200)]
Issue #12138: fix use of transient_internet() in test_urllibnet
Antoine Pitrou [Sun, 22 May 2011 15:35:17 +0000 (17:35 +0200)]
Issue #12138: fix use of transient_internet() in test_urllibnet
Victor Stinner [Sun, 22 May 2011 13:27:14 +0000 (15:27 +0200)]
regrtest: enable faulthandler in main() instead of if __name__ == '__main__':
So it's also enabled when using "./python -m test".
Mark Dickinson [Sun, 22 May 2011 11:53:18 +0000 (12:53 +0100)]
Issue #12079: Decimal(0).fma(Decimal('inf'), 'not a number') should give a TypeError, not a Decimal.InvalidOperation
Martin v. Loewis [Sun, 22 May 2011 10:59:35 +0000 (12:59 +0200)]
Add 3.2.1rc2 uuid.
Eli Bendersky [Sun, 22 May 2011 03:59:49 +0000 (06:59 +0300)]
Issue 12126: removing incorrect claim about return value of select
merge 3.2 -> default
Eli Bendersky [Sun, 22 May 2011 03:57:17 +0000 (06:57 +0300)]
Issue 12126: removing incorrect claim about return value of select
merge 3.1 -> 3.2
Eli Bendersky [Sun, 22 May 2011 03:56:15 +0000 (06:56 +0300)]
Issue 12126: removing incorrect claim about return value of select
Ned Deily [Sat, 21 May 2011 23:06:58 +0000 (16:06 -0700)]
Issue #12131: Ensure that the sysconfig.cfg file, introduced by packaging,
is installed into the lib directory: prevents startup exception in site.py.
Tarek Ziade [Sat, 21 May 2011 21:59:09 +0000 (23:59 +0200)]
added the Content-Length header. that fixes the weird packaging.pypi.errors.HashDoesNotMatch errors
Tarek Ziade [Sat, 21 May 2011 21:05:19 +0000 (23:05 +0200)]
deactivating one test under win32 for now