summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add missing DECREF (thanks, Barry)Jeremy Hylton2001-02-021-0/+1
|
* 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).
* Move the whrandom entry to the "Obsolete Modules" appendix.Fred Drake2001-02-021-1/+1
|
* Minor markup adjustments.Fred Drake2001-02-021-15/+13
| | | | | Move some index entries next to what they are referring to for better "targetting".
* Minor markup adjustments.Fred Drake2001-02-021-22/+26
|
* Added a warning at the top saying that user code should not use theFred Drake2001-02-021-0/+2
| | | | whrandom module directly.
* Teach Windows build about the _weakref module.Tim Peters2001-02-023-1/+18
|
* SF patch 103543 from tg@freebsd.org:Jeremy Hylton2001-02-011-1/+1
| | | | PyFPE_END_PROTECT() was called on undefined var
* An ssl-wrapped socket now returns '' on EOF, just like a regularJeremy Hylton2001-02-012-10/+11
| | | | | | socket -- as suggested by Clarence Gardner. Fix httplib to comply with the new ssl-socket interface.
* continue now allowed in try blockJeremy Hylton2001-02-011-0/+4
|
* Allow 'continue' inside 'try' clauseJeremy Hylton2001-02-019-45/+74
| | | | SF patch 102989 by Thomas Wouters
* Special case around some of the nastier annoyances with the type-inBarry Warsaw2001-02-011-6/+25
| | | | | | | fields. You can now backspace out the 0 in 0x0, and you can clear the field when in decimal mode. There are still some oddities about typing into these fields, but it should be much less annoying. The real solution is to ditch the update-while-typing "feature".
* Move the "from Tkinter import *" out of the method and into the moduleBarry Warsaw2001-02-011-1/+2
| | | | | scope (still inside the __name__=='__main__' guard). Necessitated by recent addition of nested scopes.
* Add item about nested scopes.Jeremy Hylton2001-02-011-6/+39
| | | | | Revise item about restriction on 'from ... import *'. It was in the wrong section and the section restriction was removed.
* Undo recent change that banned using import to bind a global, as perJeremy Hylton2001-02-015-29/+31
| | | | | | | | | | | 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
* Added comments about the weak reference support.Fred Drake2001-02-011-0/+6
|
* add quicktest target -- runs test suite except for the eight slowest testsJeremy Hylton2001-02-011-0/+7
|
* move extra arguments to the back of the new.code() arglistJeremy Hylton2001-02-012-8/+28
|
* Added note about need for -traditional-cpp on the MacOS X Public Beta.Fred Drake2001-02-011-0/+7
| | | | This closes SF bug #129827.
* Revise the driver code to be more informative in the final report.Fred Drake2001-02-011-7/+10
|
* Fix some markup breakage that prevented formatting; re-wrapped a couple ofFred Drake2001-02-011-10/+10
| | | | wide paragraphs.
* Remove spurious "\end{description}" that caused formatting to fail.Fred Drake2001-02-011-2/+0
|
* Repaired a docstring.Tim Peters2001-02-011-1/+1
|
* PEP 205, Weak References -- initial checkin.Fred Drake2001-02-019-4/+1158
|
* Add entries for the weakref module to the build control.Fred Drake2001-02-012-0/+2
|
* Added entry for weakref documentation.Fred Drake2001-02-011-7/+11
| | | | | Moved commented-out entries for obsolete module to an appendix, still commented out.
* Add entry for weakref documentation.Fred Drake2001-02-011-0/+1
|
* Documentation for the weakref module.Fred Drake2001-02-011-0/+227
|
* Windows build: update for 2.1a2, + get ucnhash out of the installer.Tim Peters2001-02-014-15/+9
|
* Change random.seed() so that it can get at the full range of possibleTim Peters2001-02-013-51/+106
| | | | | | | | 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 ...).
* update section 4.1 to describe nested scopesJeremy Hylton2001-02-011-94/+83
|
* 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.
* Simple embedded program that does a module import. Useful forBarry Warsaw2001-01-311-0/+17
| | | | debugging leaks and other memory problems.
* Ignore the programs created in this directory.Barry Warsaw2001-01-311-0/+3
|
* Add targets to make building `loop' and `import' easier. Useful forBarry Warsaw2001-01-311-2/+5
| | | | debugging memory leaks and the like.
* Document the two changes to the mailbox.py module:Barry Warsaw2001-01-312-9/+46
| | | | | | | | | | | | - 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.
* 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.
* Some rewriting of the "Internationalizing your programs and modules"Barry Warsaw2001-01-311-20/+41
| | | | subsection to include a discussion of the msgfmt.py program.
* move "from stat import *" to module levelJeremy Hylton2001-01-311-1/+1
|
* Docs for new Windows zlib build procedure.Tim Peters2001-01-313-15/+18
|
* Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crashMark Hammond2001-01-312-6/+25
| | | | This involves changing the zlib build process to build zlib itself from sources, then use that library. Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
* Partial fix to [ Bug #128685 ] popen on Win9x isnt smart enough about ↵Mark Hammond2001-01-311-9/+45
| | | | | | | | finding w9xpopen.exe. "Partial" as the code uses sys.prefix in an attempt to locate 'w9xpopen.exe', but sys.prefix is not set if Python can't find it itself. So this _still_ fails in Pythonwin, but I am committing the patch for 2 reasons: * Embedded apps that set sys.prefix or use PYTHONHOME will work * The exception raised on failure to find the executable is far more obvious
* Fix Bug #125891 - os.popen2,3 and 4 leaked file objects on Windows.Mark Hammond2001-01-311-0/+5
|
* SF bug #130532: newest CVS won't build on AIX.Tim Peters2001-01-311-2/+0
| | | | | Removed illegal redefinition of REPR macro; kept the one with the argument name that isn't too easy to confuse with zero <wink>.
* Make HTML the default output format, since that is what people actuallyFred Drake2001-01-301-3/+3
| | | | want most of the time.
* Checking in patch #103478 -- makes popen2 and fork1 tested on BeOS.Moshe Zadka2001-01-302-9/+9
| | | | Tested for not breaking builds on Linux.
* New internal function BMObj_NewCopied() which copies the BitMap. Used to get ↵Jack Jansen2001-01-302-8/+46
| | | | the screenBits bitmap.
* add note about two kinds of illegal imports that are now checkedJeremy Hylton2001-01-301-0/+6
|
* 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
|