Victor Stinner
9a2261a372
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.
2011-05-26 13:59:41 +02:00
Victor Stinner
97e561ef24
Avoid useless "++" at the end of functions
...
Warnings found by the Clang Static Analyzer.
2011-05-26 13:53:47 +02:00
Victor Stinner
25095b2be6
Remove useless assignments
...
Warnings found by the the Clang Static Analyzer.
2011-05-26 13:47:08 +02:00
Stefan Krah
58bc7a134e
Null merge: changeset is already in 3.3
2011-05-26 00:38:51 +02:00
Stefan Krah
f2c6db5fac
Issue #12090 : backport 79fcd71d0356
2011-05-26 00:37:45 +02:00
Victor Stinner
b57f108b03
Issue #12175 : BufferedReader.read(-1) now calls raw.readall() if available.
2011-05-26 00:19:38 +02:00
Victor Stinner
e9d44ccb22
Issue #12175 : FileIO.readall() now only reads the file position and size once.
2011-05-26 00:16:44 +02:00
Tarek Ziade
5eb555990a
Issue #12180 : Fixed a few remaining errors in test_packaging when no threading.
2011-05-25 23:46:09 +02:00
Victor Stinner
d2780aedce
(Merge 3.2) Issue #12175 : RawIOBase.readall() now returns None if read()
...
returns None.
2011-05-25 22:51:16 +02:00
Victor Stinner
988512cfd7
(Merge 3.1) Issue #12175 : RawIOBase.readall() now returns None if read()
...
returns None.
2011-05-25 22:49:15 +02:00
Victor Stinner
a80987f20d
Issue #12175 : RawIOBase.readall() now returns None if read() returns None.
2011-05-25 22:47:16 +02:00
Victor Stinner
af62c7d3de
(Merge 3.2) Issue #12175 : FileIO.readall() now raises a ValueError instead of
...
an IOError if the file is closed.
2011-05-25 22:13:47 +02:00
Victor Stinner
4767114e77
(Merge 3.1) Issue #12175 : FileIO.readall() now raises a ValueError instead of
...
an IOError if the file is closed.
2011-05-25 22:11:55 +02:00
Victor Stinner
b79f28ccbd
Issue #12175 : FileIO.readall() now raises a ValueError instead of an IOError if
...
the file is closed.
2011-05-25 22:09:03 +02:00
Victor Stinner
fd8211372d
Fast path for IncrementalNewlineDecoder.decode() in io.TextIOWrapper.read(-1)
...
Copy/paste code from textiowrapper_read_chunk().
2011-05-25 22:01:33 +02:00
Senthil Kumaran
242926d227
merge commit.
2011-05-26 00:26:32 +08:00
Senthil Kumaran
656ce500a6
News entry for issue11109.
2011-05-26 00:24:38 +08:00
Senthil Kumaran
5e826e8a1b
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.
2011-05-26 00:22:59 +08:00
Éric Araujo
aa1ef2d735
Merge 3.2
2011-05-25 18:22:26 +02:00
Éric Araujo
0f67a99fc9
Branch merge
2011-05-25 18:22:11 +02:00
Éric Araujo
559b5f1ca0
Minor cleanup in sysconfig.
...
Also remove outdated and unhelpful docstrings in test_sysconfig.
2011-05-25 18:21:43 +02:00
Antoine Pitrou
b46004c94f
Issue #12045 : Avoid duplicate execution of command in ctypes.util._get_soname().
...
Patch by Sijin Joseph.
2011-05-25 18:17:25 +02:00
Éric Araujo
51b7aedadd
Merge 3.1
2011-05-25 18:13:49 +02:00
Éric Araujo
d4701f4262
Fix two typos
2011-05-25 18:13:29 +02:00
Éric Araujo
29ef0064de
Branch merge
2011-05-25 18:12:22 +02:00
Benjamin Peterson
dac9acedfd
test that object has a __dir__() implementation
2011-05-25 09:33:37 -05:00
Benjamin Peterson
04778a8150
make PyImport_ImportModuleLevel's first arg const like similiar functions ( closes #12173 )
2011-05-25 09:29:00 -05:00
Benjamin Peterson
8a021009ea
wrap at 80 chars
2011-05-25 09:27:43 -05:00
Benjamin Peterson
81b21d7766
test values and types of (True/False).(imag/real)
2011-05-25 09:21:46 -05:00
Victor Stinner
c58140c557
Issue #12049 : cleanup the warning in the random module doc
2011-05-25 13:13:55 +02:00
Victor Stinner
a675206366
Issue #12049 : Document errors cases of ssl.RAND_bytes() and
...
ssl.RAND_pseudo_bytes(). Add also links to RAND_status and RAND_add.
2011-05-25 11:27:40 +02:00
Victor Stinner
2e2baa9208
Issue #12049 : test_ssl now checks also that RAND_bytes() raises an error if
...
there is not enough entropy.
2011-05-25 11:15:16 +02:00
Victor Stinner
c13ef66649
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.
2011-05-25 02:35:58 +02:00
Benjamin Peterson
b45c7087aa
excellent place for assertRaises
2011-05-24 19:31:01 -05:00
Victor Stinner
be6210363e
Issue #8533 : regrtest replaces also sys.stdout on Windows
...
Replace sys.stdout to use backslashreplace. Use '\n' newline on all operating
systems.
2011-05-25 02:01:55 +02:00
Victor Stinner
6daa33c8ac
Issue #10818 : Remove deprecated pydoc.serve() function
...
The pydoc module has a new enhanced web server.
2011-05-25 01:41:22 +02:00
Victor Stinner
383c3fc6b4
Issue #10818 : Remove the Tk GUI of the pydoc module (pydoc -g has been
...
deprecated in Python 3.2).
2011-05-25 01:35:05 +02:00
Victor Stinner
c520a1856f
(Merge 3.2) Issue #12057 : Add cjkencodings directory to the Makefile and
...
Tools/msi/msi.py
2011-05-25 01:16:49 +02:00
Victor Stinner
5b3265906f
(Merge 3.1) Issue #12057 : Add cjkencodings directory to the Makefile and
...
Tools/msi/msi.py
2011-05-25 01:15:59 +02:00
Victor Stinner
46f8264b8e
Issue #12057 : Add cjkencodings directory to the Makefile and Tools/msi/msi.py
2011-05-25 01:13:59 +02:00
Nadeem Vawda
f1a1af21eb
Fix typo in bz2 module.
2011-05-25 00:32:08 +02:00
Victor Stinner
62666e1db1
(Merge 3.2) Issue #12057 : Add tests for the HZ encoding
2011-05-25 00:17:13 +02:00
Victor Stinner
8ed8416c2b
(Merge 3.1) Issue #12057 : Add tests for the HZ encoding
2011-05-25 00:16:43 +02:00
Victor Stinner
8fdfc20fc4
Issue #12057 : Add tests for the HZ encoding
2011-05-25 00:06:51 +02:00
Charles-François Natali
1f4560c872
Issue #1441530 : In imaplib, read the data in one chunk to speed up large
...
reads and simplify code.
2011-05-24 23:47:49 +02:00
Victor Stinner
17dc81951a
(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").
2011-05-24 23:38:03 +02:00
Victor Stinner
1273b7cd9c
Issue #12070 : Fix the Makefile parser of the sysconfig module to handle
...
correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
2011-05-24 23:37:07 +02:00
Victor Stinner
eb734f77ad
(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.
2011-05-24 22:24:11 +02:00
Victor Stinner
d48ba0bde5
(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.
2011-05-24 22:22:17 +02:00
Victor Stinner
6bcbef7da0
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.
2011-05-24 22:17:55 +02:00