- 05 May, 2008 10 kayıt (commit)
-
-
Gregory P. Smith yazdı
An assertion in readline() would fail as data was already in the internal buffer even though the socket was in unbuffered read mode. That case is now handled. More importantly, read() has been fixed to not over-recv() and leave newly recv()d data in the _fileobject buffer. The max() vs min() issue in read() is now gone. Neither was correct. On bounded reads, always ask recv() for the exact amount of data we still need. Candidate for backporting to release25-maint along with r62627.
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Brett Cannon yazdı
Ippolito. Closes issue #2750.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Brett Cannon yazdı
showwarning API. Turns out 'inspect' uses 'operator' which is an extension module. That's a problem when it has not been built yet by setup.py.
-
Brett Cannon yazdı
that lacks support for the new 'line' argument.
-
- 04 May, 2008 12 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Georg Brandl yazdı
-
Benjamin Peterson yazdı
-
Georg Brandl yazdı
-
Gerhard Häring yazdı
characters. This avoids the common case of something like 'NUMBER(10)' not being parsed as 'NUMBER', like expected. Also corrected the docs about converter names being case-sensitive. They aren't any longer.
-
Gerhard Häring yazdı
sqlite3.Row type is now correctly hashable.
-
Gerhard Häring yazdı
#ifdefing was useless.
-
Christian Heimes yazdı
-
Georg Brandl yazdı
-
Benjamin Peterson yazdı
-
Mark Dickinson yazdı
(as documented) rather than True and False.
-
Mark Dickinson yazdı
at reducing the size of the diff between the 2.x decimal.py and 3.x decimal.py and thereby making future merges easier: - replace one instnace of an old-style raise statement - define __div__ in terms of __truediv__ instead of the other way around - make wording match on an exception message
-
- 03 May, 2008 7 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Georg Brandl yazdı
-
Mark Dickinson yazdı
'Context flags get set, not incremented'
-
Benjamin Peterson yazdı
-
Amaury Forgeot d'Arc yazdı
And of course, the test failed: a bytearray was used without reason in io.TextIOWrapper.tell(). The difference is that iterating over bytes (i.e. str in python2.6) returns 1-char bytes, whereas bytearrays yield integers. This code should still work with python3.0
-
Brett Cannon yazdı
raised an exception properly when __file__ is not set, __name__ == '__main__', and sys.argv[0] is a false value. Closes issue2743.
-
Brett Cannon yazdı
-
- 02 May, 2008 10 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Ronald Oussoren yazdı
-
Ronald Oussoren yazdı
This fixes both Python Launchar and the terminalcommand module.
-
Martin v. Löwis yazdı
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r62470 | david.wolever | 2008-04-24 02:11:07 +0200 (Do, 24 Apr 2008) | 3 lines Fixed up and applied the patch for #2431 -- speeding up 2to3 with a lookup table. ........ r62646 | martin.v.loewis | 2008-05-02 23:29:27 +0200 (Fr, 02 Mai 2008) | 2 lines Fix whitespace. ........
-
Ronald Oussoren yazdı
-
Ronald Oussoren yazdı
This introduces a new configure option: --with-framework-name=NAME (defaulting to 'Python'). This allows you to install several copies of the Python framework with different names (such as a normal build and a debug build).
-
Facundo Batista yazdı
-
Mark Hammond yazdı
-
Gregory P. Smith yazdı
problems is in the bug report (one old, one recently introduced trying to fix the old one). In short: buffer data during socket._fileobject.read() and readlines() within a cStringIO object instead of a [] of str()s returned from the recv() call. This prevents excessive memory use due to the size parameter being passed to recv() being grossly larger than the actual size of the data returned *and* prevents excessive cpu usage due to looping in python calling recv() with a very tiny size value if min() is used as the previous memory-use bug "fix" did. It also documents what the socket._fileobject._rbufsize member is actually used for. This is a candidate for back porting to 2.5.
-
Brett Cannon yazdı
warnings.showwarning() was being used. This broke pre-existing replacements for the function since they didn't support the extra argument. Closes issue 2705.
-
- 01 May, 2008 1 kayıt (commit)
-
-
Georg Brandl yazdı
-