- 03 Ock, 2003 4 kayıt (commit)
-
-
Michael W. Hudson yazdı
-
Raymond Hettinger yazdı
Simplify code and speed access by using PyArg_UnpackTuple, METH_O and METH_NOARGS in three modules that can benefit from it.
-
David Goodger yazdı
-
David Goodger yazdı
-
- 02 Ock, 2003 31 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Barry Warsaw yazdı
because the test file, msg_26.txt which has \r\n line endings, was getting munged by cvs, which knows to do line ending conversions for text files. But we want \r\n to be preserved on all platforms, so we cvs admin'd the file to be -kb (binary), which means we have to open the file in binary mode to preserve these line ends. Hopefully this will be the end of the thrashing on this issue (but probably not). Test passes on *nix now, and Tim confirms it passes on Windows. We'll leave it to Jack to test MacOS.
-
Andrew M. Kuchling yazdı
-
Tim Peters yazdı
(or None) now. In 2.3a1 they could also return an int or long, but that was an unhelpfully redundant leftover from an earlier version wherein they couldn't return a timedelta. TOOWTDI.
-
Skip Montanaro yazdı
661092.
-
Kurt B. Kaiser yazdı
2. Add more .txt files to installation 3. Fix the reference to Visual Python, s/b VPython
-
Tim Peters yazdı
dst() returns None (instead of treating that as 0).
-
Tim Peters yazdı
be an unbounded number of API changes <0.6 wink>.
-
Tim Peters yazdı
turned out to be 3 special cases of a single more-general result. Proving the latter instead is a real simplification.
-
Kurt B. Kaiser yazdı
-
Tim Peters yazdı
PC/python_nt.rc sets up the DLL version resource (displayed when you right-click on the DLL and select Properties). PCbuld/python20.wse sets up the installer version resource (displayed when you right-click on the installer .exe and select Properties). Turns out this one hadn't been updated since 2001 <frown>!
-
Tim Peters yazdı
On Windows, it was very common to get microsecond values (out of .today() and .now()) of the form 480999, i.e. with three trailing nines. The platform precision is .001 seconds, and fp rounding errors account for the rest. Under the covers, that 480999 started life as the fractional part of a timestamp, like .4809999978. Rounding that times 1e6 cures the irritation. Confession: the platform precision isn't really .001 seconds. It's usually worse. What actually happens is that MS rounds a cruder value to a multiple of .001, and that suffers its own rounding errors. A tiny bit of refactoring added a new internal utility to round doubles.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
release branch?)
-
Tim Peters yazdı
Added the logging package. In the meantime, Neal Norwitz added a test_logging.py to the std test suite, which would have caught this oversight in the Windows installer.
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
Add a test for logging from Vinay Sajip (module author)
-
Andrew M. Kuchling yazdı
-
Just van Rossum yazdı
This work uncovered the zipimport bug in 2.3a1 -- wish I'd had time to do this before the release :-(.
-
Just van Rossum yazdı
the test set as it only tested with a zip archive in the current directory, but it doesn't work at all for packages when the zip archive was specified as an absolute path. It's a real embarrassing bug: a strchr call should have been strrchr; fever apparently implies dyslexia. Second stupid bug: the zipimport test failed with a name error __importer__ (which I had renamed to __loader__ everywhere but here). I would've sworn I ran the test after that change but that can't be true. What I don't understand that noone reported a failing test_zipimport.py before the release of 2.3a1.
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
-
Fred Drake yazdı
- minor markup changes - indented for consistency with newer content
-
Fred Drake yazdı
-
Tim Peters yazdı
correct by your lights, it means that-- barring coding errors --it implements what it intended to implement.
-
Anthony Baxter yazdı
robust. This makes socketserver's close() method callable repeatedly without error - similar to other file-like objects.
-
Guido van Rossum yazdı
-
- 01 Ock, 2003 5 kayıt (commit)
-
-
Tim Peters yazdı
suggestion from Guido, along with a formal correctness proof of the trickiest bit. The intricacy of the proof reveals how delicate this is, but also how robust the conclusion: correctness doesn't rely on dst() returning +- one hour (not all real time zones do!), it only relies on: 1. That dst() returns a (any) non-zero value if and only if daylight time is in effect. and 2. That the tzinfo subclass implements a consistent notion of time zone. The meaning of "consistent" was a hidden assumption, which is now an explicit requirement in the docs. Alas, it's an unverifiable (by the datetime implementation) requirement, but so it goes.
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-