- 19 Kas, 2001 9 kayıt (commit)
-
-
Barry Warsaw yazdı
negative modulus won't return the right values. So always do positive modulus on an absolute value and twiddle the sign as appropriate after the fact.
-
Barry Warsaw yazdı
use the correct way to test for epoch, by looking at the year component of gmtime(0). Add clause for Unix epoch and Mac epoch (Tim, what is Windows epoch?). Also, get rid of the strptime() test, it was way too problematic given that strptime() is missing on many platforms and issues with locales. Instead, simply test that formatdate() gets the numeric timezone calculation correct for the altzone and timezone.
-
Barry Warsaw yazdı
incorrect for "uneven" timezones. This algorithm should work for even timezones (e.g. America/New_York) and uneven timezones (e.g. Australia/Adelaide and America/St_Johns). Closes SF bug #483231.
-
Martin v. Löwis yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
break the processor; this will do the right thing.
-
Fred Drake yazdı
platforms now, and has since Python 2.0. This closes SF bug #482943.
-
Fred Drake yazdı
-
Fred Drake yazdı
mailing list. This causes the docs to match the default implementation.
-
- 18 Kas, 2001 7 kayıt (commit)
-
-
Barry Warsaw yazdı
which has a different epoch than *nix. Jack may need to twiddle the details.
-
Barry Warsaw yazdı
called, if the pickler found a __getinitargs__() method.
-
Just van Rossum yazdı
-
Fred Drake yazdı
- the attrs value may be re-used by the parser, so the implementation cannot rely on owning the object. - an element with no namespace encountered in namespace mode will have a URI of None, not "" (startElementNS() only). Fixed a couple of minor markup issues as well.
-
Tim Peters yazdı
-
Tim Peters yazdı
what it is more carefully and point out some of the subtleties.
-
Fred Drake yazdı
older versions. (Thanks to Martijn Faassen.)
-
- 17 Kas, 2001 6 kayıt (commit)
-
-
Fred Drake yazdı
always fill in all slots of table entries. Fixed a few minor markup errors.
-
Fred Drake yazdı
-
Fred Drake yazdı
in the function table. Add a docstring for the function as well, since examples should show good form.
-
Fred Drake yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
-
- 16 Kas, 2001 9 kayıt (commit)
-
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
endings, and that it is smtplib's job to convert those to RFC 2821 line endings when sending the message.
-
Barry Warsaw yazdı
-
Fred Drake yazdı
-
Barry Warsaw yazdı
-
Fred Drake yazdı
which is a little more strict than the other formats on some things (fixable, but not tonight).
-
Fred Drake yazdı
-
Fred Drake yazdı
split parameters from the last path segment. Introduces two new functions, urlsplit() and urlunsplit(), that do the simpler job of splitting the URL without monkeying around with the parameters field, since that was not being handled properly. This closes bug #478038.
-
Fred Drake yazdı
Cleaned up some markup nits. Add a few more of the Tk-related modules to the list of modules.
-
- 15 Kas, 2001 9 kayıt (commit)
-
-
Barry Warsaw yazdı
instead of marshal for object serialization. Fred, please proofread!
-
Barry Warsaw yazdı
find_class(): We no longer mask all exceptions[1] by transforming them into SystemError. The latter is definitely not the right thing to do, so we let any exceptions that occur in the PyObject_GetAttr() call to simply propagate up if they occur. [1] Note that pickle only masked ImportError, KeyError, and AttributeError, but cPickle masked all exceptions.
-
Barry Warsaw yazdı
load_inst(): Implement the security hook that cPickle already had. When unpickling callables which are not classes, we look to see if the object has an attribute __safe_for_unpickling__. If this exists and has a true value, then we can call it to create the unpickled object. Otherwise we raise an UnpicklingError. find_class(): We no longer mask ImportError, KeyError, and AttributeError by transforming them into SystemError. The latter is definitely not the right thing to do, so we let the former three exceptions simply propagate up if they occur, i.e. we remove the try/except!
-
Barry Warsaw yazdı
documentation. This addresses previously undocumented parts of the public interfaces, the differences between pickle and cPickle, security concerns, and on and on. Fred please proofread!
-
Barry Warsaw yazdı
clarify some of the interface.
-
Fred Drake yazdı
-
Fred Drake yazdı
thing in the index.
-
Guido van Rossum yazdı
dictionary().
-
Guido van Rossum yazdı
special-cases classic classes, it doesn't do anything about other cases where different metaclasses are involved (except for the trivial case where one metaclass is a subclass of the others). Also note that it's metaclass, not metatype.
-