Brett Cannon
|
eb175c473d
|
Remove a redundant assignment.
Found by LLVM/clang 2.9.
|
2011-06-06 20:24:11 -07:00 |
Brett Cannon
|
5fac8af22c
|
Checking if an unsigned long is < 0 is pointless.
Found by LLVM/clang 2.9.
|
2011-06-06 20:22:56 -07:00 |
Brett Cannon
|
a0b1ff5844
|
Remove some extraneous parentheses and swap the comparison order to
prevent accidental assignment.
Silences a warning from LLVM/clang 2.9.
|
2011-06-06 20:20:36 -07:00 |
Charles-François Natali
|
368f34bb4b
|
Issue #12196: Make os.pipe2() flags argument mandatory.
|
2011-06-06 19:49:47 +02:00 |
Benjamin Peterson
|
f0cdbad1b3
|
always clear parser error
|
2011-06-05 22:14:05 -05:00 |
Gregory P. Smith
|
d64b2bae9b
|
merge heads.
|
2011-06-04 23:05:19 -07:00 |
Benjamin Peterson
|
f719957d7a
|
only clear the parser error if it's set (closes #12264)
|
2011-06-04 22:06:42 -05:00 |
Victor Stinner
|
2bc6c2ec2f
|
(Merge 3.2) Issue #12016: Reindent decoders of HK and JP codecs
|
2011-06-03 23:34:32 +02:00 |
Victor Stinner
|
5dfe3bb2d9
|
Issue #12016: Reindent decoders of HK and JP codecs
|
2011-06-03 23:34:09 +02:00 |
Éric Araujo
|
5397c797f4
|
Merge 3.2
|
2011-06-01 19:47:24 +02:00 |
Éric Araujo
|
affcf2967f
|
Branch merge
|
2011-06-01 19:39:27 +02:00 |
Benjamin Peterson
|
fdb2d909a4
|
merge 3.1
|
2011-05-31 21:38:49 -05:00 |
Benjamin Peterson
|
52e61449e3
|
return NULL on error
|
2011-05-31 21:38:15 -05:00 |
Benjamin Peterson
|
f17101a307
|
merge 3.2
|
2011-05-31 21:31:59 -05:00 |
Benjamin Peterson
|
5c2b09e856
|
be extra careful with a borrowed reference when the GIL could be released (closes #8578)
|
2011-05-31 21:31:37 -05:00 |
Benjamin Peterson
|
8c6f88efa2
|
remove __version__s dependent on subversion keyword expansion (closes #12221)
|
2011-05-31 20:52:17 -05:00 |
Benjamin Peterson
|
9e3e1c6e4e
|
merge 3.2 (#12221)
|
2011-05-31 19:07:45 -05:00 |
Benjamin Peterson
|
0aa71f7982
|
merge 3.1 (#12221)
|
2011-05-31 19:06:17 -05:00 |
Benjamin Peterson
|
a22c98de85
|
simply use the Python version for pyexpat.__version__ #12221
|
2011-05-31 18:59:49 -05:00 |
Victor Stinner
|
bc93a116eb
|
Close #12229: Remove an unused argument of _bufferedreader_peek_unlocked(),
io.BufferedReader._peek_unlocked(). Patch written by John O'Connor.
|
2011-06-01 00:01:24 +02:00 |
Éric Araujo
|
9bcf8bfb24
|
Fix error message to use the Python name instead of the C name
|
2011-05-31 14:08:26 +02:00 |
Victor Stinner
|
e15dce3d18
|
Close #12171: IncrementalEncoder.reset() of CJK codecs (multibytecodec) calls
encreset() instead of decreset().
|
2011-05-30 22:56:00 +02:00 |
Charles-François Natali
|
daafdd5bea
|
Issue #12196: Add pipe2() to the os module.
|
2011-05-29 20:07:40 +02:00 |
Victor Stinner
|
5572ba7e15
|
_posixsubprocess.c: don't redefine _GNU_SOURCE if it's already defined
|
2011-05-26 14:10:08 +02:00 |
Victor Stinner
|
77af172914
|
socket.sendto(): exit directly after setting the error
Dummy change to avoid a false positive with the Clang Static Analyzer.
|
2011-05-26 14:05:59 +02:00 |
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
|
25095b2be6
|
Remove useless assignments
Warnings found by the the Clang Static Analyzer.
|
2011-05-26 13:47:08 +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 |
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 |
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 |
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 |
Victor Stinner
|
99c8b16143
|
Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl
module.
|
2011-05-24 12:05:19 +02:00 |
Victor Stinner
|
7870bdff5a
|
Issue #6501: os.device_encoding() returns None on Windows if the application
has no console.
|
2011-05-23 18:12:52 +02:00 |
Victor Stinner
|
9b49304790
|
Close #12153: faulthandler, mark stack_overflow() as static
|
2011-05-23 12:29:10 +02:00 |
Gregory P. Smith
|
b6471db8a7
|
Further documentation updates to be consistent with doc standards and comments
Ezio Melotti pointed out.
|
2011-05-22 22:47:55 -07:00 |
Charles-François Natali
|
1e045b1831
|
Issue #12105: Add O_CLOEXEC to the os module.
|
2011-05-22 20:42:32 +02:00 |
Gregory P. Smith
|
95c7c46077
|
avoid a compiler warning. the compiler doesn't know that the static
struct guarantees the loop will always be run once to initialize code.
|
2011-05-21 05:19:42 -07:00 |
Charles-François Natali
|
6071359de1
|
Issue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex()
accept and return str instead of bytes arrays. Add some more tests.
|
2011-05-20 16:55:06 +02:00 |
Victor Stinner
|
21809a6938
|
(Merge 3.2) Issue #12124: zipimport doesn't keep a reference to
zlib.decompress() anymore to be able to unload the module.
|
2011-05-20 00:22:39 +02:00 |
Victor Stinner
|
4445ec81c1
|
(Merge 3.1) Issue #12124: zipimport doesn't keep a reference to
zlib.decompress() anymore to be able to unload the module.
|
2011-05-20 00:18:58 +02:00 |