summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!Tim Peters2001-02-041-6/+6
|
* Superseded by $(srcdir)/Makefile.pre.in.Neil Schemenauer2001-02-031-12/+0
|
* Added Node.isSameNode() support.Fred Drake2001-02-021-0/+7
|
* Ouch! I need a better test suite for this. ;-(Fred Drake2001-02-021-1/+0
|
* Add minimal interface to symtable: _symtable module.Jeremy Hylton2001-02-022-0/+9
|
* WeakDictionary.items(): Do not allow (key,ref) pairs to leak out forFred Drake2001-02-021-3/+3
| | | | dead references.
* Patch derived from Trent's 101162: a Python/C API testing framework.Tim Peters2001-02-022-0/+17
| | | | STILL NEEDS UNIX BUILD CHANGES.
* The socket constants have been moved to the socket module for a long time;Fred Drake2001-02-0214-2060/+0
| | | | | the standard library does not use the SOCKET module any more, and it is not defined for all platforms (Windows, in particular).
* An ssl-wrapped socket now returns '' on EOF, just like a regularJeremy Hylton2001-02-011-3/+7
| | | | | | socket -- as suggested by Clarence Gardner. Fix httplib to comply with the new ssl-socket interface.
* Allow 'continue' inside 'try' clauseJeremy Hylton2001-02-015-24/+25
| | | | SF patch 102989 by Thomas Wouters
* Undo recent change that banned using import to bind a global, as perJeremy Hylton2001-02-012-2/+0
| | | | | | | | | | | discussion on python-dev. 'from mod import *' is still banned except at the module level. Fix value for special NOOPT entry in symtable. Initialze to 0 instead of None, so that later uses of PyInt_AS_LONG() are valid. (Bug reported by Donn Cave.) replace local REPR macros with PyObject_REPR in object.h
* move extra arguments to the back of the new.code() arglistJeremy Hylton2001-02-011-1/+4
|
* Revise the driver code to be more informative in the final report.Fred Drake2001-02-011-7/+10
|
* Repaired a docstring.Tim Peters2001-02-011-1/+1
|
* PEP 205, Weak References -- initial checkin.Fred Drake2001-02-013-0/+356
|
* Change random.seed() so that it can get at the full range of possibleTim Peters2001-02-011-37/+67
| | | | | | | | internal states. Put the old .seed() (which could only get at about the square root of the # of possibilities) under the new name .whseed(), for bit-level compatibility with older versions. This occurred to me while reviewing effbot's book (he found himself stumbling over .seed() more than once there ...).
* Long ago, Guido suggested that I add this to the standard library.Barry Warsaw2001-01-311-0/+531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm now checking it in. I need to write some documentation for it, but I don't have time right now. Still, I wanted to get this into 2.1a2. # Overview: # # This file implements the minimal SMTP protocol as defined in RFC 821. It # has a hierarchy of classes which implement the backend functionality for the # smtpd. A number of classes are provided: # # SMTPServer - the base class for the backend. Raises an UnimplementedError # if you try to use it. # # DebuggingServer - simply prints each message it receives on stdout. # # PureProxy - Proxies all messages to a real smtpd which does final # delivery. One known problem with this class is that it doesn't handle # SMTP errors from the backend server at all. This should be fixed # (contributions are welcome!). # # MailmanProxy - An experimental hack to work with GNU Mailman # <www.list.org>. Using this server as your real incoming smtpd, your # mailhost will automatically recognize and accept mail destined to Mailman # lists when those lists are created. Every message not destined for a list # gets forwarded to a real backend smtpd, as with PureProxy. Again, errors # are not handled correctly yet.
* Two changes:Barry Warsaw2001-01-311-12/+43
| | | | | | | | | | | | - All constructors grow an optional argument `factory' which is a callable used when new message instances are created by the next() methods. Defaults to the rfc822.Message class. - A new subclass of UnixMailbox is added, called PortableUnixMailbox. It's identical to UnixMailbox, but uses a more portable test for From_ delimiter lines. With PortableUnixMailbox, any line that starts with "From " is considered a delimiter (this should really check for two newlines before the F, but it doesn't.
* move "from stat import *" to module levelJeremy Hylton2001-01-311-1/+1
|
* Checking in patch #103478 -- makes popen2 and fork1 tested on BeOS.Moshe Zadka2001-01-302-9/+9
| | | | Tested for not breaking builds on Linux.
* Fix test for free ref to global. This test should have caught aJeremy Hylton2001-01-301-1/+1
| | | | recently fixed bug, but it checked for the wrong answer.
* add test for illegal importsJeremy Hylton2001-01-302-0/+4
|
* Fixed posixpath.normpath() to respect two leading slashes, butMarc-André Lemburg2001-01-291-4/+9
| | | | | turn three or more into a single slash. (This is in sync with POSIX susv2 according to Fredrik.)
* Fixed .capitalize() method of Unicode objects to work like theMarc-André Lemburg2001-01-292-0/+4
| | | | | | corresponding string method. Added tests for this too. Patch written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* The one thing I love more then writing code is deleting code.Moshe Zadka2001-01-292-7/+26
| | | | | | | | | * Removed func_hash and func_compare, so they can be treated as immutable content-less objects (address hash and comparison) * Added tests to that affect to test_funcattrs (also testing func_code is writable) * Reverse meaning of tests in test_opcodes which checked identical code gets identical functions
* added several more urlencode test cases - part of patch 103391Skip Montanaro2001-01-281-3/+60
|
* allow first param urlencode to be a sequence of two-element tuples - in thisSkip Montanaro2001-01-281-5/+30
| | | | case, the order of parameters in the output matches the order of the inputs.
* Remove single "." components from pathnames, and return os.curdir ifJack Jansen2001-01-281-0/+4
| | | | the resulting path is empty.
* Data pathnames were not converted from URL-style to local style. Fixed.Jack Jansen2001-01-281-2/+4
|
* SF bug #130306: statcache.py full of thread problems.Tim Peters2001-01-281-39/+38
| | | | Fixed the thread races. Function forget_dir was also utterly Unix-specific.
* Added tests for new signature of new.instance().Fred Drake2001-01-281-7/+15
| | | | Use test_support.verify() where applicable.
* Except HierarchyRequestErr instead of TypeError.Martin v. Löwis2001-01-271-1/+1
|
* Re-indent.Martin v. Löwis2001-01-271-4/+4
|
* Synchronize with PyXML 1.5.Martin v. Löwis2001-01-272-1/+2
|
* Synchronize with PyXML 1.10Martin v. Löwis2001-01-271-7/+25
| | | | | Break cycle involving expat parser in close(). Add lex handler support to SAX2 pyexpat
* Re-indent.Martin v. Löwis2001-01-273-14/+14
|
* Merge changes of PyXML 1.13:Martin v. Löwis2001-01-271-9/+10
| | | | | | Use nodeName, not tagName in attributes. Provide get method for dictionary-like objects. Use DOM exceptions instead of standard exceptions.
* Synchronize with 1.10 of PyXML: Close parser when done.Martin v. Löwis2001-01-271-2/+1
|
* New comment block to Clarify a subtlety.Tim Peters2001-01-261-1/+5
|
* Patch #103052: Restore non-cyclic operation of pulldom.PullDOMMartin v. Löwis2001-01-261-49/+38
|
* Added an execution layer to be able to customize per-extensionMarc-André Lemburg2001-01-261-91/+92
| | | | building.
* unnecessary semicolonJeremy Hylton2001-01-261-1/+1
|
* unnecessary semicolonJeremy Hylton2001-01-261-1/+1
|
* The combo of getstate/setstate/jumpahead is very powerful, but needsTim Peters2001-01-261-6/+45
| | | | examples to flesh it out for the uninitiated. Here they are.
* SF bug 130030: Claim of bad betavariate algorithm.Tim Peters2001-01-261-6/+19
|
* Cosmetic changes after some sleep; no change in semantics.Tim Peters2001-01-251-64/+82
|
* PEP 227 implementationJeremy Hylton2001-01-253-1/+18
| | | | | test_new: new.code() noew takes two more arguments test_grammer: Add a bunch of test cases for lambda (not really PEP 227 related)
* PEP 227 implementationJeremy Hylton2001-01-252-0/+262
| | | | New tests cases for nested scopes.
* In subst_vars(), change the name of the argument from str to s toJeremy Hylton2001-01-251-2/+2
| | | | | | | | | prevent binding for str from masking use of builtin str in nested function. (This is the only case I found in the standard library where a local shadows a global or builtin. There may be others, but the regression test doesn't catch them.)
* PEP 227 implementationJeremy Hylton2001-01-251-1/+15
| | | | | Track changes to new opcodes. Add hasfree list that applies to all ops that use the closure.