summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix SF #433233: syntax error.Guido van Rossum2001-06-151-2/+2
|
* Bring SRE up do date with Python 2.1Guido van Rossum2001-06-134-86/+218
|
* Backported two fixes from the Py2.1 tree (pre-unittest rewrite):Barry Warsaw2001-06-041-3/+9
| | | | | | | | | | | | | | | ---------------------------- revision 1.3 date: 2001/04/10 15:01:20; author: gvanrossum; state: Exp; lines: +6 -0 Some other tests, when failing, don't always remove their TESTFN file. Try to do it for them, so our mkdir() operation doesn't fail. ---------------------------- revision 1.2 date: 2001/03/02 05:46:17; author: gvanrossum; state: Exp; lines: +3 -3 When catching errors from os.rmdir(), test for os.error, not IOError! ---------------------------- except I used OSError instead of os.error.
* The SF patch (#129288 - urllib.py - chanign %02x to %02X in quoting)Barry Warsaw2001-06-041-3/+3
| | | | | | | | | | | | | was applied to urllib.py, but the corresponding change to test_urllib.py was not applied. Backport revision 1.6 of this file into the 2.0 maintenance branch. ---------------------------- revision 1.6 date: 2001/01/19 07:00:08; author: tim_one; state: Exp; lines: +8 -3 urllib.py very recently changed to produce uppercase escapes, but no corresponding changes were made to its std test. ----------------------------
* Lib/xml/sax/xmlreader.py - import the exceptions this module can raiseMoshe Zadka2001-04-131-0/+3
|
* Inspired by Tim Peters' 1.14->1.15 checkin to asynchatMoshe Zadka2001-04-111-1/+1
| | | | | | | | | | | | | | | Quoting orignal message: ''' Fix from the Madusa mailing list: http://groups.yahoo.com/group/medusa/message/333 It's clear that Medusa should not be checking for an empty buffer via "buf is ''". The patch merely changes "is" to "==". However, there's a mystery here all the same: Python attempts to store null strings uniquely, so it's unclear why "buf is ''" ever returned false when buf actually was empty. *Some* string operations produce non-unique null strings, e.g. '''
* - #233253 - distutils/command/build_ext.py - the --define and --undef optionsMoshe Zadka2001-03-311-1/+19
| | | | | | | didn't work, whether specified on the command-line or in setup.cfg. - distutils/command/build_ext.py - make docstrings raw - #128930 - distutils/command/build_ext.py - split rpath argument Suggested by AMK, but had to be massaged a bit from the cvs diff
* - distutils/command/install.py - make .get_outputs() produce a list of uniqueMoshe Zadka2001-03-311-1/+5
| | | | filenames
* - #227562 - urllib.py - call URLopener.http_error_default whenMoshe Zadka2001-03-311-4/+22
| | | | | | | an invalid 401 request is being handled. - urllib.py - provide simple recovery/escape from apparent redirect recursion - #129288 - urllib.py - chanign %02x to %02X in quoting - urllib.py - HTTPS now works with string URLs
* - xmllib.py - Moved clearing of "literal" flag. The flag is set in setliteralMoshe Zadka2001-03-311-1/+1
| | | | | | | which can be called from a start tag handler. When the corresponding end tag is read the flag is cleared. However, it didn't get cleared when the start tag was for an empty element of the type <tag .../>. This modification fixes the problem.
* Treat \r as whitespace too, when removing trailing whitespaceMoshe Zadka2001-03-311-1/+1
|
* - #12195 - webbrowser.py - there was typo in Mac codeMoshe Zadka2001-03-311-1/+1
|
* The ".pth" code knew about the layout of Python trees on unix andMoshe Zadka2001-03-311-0/+2
| | | | windows, but not on the mac. Fixed.
* - #130306 - statcache.py - full of thread problems.Moshe Zadka2001-03-311-18/+13
| | | | - Made statcache.forget_dir more portable
* Fix two typos in __imul__. Closes Bug #117745.Moshe Zadka2001-03-311-2/+2
|
* curses.ascii - space (ASCII 32) is now considered whitespaceMoshe Zadka2001-03-311-1/+1
|
* atexit.py - mutate list of functions in thread-safe wayMoshe Zadka2001-03-311-2/+1
|
* #123924: Windows - using OpenSSL, problem with socket in httplib.py.Moshe Zadka2001-03-311-1/+4
|
* - #119833 - close socket in smtplib if there was an error connectingMoshe Zadka2001-03-312-16/+27
| | | | - #126863 - getopt long option handling fixed
* Fixing #125452 - shlex.shlex hangs when it encounters a string with anMoshe Zadka2001-03-311-0/+5
| | | | unmatched quote
* #126161 and 123634 -- Unicode strings could not be pickled correctly.Moshe Zadka2001-03-301-0/+2
| | | | | This is *backwards incompatible* with the previous pickling scheme, which wasnot reversible
* Fixing #409651 -- \ in a character groupMoshe Zadka2001-03-301-1/+1
|
* In Lib/locale.py, setlocale emulation, use != and not is not to compareMoshe Zadka2001-03-301-1/+1
| | | | strings
* Merge Moshe's patch (fix argcnt for _cmp() into the 2.0.1 branch.Guido van Rossum2001-03-201-2/+2
|
* This commit was manufactured by cvs2svn to create branchcvs2svn2001-01-0279-12768/+33
| | | | 'release20-maint'.
* the usual (part II)Jeremy Hylton2000-10-161-30/+40
|
* Test for math.* exceptional behavior only in verbose mode, so that theTim Peters2000-10-162-31/+40
| | | | | oddball platforms (where, e.g., math.exp(+huge) still fails to raise OverflowError) don't fail the std test suite when run normally.
* the usualJeremy Hylton2000-10-1610-259/+488
|
* find(): Application of (slightly modified) SF patch #101928 by UlfBarry Warsaw2000-10-161-4/+4
| | | | | | Betlehem, verified by Peter Funk. Fixes preservation of language search order lost due to use of dictionary keys instead of a list. Closes SF bug #116964.
* Bump version to 1.0.1.Greg Ward2000-10-151-1/+1
|
* Fixed minor problem with reset().Lars Gustäbel2000-10-141-1/+2
|
* Removed debugging code at bottom.Greg Ward2000-10-141-8/+0
|
* Untabified.Greg Ward2000-10-148-14/+14
|
* Bastian Kleineidam: make 'check_lib()' more like AC_CHECK_LIB by addingGreg Ward2000-10-141-3/+6
| | | | an 'other_libraries()' parameter.
* Lyle Johnson: use 'normcase()' in addition to 'normpath()' when testing ifGreg Ward2000-10-141-2/+4
| | | | we actually installed modules to a directory in sys.path.
* Bastian Kleineidam: fix up any supplied command-line options.Greg Ward2000-10-141-1/+16
|
* Now supports entire Python 2.0 language and still supports PythonJeremy Hylton2000-10-134-93/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.5.2. The compiler generates code for the version of the interpreter it is run under. ast.py: Print and Printnl add dest attr for extended print new node AugAssign for augmented assignments new nodes ListComp, ListCompFor, and ListCompIf for list comprehensions pyassem.py: add work around for string-Unicode comparison raising UnicodeError on comparison of two objects in code object's const table pycodegen.py: define VERSION, the Python major version number get magic number using imp.get_magic() instead of hard coding implement list comprehensions, extended print, and augmented assignment; augmented assignment uses Delegator classes (see doc string) fix import and tuple unpacking for 1.5.2 transformer.py: various changes to support new 2.0 grammar and old 1.5 grammar add debug_tree helper than converts and symbol and token numbers to their names
* Updated test suite to latest pulldom changes.Lars Gustäbel2000-10-132-19/+19
|
* Moved appendChild calls back to DOMEventStream.Lars Gustäbel2000-10-131-7/+27
| | | | Added SAX2DOM class.
* Clear siblings, now that they are being set.Paul Prescod2000-10-131-0/+2
|
* Make the regrtest.py -l (findleaks) option considerably less obnoxious.Neil Schemenauer2000-10-131-4/+10
| | | | | | First, only report garbage that the GC cannot free. Second, only report the number of objects found, not their repr(). People can dig deeper on their own if they find a leak.
* Fix SF bug #116263: support for from .. import *Jeremy Hylton2000-10-123-4/+13
| | | | | | transformer.py: return '*', None from com_import_as_name pycodegen.py: special case for name == '*' pyassem.py: fix stack counting for IMPORT_ opcodes
* If the status line is invalid, assume it is a pre-1.0 response. TheJeremy Hylton2000-10-121-3/+10
| | | | msg/headers are empty and the entire response is treated as the body.
* Recreated after installer source code changes.Thomas Heller2000-10-121-246/+246
| | | | | This should close SF bug (patch) http://sourceforge.net/patch/?func=detailpatch&patch_id=101844&group_id=5470
* two fixes for redirects:Jeremy Hylton2000-10-121-24/+31
| | | | | | | | | | | | | | | - don't close the fp, since that appears to also close the socket - join the original url with the redirect reponse to deal with relative redirect URL wrap two socket ops in try/except to turn them into URLErrors, so that client code need only catch one exception. in HTTPError.__del__ only close fp if fp is not None style changes: - use f(*args) instead of apply(f, args) - use __super_init instead of super.__init__(self, ...)
* cosmetic changes only:Jeremy Hylton2000-10-121-118/+118
| | | | use standard Python style for whitespace near = and ()
* Added a test for the StringIO write() error I just fixed.Guido van Rossum2000-10-122-0/+9
|
* [ Bug #116636 ] Bug in StringIO.write()Guido van Rossum2000-10-121-0/+2
| | | | | | | | | | | | http://sourceforge.net/bugs/?func=detailbug&bug_id=116636&group_id=5470 bobalex@rsv.ricoh.com Bug report: If the file position is less than the end of the "file", and a write is performed extending past then end of the file, the data string is corrupted. Solution: in write(), when writing past the end, properly set self.len when newpos is > self.len.
* Anonymous patch to add Darwin 1.2 to the list of BSDs.Guido van Rossum2000-10-121-1/+1
| | | | | | | Let's hope this is correct (I'm not sure why the sys.platform would be 'Darwin1.2' rather than 'darwin1', which seems to be the convention). Someone with Darwin please test this!
* Added some single tuple/list unpacking for JPython regression testing.Barry Warsaw2000-10-121-0/+12
|