Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | formatdate(): The calculation of the minutes part of the zone was | Barry Warsaw | 2001-11-19 | 1 | -1/+2 |
| | | | | | | | | 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. | ||||
* | Test for negative buffer sizes. Fixes #482871. | Martin v. Löwis | 2001-11-19 | 1 | -0/+5 |
| | |||||
* | Avoid trailing blank lines in the output. | Fred Drake | 2001-11-19 | 1 | -0/+4 |
| | |||||
* | Adjust input pre-processing so that a comment on the last line does not | Fred Drake | 2001-11-19 | 1 | -1/+3 |
| | | | | break the processor; this will do the right thing. | ||||
* | Update the platform notes for the CGIHTTPServer module; it works on more | Fred Drake | 2001-11-19 | 1 | -3/+3 |
| | | | | | platforms now, and has since Python 2.0. This closes SF bug #482943. | ||||
* | Another name... | Fred Drake | 2001-11-19 | 1 | -0/+1 |
| | |||||
* | Fix the default value for feature_namespaces, per discussions on the XML-SIG | Fred Drake | 2001-11-19 | 1 | -2/+2 |
| | | | | mailing list. This causes the docs to match the default implementation. | ||||
* | test_formatdate(): A test that has a mild hope of working on Mac, | Barry Warsaw | 2001-11-18 | 1 | -1/+11 |
| | | | | | which has a different epoch than *nix. Jack may need to twiddle the details. | ||||
* | Paul Rubin reminds me that of course a class's constructor /could/ get | Barry Warsaw | 2001-11-18 | 1 | -4/+6 |
| | | | | called, if the pickler found a __getinitargs__() method. | ||||
* | a whole bunch of OSX tweaks | Just van Rossum | 2001-11-18 | 10 | -69/+105 |
| | |||||
* | Clarified a couple of issues for the startElement*() handlers: | Fred Drake | 2001-11-18 | 1 | -8/+18 |
| | | | | | | | | | - 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. | ||||
* | Relatively large expansion of the docs for gc.garbage. | Tim Peters | 2001-11-18 | 1 | -5/+19 |
| | |||||
* | Since the MAGIC number scheme is going to break on January 1st, document | Tim Peters | 2001-11-18 | 1 | -4/+16 |
| | | | | what it is more carefully and point out some of the subtleties. | ||||
* | assert.h was not always included by Python.h; make sure we import it for | Fred Drake | 2001-11-18 | 1 | -0/+3 |
| | | | | older versions. (Thanks to Martijn Faassen.) | ||||
* | Exhibit good form in C code: always provide docstrings in method tables, and | Fred Drake | 2001-11-17 | 3 | -19/+25 |
| | | | | | always fill in all slots of table entries. Fixed a few minor markup errors. | ||||
* | Add omitted word for clarity. | Fred Drake | 2001-11-17 | 1 | -1/+1 |
| | |||||
* | Update to use more modern calling conventions; also avoid a magic number | Fred Drake | 2001-11-17 | 1 | -3/+2 |
| | | | | | in the function table. Add a docstring for the function as well, since examples should show good form. | ||||
* | Bump the version number; used to identify the Python runtime we link to. | Fred Drake | 2001-11-17 | 1 | -1/+1 |
| | |||||
* | Update Windows installer for 2.2c1. | Tim Peters | 2001-11-17 | 1 | -4/+4 |
| | |||||
* | Add skeleton for 2.2c1 news. | Tim Peters | 2001-11-17 | 1 | -0/+27 |
| | |||||
* | Toughen up the security warnings a bit. | Barry Warsaw | 2001-11-16 | 1 | -8/+13 |
| | |||||
* | Add a clarification that the email package always deals in native line | Barry Warsaw | 2001-11-16 | 1 | -1/+13 |
| | | | | | endings, and that it is smtplib's job to convert those to RFC 2821 line endings when sending the message. | ||||
* | Bumping version number. | Barry Warsaw | 2001-11-16 | 1 | -2/+2 |
| | |||||
* | Post-release bumps. Do *NOT* merge into the 2.2b2 branch. | Fred Drake | 2001-11-16 | 2 | -3/+3 |
| | |||||
* | Merged in NEWS changes from the r22b2 branch. | Barry Warsaw | 2001-11-16 | 1 | -3/+57 |
| | |||||
* | Clean up some markup a little bit more. Make this work with the PDF format, | Fred Drake | 2001-11-16 | 1 | -43/+56 |
| | | | | | which is a little more strict than the other formats on some things (fixable, but not tonight). | ||||
* | Document the urlsplit() and urlunsplit() functions. | Fred Drake | 2001-11-16 | 1 | -0/+19 |
| | |||||
* | Fix parsing of parameters from a URL; urlparse() did not check that it only | Fred Drake | 2001-11-16 | 1 | -34/+46 |
| | | | | | | | | 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. | ||||
* | Switched a couple of sections around. | Fred Drake | 2001-11-16 | 1 | -245/+279 |
| | | | | | Cleaned up some markup nits. Add a few more of the Tk-related modules to the list of modules. | ||||
* | A few minor updates to make it clear(er) that pickle should be used | Barry Warsaw | 2001-11-15 | 1 | -2/+8 |
| | | | | | | instead of marshal for object serialization. Fred, please proofread! | ||||
* | A change to sync with pickle.py: | Barry Warsaw | 2001-11-15 | 1 | -8/+0 |
| | | | | | | | | | | 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. | ||||
* | Two changes: | Barry Warsaw | 2001-11-15 | 1 | -8/+6 |
| | | | | | | | | | | | | | | 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! | ||||
* | A massive rewrite affecting both the pickle and cPickle module | Barry Warsaw | 2001-11-15 | 1 | -232/+610 |
| | | | | | | | | 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! | ||||
* | Minor updates to add more pointers to the pickle documentation, and to | Barry Warsaw | 2001-11-15 | 1 | -1/+7 |
| | | | | clarify some of the interface. | ||||
* | The turtle docs will be moving to another location in the Tkinter chapter. | Fred Drake | 2001-11-15 | 1 | -1/+0 |
| | |||||
* | Clean up the descriptions of multi-signature functions so we do the right | Fred Drake | 2001-11-15 | 1 | -15/+10 |
| | | | | thing in the index. | ||||
* | Group dict[ionary] news together; and use dict() instead of | Guido van Rossum | 2001-11-15 | 1 | -5/+4 |
| | | | | dictionary(). | ||||
* | Correct the description of mixed multiple inheritance: the code | Guido van Rossum | 2001-11-15 | 1 | -5/+3 |
| | | | | | | | 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. | ||||
* | News about mixing classic and new-style classes in MI. | Tim Peters | 2001-11-15 | 1 | -1/+14 |
| | |||||
* | Bump Windows buildno for 2.2b2. | Tim Peters | 2001-11-15 | 2 | -2/+4 |
| | |||||
* | Thanks for the Tkinter chapter, Mike! | Fred Drake | 2001-11-15 | 1 | -0/+1 |
| | |||||
* | Add entries for the new Tkinter chapter. | Fred Drake | 2001-11-15 | 2 | -0/+5 |
| | |||||
* | Tkinter chapter, contributed by Mike Clarkson. Based in part on the "Tkinter | Fred Drake | 2001-11-15 | 1 | -0/+1674 |
| | | | | Life Preserver" by Matt Conway. | ||||
* | More simple test cases for mixed classic+new multiple inheritance. | Tim Peters | 2001-11-14 | 1 | -0/+35 |
| | |||||
* | Changing diapers reminded Guido that he wanted to allow for some measure | Tim Peters | 2001-11-14 | 2 | -37/+144 |
| | | | | | | of multiple inheritance from a mix of new- and classic-style classes. This is his patch, plus a start at some test cases from me. Will check in more, plus a NEWS blurb, later tonight. | ||||
* | Finally commit the font changes that have been live on the development site | Fred Drake | 2001-11-14 | 1 | -2/+7 |
| | | | | for a month or more. | ||||
* | Bump release number & date. | Fred Drake | 2001-11-14 | 2 | -3/+3 |
| | |||||
* | Fred observes that the typo was not the only problem with this sentence. | Jeremy Hylton | 2001-11-14 | 1 | -1/+1 |
| | |||||
* | typo | Jeremy Hylton | 2001-11-14 | 1 | -2/+2 |
| | |||||
* | Don't initialize tp_type statically, it won't work on Windows. Spotted | Jack Jansen | 2001-11-14 | 1 | -1/+1 |
| | | | | by Thomas Heller (patch 459442). |