]>
granicus.if.org Git - python/log
Benjamin Peterson [Thu, 26 May 2011 22:49:57 +0000 (17:49 -0500)]
fix typo
Éric Araujo [Thu, 26 May 2011 15:06:47 +0000 (17:06 +0200)]
Move test_packaging news entries to the tests section
Benjamin Peterson [Thu, 26 May 2011 14:59:17 +0000 (09:59 -0500)]
add ack from 2.7
Éric Araujo [Thu, 26 May 2011 14:51:18 +0000 (16:51 +0200)]
Merge 3.2
Éric Araujo [Thu, 26 May 2011 14:50:31 +0000 (16:50 +0200)]
Merge 3.1
Éric Araujo [Thu, 26 May 2011 14:50:19 +0000 (16:50 +0200)]
Branch merge
Éric Araujo [Thu, 26 May 2011 14:49:59 +0000 (16:49 +0200)]
Branch merge
Éric Araujo [Thu, 26 May 2011 14:35:14 +0000 (16:35 +0200)]
Branch merge
Victor Stinner [Thu, 26 May 2011 12:25:54 +0000 (14:25 +0200)]
SystemExit_init(): avoid an useless test
Make silent a false positive of the Clang Static Analyzer.
Victor Stinner [Thu, 26 May 2011 12:25:13 +0000 (14:25 +0200)]
print_exception(): handle correctly PyObject_GetAttrString() failure
Bug found by the Clang Static Analyzer.
Victor Stinner [Thu, 26 May 2011 12:24:30 +0000 (14:24 +0200)]
set_repr(): handle correctly PyUnicode_FromUnicode() error (MemoryError)
Bug found by the Clang Static Analyzer.
Victor Stinner [Thu, 26 May 2011 12:10:08 +0000 (14:10 +0200)]
_posixsubprocess.c: don't redefine _GNU_SOURCE if it's already defined
Victor Stinner [Thu, 26 May 2011 12:05:59 +0000 (14:05 +0200)]
socket.sendto(): exit directly after setting the error
Dummy change to avoid a false positive with the Clang Static Analyzer.
Victor Stinner [Thu, 26 May 2011 11:59:41 +0000 (13:59 +0200)]
zipimport: initialize fullpath to NULL
In some cases, fullpath value is used whereas fullpath was not always
initialized. Warning found by the Clang Static Analyzer.
Victor Stinner [Thu, 26 May 2011 11:53:47 +0000 (13:53 +0200)]
Avoid useless "++" at the end of functions
Warnings found by the Clang Static Analyzer.
Victor Stinner [Thu, 26 May 2011 11:47:08 +0000 (13:47 +0200)]
Remove useless assignments
Warnings found by the the Clang Static Analyzer.
Stefan Krah [Wed, 25 May 2011 22:38:51 +0000 (00:38 +0200)]
Null merge: changeset is already in 3.3
Stefan Krah [Wed, 25 May 2011 22:37:45 +0000 (00:37 +0200)]
Issue #12090: backport
79fcd71d0356
Victor Stinner [Wed, 25 May 2011 22:19:38 +0000 (00:19 +0200)]
Issue #12175: BufferedReader.read(-1) now calls raw.readall() if available.
Victor Stinner [Wed, 25 May 2011 22:16:44 +0000 (00:16 +0200)]
Issue #12175: FileIO.readall() now only reads the file position and size once.
Tarek Ziade [Wed, 25 May 2011 21:46:09 +0000 (23:46 +0200)]
Issue #12180: Fixed a few remaining errors in test_packaging when no threading.
Victor Stinner [Wed, 25 May 2011 20:51:16 +0000 (22:51 +0200)]
(Merge 3.2) Issue #12175: RawIOBase.readall() now returns None if read()
returns None.
Victor Stinner [Wed, 25 May 2011 20:49:15 +0000 (22:49 +0200)]
(Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()
returns None.
Victor Stinner [Wed, 25 May 2011 20:47:16 +0000 (22:47 +0200)]
Issue #12175: RawIOBase.readall() now returns None if read() returns None.
Victor Stinner [Wed, 25 May 2011 20:13:47 +0000 (22:13 +0200)]
(Merge 3.2) Issue #12175: FileIO.readall() now raises a ValueError instead of
an IOError if the file is closed.
Victor Stinner [Wed, 25 May 2011 20:11:55 +0000 (22:11 +0200)]
(Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead of
an IOError if the file is closed.
Victor Stinner [Wed, 25 May 2011 20:09:03 +0000 (22:09 +0200)]
Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if
the file is closed.
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.
Éric Araujo [Wed, 25 May 2011 16:22:26 +0000 (18:22 +0200)]
Merge 3.2
Éric Araujo [Wed, 25 May 2011 16:22:11 +0000 (18:22 +0200)]
Branch merge
Éric Araujo [Wed, 25 May 2011 16:21:43 +0000 (18:21 +0200)]
Minor cleanup in sysconfig.
Also remove outdated and unhelpful docstrings in test_sysconfig.
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.
Éric Araujo [Wed, 25 May 2011 16:13:49 +0000 (18:13 +0200)]
Merge 3.1
Éric Araujo [Wed, 25 May 2011 16:13:29 +0000 (18:13 +0200)]
Fix two typos
Éric Araujo [Wed, 25 May 2011 16:12:22 +0000 (18:12 +0200)]
Branch merge
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.