- 03 Jan, 2003 15 commits
-
-
Neal Norwitz authored
Also added realpath = abspath for os2emx, similar to windows/mac which also don't really implement realpath. Backport candidate, I think?
-
Andrew M. Kuchling authored
Mention difference between 2.2.2 and 2.3 True and False
-
Guido van Rossum authored
-
Skip Montanaro authored
-
Andrew M. Kuchling authored
-
Skip Montanaro authored
-
Andrew M. Kuchling authored
Add two sections to this manual about package meta-data and about registering packages
-
Andrew M. Kuchling authored
Add the 'register' distutils command
-
Andrew M. Kuchling authored
Add 'classifiers' keyword to DistributionMetadata
-
Just van Rossum authored
Lesson learned: kids should not be allowed to use API's starting with an underscore :-/ zipimport in 2.3a1 is even more broken than I thought: I attemped to _PyString_Resize a string created by PyString_FromStringAndSize, which fails for strings with length 0 or 1 since the latter returns an interned string in those cases. This would cause a SystemError with empty source files (and no matching pyc) in the zip archive. I rewrote the offending code to simply allocate a new buffer and avoid _PyString_Resize altogether. Added a test that would've caught the problem.
-
Raymond Hettinger authored
-
Michael W. Hudson authored
-
Raymond Hettinger authored
Simplify code and speed access by using PyArg_UnpackTuple, METH_O and METH_NOARGS in three modules that can benefit from it.
-
David Goodger authored
-
David Goodger authored
-
- 02 Jan, 2003 25 commits
-
-
Andrew M. Kuchling authored
-
Barry Warsaw authored
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 authored
-
Tim Peters authored
(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 authored
661092.
-
Kurt B. Kaiser authored
2. Add more .txt files to installation 3. Fix the reference to Visual Python, s/b VPython
-
Tim Peters authored
dst() returns None (instead of treating that as 0).
-
Tim Peters authored
be an unbounded number of API changes <0.6 wink>.
-
Tim Peters authored
turned out to be 3 special cases of a single more-general result. Proving the latter instead is a real simplification.
-
Kurt B. Kaiser authored
-
Tim Peters authored
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 authored
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 authored
-
Guido van Rossum authored
release branch?)
-
Tim Peters authored
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 authored
-
Neal Norwitz authored
Add a test for logging from Vinay Sajip (module author)
-
Andrew M. Kuchling authored
-
Just van Rossum authored
This work uncovered the zipimport bug in 2.3a1 -- wish I'd had time to do this before the release :-(.
-
Just van Rossum authored
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 authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
-