summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Moved socket, select, unicodedata to their own PYD. This shouldGuido van Rossum2000-04-0612-84/+373
| | | | | | | reduce the size of python16.dll to almost its 1.5.2 size, and remove dependencies on winsock unless sockets are actually used. Note that soundex is simply no longer supported.
* Note the exception raised when parameter to chr() is out of range.Fred Drake2000-04-061-1/+2
|
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-3/+20
| | | | Documentation for unichr(), unicode(), update for ord().
* Remove _socket, select, soundex, and unicodedata. These have beenGuido van Rossum2000-04-061-10/+0
| | | | moved to their own DLLs, or are obsolete (soundex).
* Added entry for codecs module.Fred Drake2000-04-061-0/+1
|
* Added codecs entry here as part of String Services.Fred Drake2000-04-061-0/+1
|
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-0/+126
| | | | | codecs module documentation, with some preliminary markup adjustments from FLD.
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-0/+101
| | | | | Tutorial information about Unicode strings in Python, with some markup adjustments from FLD.
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-0/+712
| | | | API documentation for Unicode support from C.
* But don't do the funny \UNICODE macro; we're trying to get away fromFred Drake2000-04-061-1/+1
| | | | those markups! <with-mixed-feelings>
* Patch from Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-0/+15
| | | | Added Unicode type to the language reference.
* Windows: Since we're not using ZLIB.DLL any more, don't define ZLIB_DLL.Guido van Rossum2000-04-061-3/+0
| | | | (Mark Hammond.)
* Add msvcrt to list of libraries to ignore in Debug mode.Guido van Rossum2000-04-061-1/+1
|
* Add missing import of 'usage' string.Greg Ward2000-04-061-2/+2
|
* Removed bogus connect() call in SMTP example; reported by TravisFred Drake2000-04-051-12/+0
| | | | | | B. Hartwell <slt5v@cc.usu.edu>. Removed second copy of the "See also" section!
* Added reference to the multifile module from the "See also" sectionFred Drake2000-04-051-0/+2
| | | | | in the mimetools documentation. Suggested by Skip Montanaro <skip@mojam.com>.
* Added a few cast to make it 68k-compatible.Jack Jansen2000-04-052-10/+10
|
* Fredrik Lundh: eliminate a MSVC compiler warning.Guido van Rossum2000-04-051-1/+1
|
* Marc-Andre's third try at this bulk patch seems to work (except thatGuido van Rossum2000-04-0517-115/+421
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | his copy of test_contains.py seems to be broken -- the lines he deleted were already absent). Checkin messages: New Unicode support for int(), float(), complex() and long(). - new APIs PyInt_FromUnicode() and PyLong_FromUnicode() - added support for Unicode to PyFloat_FromString() - new encoding API PyUnicode_EncodeDecimal() which converts Unicode to a decimal char* string (used in the above new APIs) - shortcuts for calls like int(<int object>) and float(<float obj>) - tests for all of the above Unicode compares and contains checks: - comparing Unicode and non-string types now works; TypeErrors are masked, all other errors such as ValueError during Unicode coercion are passed through (note that PyUnicode_Compare does not implement the masking -- PyObject_Compare does this) - contains now works for non-string types too; TypeErrors are masked and 0 returned; all other errors are passed through Better testing support for the standard codecs. Misc minor enhancements, such as an alias dbcs for the mbcs codec. Changes: - PyLong_FromString() now applies the same error checks as does PyInt_FromString(): trailing garbage is reported as error and not longer silently ignored. The only characters which may be trailing the digits are 'L' and 'l' -- these are still silently ignored. - string.ato?() now directly interface to int(), long() and float(). The error strings are now a little different, but the type still remains the same. These functions are now ready to get declared obsolete ;-) - PyNumber_Int() now also does a check for embedded NULL chars in the input string; PyNumber_Long() already did this (and still does) Followed by: Looks like I've gone a step too far there... (and test_contains.py seem to have a bug too). I've changed back to reporting all errors in PyUnicode_Contains() and added a few more test cases to test_contains.py (plus corrected the join() NameError).
* Forgot to save the project file -- this also reflects the use ofGuido van Rossum2000-04-051-4/+4
| | | | | Tcl/Tk 8.2 instead of 8.3, because 8.3.0 often crashes on closing a window.
* Lots of cleanup things.Guido van Rossum2000-04-051-190/+111
| | | | | | | | | | | | | | | | | | | | | Added the bitmaps back, and added the wizard style program group selection dialog. Got rid of references to backup etc. inserted by the installer wizard -- we don't use these. Got rid of conditionals for Windows 3.1, ditto. Changed version to 1.6a2. Changed default install directory to "C:\Python16" (not really, but close). Install only one copy of python16.lib. Install the two MS DLLs (versioned) and python16.dll (unversioned) in the system directory. Install Tcl/Tk and expat in the DLLs directory.
* Noted by Guido:Fred Drake2000-04-051-7/+7
| | | | | Fixed up descriptions of altzone and timezone not to refer to the 0th meridian, which doesn't exist. Reference is now to UTC.
* Noted by Guido:Fred Drake2000-04-051-2/+2
| | | | Directionality of up/down were confused.
* Noted by Guido:Fred Drake2000-04-051-1/+1
| | | | | Note in the "Caveats" section should refer to the exit() function, not exit_thread().
* Mark Hammond:Fred Drake2000-04-051-0/+2
| | | | | | This patch fixes the mmap module on Windows 9x. Also updates the mmap test to remove the test file.
* Mark Hammond <mhammond@skippinet.com.au>:Fred Drake2000-04-051-6/+2
| | | | This patch fixes the mmap module on Windows 9x.
* Work the Tcl version number in the path we search for.Guido van Rossum2000-04-041-2/+3
|
* Get rid of Win32s check.Guido van Rossum2000-04-041-17/+1
|
* Merged in changes from 1.5.2p2 release.Fred Drake2000-04-041-0/+2
|
* Merged in changes from 1.5.2p2 release as appropriate.Fred Drake2000-04-041-8/+15
|
* Skip Montanaro submits a simple patch that makes encode() and decode()Guido van Rossum2000-04-041-0/+4
| | | | recognize the '7bit' and '8bit' encodings, to simplify use.
* Added "See also" section; from Peter Funk <pf@artcom-gmbh.de>Fred Drake2000-04-041-1/+3
| | | | (re-written).
* Added "See also" section; from Peter Funk <pf@artcom-gmbh.de>.Fred Drake2000-04-041-0/+3
|
* Fixed typo in example code; spotted by Everett LipmanFred Drake2000-04-041-1/+1
| | | | <lipman@sphere.niddk.nih.gov>.
* Patch by Fred Gansevles.Guido van Rossum2000-04-041-9/+15
| | | | | | | | | | | This patch solves 2 problems of the os module. 1) Bug ID #50 (case-mismatch wiht "environ.get(..,..)" and "del environ[..]") 2) os.environ.update (dict) doesn't propagate changes to the 'real' environment (i.e doesn't call putenv) This patches also has minor changes specific for 1.6a The string module isn't used anymore, instead the strings own methods are used.
* Patch from Hrvoje Niksic <hniksic@iskon.hr>:Fred Drake2000-04-041-8/+8
| | | | | | | | | | | | | | The bug is in mmap_read_line_method(), and its loop that searches for newlines. After the loop reaches EOF, eol is incremented and points after the end of the memory. This results in readline() method sometimes picking up and returning a byte after the end of the string. This is usually a bogus \0, but it could cause SIGSEGV if it's after the end of the page). The patch fixes the problem. Also, it uses memchr() for finding a character, which is in fact the "strnchr" the comment is asking for. memchr() is already used in Python sources, so there should be no portability problems.
* Added notes about the eventual disappearance of two-parameter bind(),Fred Drake2000-04-041-2/+13
| | | | | | | connect(), and connect_ex(). I didn't make these deprecation notices since it was never a documented feature.
* Add warning that multi-arg connect() etc. are deprecated.Guido van Rossum2000-04-041-1/+1
|
* Put back multi-arg capability on connect/connect_ex/bind, forGuido van Rossum2000-04-041-21/+15
| | | | backwards compatibility, and to avoid a revolution.
* Since Thomas Wouters kept complaining that he wants access to the theGuido van Rossum2000-04-041-0/+3
| | | | | | | | Unix From lines, change the UnixMailbox class so that _search_start() positions the file *before* the Unix From line instead of after it; change _search_end() to skip one line before looking for the next From line. The rfc822.Message class automatically recognizes these Unix From lines and squirrels them away in the 'unixfrom' instance variable.
* Reorganization: ripped util.py to shreds, creating in the process:Greg Ward2000-04-045-664/+719
| | | | | | | | | - file_util.py: operations on single files - dir_util.py: operations on whole directories or directory trees - dep_util.py: simple timestamp-based dependency analysis - archive_util.py: creation of archive (tar, zip, ...) files The functions left in util.py are miscellany that don't fit in any of the new files.
* Reorganization: moved the Distribution class from core.py to dist.py, andGreg Ward2000-04-043-933/+963
| | | | | | the Command class from core.py to cmd.py. No other code needs changing though; distutils.core still provides the Command and Distribution classes, although indirectly now.
* Only write message about changed Tab size with -v.Guido van Rossum2000-04-031-1/+2
|
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-0359-520/+1252
| | | | (Very rough.)
* Merge in changes from the 1.5.2p2 release.Fred Drake2000-04-031-654/+1297
| | | | Hopefully I got all this right!
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-031-3/+24
|
* UserString section:Fred Drake2000-04-031-6/+5
| | | | | | | Small cleanups noted by Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>. Make the spelling of Unicode always uppercase.
* Note that "Unicode" is always capitalized.Fred Drake2000-04-031-0/+4
|
* Merge in changes from the 1.5.2p2 release.Fred Drake2000-04-031-24/+65
|
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-0314-201/+371
|