Commit Graph

36643 Commits

Author SHA1 Message Date
Armin Rigo
796fc992ce Fix a usage of the dangerous pattern decref - modify field - incref. 2007-04-19 14:56:48 +00:00
Armin Rigo
c0ba52d3fd Revert r53997 as per
http://mail.python.org/pipermail/python-dev/2007-March/071796.html .

I've kept a couple of still-valid extra tests in test_descr, but didn't
bother to sort through the new comments and refactorings added in r53997
to see if some of them could be kept.  If so, they could go in a
follow-up check-in.
2007-04-19 14:44:48 +00:00
Neal Norwitz
bd53870d89 SF #1703270, add missing declaration in readline.c to avoid compiler warning. 2007-04-19 05:52:37 +00:00
Brett Cannon
f64c90052f Silence a compiler warning about incompatible pointer types. 2007-04-19 03:44:17 +00:00
Martin v. Löwis
bcc182277e Add Travis Oliphant. 2007-04-17 05:02:01 +00:00
Collin Winter
c20a250170 Check the availability of the urlfetch resource earlier than before. 2007-04-16 22:10:32 +00:00
Neal Norwitz
68cdf8a6da SF #1701207, Fix bogus assertion (and test it!) 2007-04-16 07:37:55 +00:00
Neal Norwitz
cbd9ee69ee When __slots__ are set to a unicode string, make it work the same as
setting a plain string, ie don't expand to single letter identifiers.
2007-04-14 05:25:50 +00:00
Trent Mick
e6bdb9be0e Add the necessary dependency for the Windows VC6 build to ensure 'pythoncore'
is built before '_ctypes' is attempted.
Will backport to 2.5 once it is unfrozen for 2.5.1.
2007-04-13 23:22:05 +00:00
Kristján Valur Jónsson
019fcbc2e8 Fix potential crash in path manipulation on windows 2007-04-13 22:20:13 +00:00
Kristján Valur Jónsson
2f2f57916c Fix a bug when using the __lltrace__ opcode tracer, and a problem sith signed chars in frameobject.c which can occur with opcodes > 127 2007-04-13 22:07:33 +00:00
Barry Warsaw
25a3864541 Port r54805 from python25-maint branch:
Add code to read from master_fd in the parent, breaking when we get an OSError
(EIO can occur on Linux) or there's no more data to read.  Without this,
test_pty.py can hang on the waitpid() because the child is blocking on the
stdout write.  This will definitely happen on Mac OS X and could potentially
happen on other platforms.  See the comment for details.
2007-04-13 18:47:14 +00:00
Walter Dörwald
4234827e99 Fix utf-8-sig incremental decoder, which didn't recognise a BOM when the
first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.
2007-04-12 10:35:00 +00:00
Žiga Seilnacht
9aba6d6905 Patch #1695862: remove the cleanup code, now that Windows buildbots are green
again.
2007-04-12 08:46:51 +00:00
Georg Brandl
e2d827d7ef Patch #1698951: clarify deprecation message in rexec and Bastion 2007-04-12 07:01:19 +00:00
Raymond Hettinger
4db5fe970c SF 1193128: Let str.translate(None) be an identity transformation 2007-04-12 04:10:00 +00:00
Georg Brandl
5176180610 Repair missing spaces after \UNIX. 2007-04-11 23:28:44 +00:00
Georg Brandl
135c3174e7 Exceptions are no longer old-style instances. Fix accordingly. 2007-04-11 19:25:11 +00:00
Raymond Hettinger
13936697f6 SF 1191699: Make slices picklable 2007-04-11 18:40:58 +00:00
Georg Brandl
c02e13122b Add some missing NULL checks which trigger crashes on low-memory conditions.
Found by Victor Stinner. Will backport when 2.5 branch is unfrozen.
2007-04-11 17:16:24 +00:00
Andrew M. Kuchling
5bf02cd17f Describe undocumented third argument to touchline() 2007-04-11 13:47:13 +00:00
Andrew M. Kuchling
a6fbc1eabb Point readers at the patch submission instructions 2007-04-11 13:42:25 +00:00
Andrew M. Kuchling
400a49ba79 Add window.chgat() method, submitted via e-mail by Fabian Kreutz 2007-04-11 13:39:00 +00:00
Georg Brandl
781aef2d6b Repair a duplicate label and some obsolete uses of \setindexsubitem. 2007-04-10 21:39:38 +00:00
Facundo Batista
59c5884b4c General clean-up. Lot of margin corrections, comments, some typos.
Exceptions now are raised in the new style. And a mockup class is
now also new style. Thanks Santiago Pereson.
2007-04-10 12:58:45 +00:00