summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* add extra tests to verify that co_varnames is being set up properlyJeremy Hylton2001-01-252-24/+23
| | | | | also normalize checks for syntax errors and delete commented out definition of verify.
* added a few more __all__ listsSkip Montanaro2001-01-254-8/+16
| | | | test___all__.py: fail silently in check_all if the module can't be imported
* fail more completely by deleting dbhash from sys.modules if bsddb can't beSkip Montanaro2001-01-251-1/+7
| | | | | loaded - prevents second import later from succeeding spuriously - mostly of use in regression tests where the module might get imported more than once
* Fix bugs introduced by rewrite (in particular, time-based initializationTim Peters2001-01-251-4/+38
| | | | | | | got broken). Also added new method .jumpahead(N). This finally gives us a semi-decent answer to how Python's RNGs can be used safely and efficiently in multithreaded programs (although it requires the user to use the new machinery!).
* Reworked random.py so that it no longer depends on, and offers all theTim Peters2001-01-251-257/+413
| | | | | | | | | | | functionality of, whrandom.py. Also closes all the "XXX" todos in random.py. New frequently-requested functions/methods getstate() and setstate(). All exported functions are now bound methods of a hidden instance. Killed all unintended exports. Updated the docs. FRED: The more I fiddle the docs, the less I understand the exact intended use of the \var, \code, \method tags. Please review critically. GUIDO: See email. I updated NEWS as if whrandom were deprecated; I think it should be.
* Fix the test output, now that escapes in repr() of string and UnicodeGuido van Rossum2001-01-242-6/+6
| | | | are different (Ping didn't test this).
* Fix the test output, now that escapes in repr() of string and UnicodeGuido van Rossum2001-01-241-3/+3
| | | | are different (Ping couldn't test this).
* New asynchat.py from Sam Rushing: this foregoes using the regex moduleAndrew M. Kuchling2001-01-241-36/+12
| | | | | to find the prefix of strings, thus removing a warning, and simply uses straightforward string slicing.
* Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.Ka-Ping Yee2001-01-243-162/+162
| | | | Switch from octal escapes to hex escapes for other nonprintable characters.
* There is no more Modules/Makefile, use toplevel Makefile.Neil Schemenauer2001-01-241-1/+1
|
* Updated version of asyncore.py from Sam Rushing:Andrew M. Kuchling2001-01-241-4/+40
| | | | | | Adds support for using select.poll() if it's available Move a 'map is None' test out of an else branch and into the right place
* Part of patch #102409: special cases for Cygwin:Andrew M. Kuchling2001-01-241-0/+18
| | | | | | | | | Lib/distutils/command/build_ext.py(build_ext.finalize_options): Add Cygwin specific code to append Python's library directory to the extension's list of library directories. (build_ext.get_libraries): Add Cygwin specific code to append Python's (import) library to the extension's list of libraries.
* test___all__ was failing on WIndows because locale.py doesn't reallyTim Peters2001-01-241-3/+10
| | | | | know which names it exports. Didn't fix its ignorance, but patched over the consequence.
* Move uchhash functionality into unicodedata (after the recentFredrik Lundh2001-01-241-7/+8
| | | | | crop of changes, the files are small enough to do this). Also adds "name" and "lookup" functions to unicodedata.
* a few more modules get __all__Skip Montanaro2001-01-2411-0/+31
|
* __all__: removed "error", "abort", "readonly", as these are notBarry Warsaw2001-01-241-2/+2
| | | | | | | exportable module attributes (they're attributes on the IMAP class). Fixed the case typo on Time2Internaldate. Does anybody run the test suite any more? <wink>
* It's "gopherlib" not "gopher".Barry Warsaw2001-01-241-1/+1
|
* Fixed autoraise glitches.Eric S. Raymond2001-01-231-5/+5
|
* added a few more __all__ listsSkip Montanaro2001-01-239-1/+26
| | | | fixed typo in ihooks docstring
* Expose the autoraise capability. Improve the documentation.Eric S. Raymond2001-01-231-10/+7
|
* Rewrite webbrowser.py to fix various bugs following Ka-Ping Yee'sEric S. Raymond2001-01-231-178/+222
| | | | | | | | complaints. The new version moves most of its initialization to package load time; it's simpler, faster, smaller, and adds support for Mozilla and Links. Interpretation of the BROWSER variable now works and is documented. The open_new entry point and methods are marked "deprecated; may be removed in 2.1".
* Restore alphabetic order. Also try to import rlcompleter and curses, butTim Peters2001-01-231-7/+15
| | | | don't fail if they're not available.
* Add simple test of list comprehension that uses a name that isn'tJeremy Hylton2001-01-232-0/+7
| | | | | otherwise used in the same code block. (Not sure this is the right place, but there is no test_list_comprehensions.py.)
* - Use "exec ... in dict" to avoid having to walk on eggshells; localsGuido van Rossum2001-01-221-14/+20
| | | | | | | | | no don't have to start with underscore. - Add spaces after commas in argument lists. - Only test dbhash if bsddb can be imported. (Wonder if there are more like this?)
* Typo repair.Tim Peters2001-01-221-1/+1
|
* Reorganize pickle/cPickle testing so the tests pass regardless of the orderTim Peters2001-01-224-170/+157
| | | | they're run.
* The "user" module cannot reasonably be tested. Moved to the end (andFred Drake2001-01-221-2/+6
| | | | | | commented it out), and added an explanation as to *why*. Added period to docstring.
* OK, changed my mind once more on this. The comparison hierarchy isGuido van Rossum2001-01-221-1/+1
| | | | | | | | | | | | | | now None < all numeric types < all other types so that once again map(max, Squares(3), Squares(2)) equals [0, 1, 4]