- 14 Tem, 2004 6 kayıt (commit)
-
-
Thomas Heller yazdı
CHECK INTO CVS if these files are changed.
-
Thomas Heller yazdı
-
Michael W. Hudson yazdı
[ 984722 ] Py_BuildValue loses reference counts on error I'm ever-so-slightly uneasy at the amount of work this can do with an exception pending, but I don't think that this can result in anything more serious than a strange error message.
-
Guido van Rossum yazdı
the documented behavior: the function passed to the onerror() handler can now also be os.listdir. [I could've sworn I checked this in, but apparently I didn't, or it got lost???]
-
Guido van Rossum yazdı
the documented behavior: the function passed to the onerror() handler can now also be os.listdir. [I could've sworn I checked this in, but apparently I didn't, or it got lost???]
-
Brett Cannon yazdı
put everything in the tuple in caps to use str.upper() instead of str.lower().
-
- 13 Tem, 2004 6 kayıt (commit)
-
-
Fred Drake yazdı
they are used
-
Tim Peters yazdı
expected to write their own. A NULL "object" must not be passed to the visit callback. A non-zero return from a visit proc isn't necessarily an error return (and it doesn't matter to the tp_traverse code *what* it might signify, their only job is to return it).
-
Fred Drake yazdı
-
Andrew M. Kuchling yazdı
-
Brett Cannon yazdı
module that is removed for testing "import" lines. Originally deleted the entry from sys.modules and then just let other code that needed it to import it again. Problem with this solution is that it lead to code that had already imported the module in question to have their own reference to a new copy of the module in question that new code couldn't reach. This lead to a failure in test_strptime since it monkey-patched the 'time' module it had a reference to while _strptime had its own reference to another copy of 'time' from being imported by test___all__ that it was using for a calculation. Also moved the testing code out of the PthFile class and into the actual test class. This was to stop using 'assert' which is useless with a -O execution.
-
Brett Cannon yazdı
URLs will seemingly succeed to read a URL that points to a file whose permissions you do not have to read. Backport candidate once everyone agrees with the wording.
-
- 12 Tem, 2004 17 kayıt (commit)
-
-
Nicholas Bastin yazdı
collate, so setting it back to the function name
-
Barry Warsaw yazdı
-
Brett Cannon yazdı
output more telling details when there is a failure.
-
Vinay Sajip yazdı
-
Nicholas Bastin yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Michael W. Hudson yazdı
[ 988698 ] compiler.transformer fix for (a, b) = 1, 2 fixing bug [ 988613 ] compiler.transformer and tuple unpacking
-
Raymond Hettinger yazdı
-
Andrew MacIntyre yazdı
a non-standard protocol and on a lower port than the tcp/udp entries, which breaks the assumption that there will only be one service by a given name on a given port when no protocol is specified. Previous versions of this code have had other problems as a result of different service definitions amongst common platforms. As this platform has an extra, unexpected, service entry, I've special cased the platform rather than re-order the list of services checked to highlight the pitfall.
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Vinay Sajip yazdı
Removed debugging print statements from TimedRotatingFileHandler, and sorted list returned by glob.glob() (SF #987166)
-
Anthony Baxter yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
I don't agree it had a bug (see the report), so this is *not* a candidate for backporting, but the docs were confusing and the Queue implementation was old enough to vote. Rewrote put/put_nowait/get/get_nowait from scratch, to use a pair of Conditions (not_full and not_empty), sharing a common mutex. The code is 1/4 the size now, and 6.25x easier to understand. For blocking with timeout, we also get to reuse (indirectly) the tedious timeout code from threading.Condition. The Full and Empty exceptions raised by non-blocking calls are now easy (instead of nearly impossible) to explain truthfully: Full is raised if and only if the Queue truly is full when the non-blocking put call checks the queue size, and similarly for Empty versus non-blocking get. What I don't know is whether the new implementation is slower (or faster) than the old one. I don't really care. Anyone who cares a lot is encouraged to check that.
-
- 11 Tem, 2004 10 kayıt (commit)
-
-
Tim Peters yazdı
Anthony Tuininga. This is a derived patch, taking the opportunity to add some organization to the now-large pile of datetime-related macros, and to factor out tedious repeated text. Also improved some clumsy wording in NEWS.
-
Brett Cannon yazdı
-
Kurt B. Kaiser yazdı
Modified Files: urllib2.py test/test_urllib2.py
-
Kurt B. Kaiser yazdı
-
Fred Drake yazdı
Closes SF bug #450803.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Kurt B. Kaiser yazdı
-
Kurt B. Kaiser yazdı
Patch by John J Lee Reviewed by Jeff Epler / KBK Doc built OK. urlopen() may return None if no handler handles the request. Also clarify what install_opener does. M liburllib2.tex
-
- 10 Tem, 2004 1 kayıt (commit)
-
-
Brett Cannon yazdı
that behaves as if both lists has an empty string in each of them. Closes bug #979794 (and duplicate bug #980117).
-