summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* This test failed under python -O.Tim Peters2001-08-021-3/+7
| | | | | rewrite_file(): Delete both .pyc and .pyo leftovers, and explicitly close the new source file after writing to it.
* Unit test for improved package import semantics.Guido van Rossum2001-08-021-0/+74
| | | | | Original by Alex Coventry (in SF patch #441791), adapted to the standard regression test framework.
* Patch #444359: Remove unused imports.Martin v. Löwis2001-08-028-9/+2
|
* Merge of descr-branch back into trunk.Tim Peters2001-08-025-7/+849
|
* s/endswith/startswith/Tim Peters2001-08-011-1/+1
|
* Rewritten version of Finn Bock's SF patch #446907 (Allow jython toTim Peters2001-08-011-1/+4
| | | | complete test_import).
* Turn an octal constant into a hex constant.Guido van Rossum2001-08-011-1/+1
|
* A more lightweight (and read only) way to view help textSteven M. Gava2001-07-311-38/+4
| | | | | until the new help system is implemented. Removed some commented cruft.
* indentation style changed to match existing sourceSteven M. Gava2001-07-312-174/+174
|
* improve viewfile handlingSteven M. Gava2001-07-311-113/+118
| | | | indentation style changed to match existing source
* Add dead imports of modules that are "magically" imported.Martin v. Löwis2001-07-312-0/+11
|
* Remove obsolete entries from regen scripts.Martin v. Löwis2001-07-3114-40/+1
|
* Initialize msg to avoid unbound locals.Martin v. Löwis2001-07-315-0/+6
|
* activate new about dialog for testingSteven M. Gava2001-07-311-5/+7
|
* removed redundant separate idlfefork verSteven M. Gava2001-07-311-2/+1
|
* some new dialogs and support files for new about and configuration ↵Steven M. Gava2001-07-314-0/+365
| | | | implementations
* Amazing. This would open the sound file in text mode. Fixed.Guido van Rossum2001-07-311-1/+1
| | | | SF bug #446219.
* test_codeup should not have had an expected-output file; removing it.Tim Peters2001-07-301-10/+0
|
* Add tests for getattr() and hasattr() with non-string argsJeremy Hylton2001-07-302-0/+24
|
* Get the whitespace right!Fred Drake2001-07-301-3/+3
|
* Fix for SF bug [ #443866 ] Evaluating func_code causing core dumpJeremy Hylton2001-07-302-0/+14
| | | | Add test that calls eval with a code object that has free variables.
* Ugly fix used when pyexpat is not available.Jeremy Hylton2001-07-301-0/+3
| | | | | | | | | | If pyexpat is not available and more than one attempt is made to load an expat-based xml parser, an empty xml.parser.expat module will be created. This empty module will confuse xml.sax.expatreader into thinking that pyexpat is available. The ugly fix is to verify that the expat module actually defines the names that are imported from pyexpat.
* Fix when pyexpat not builtJeremy Hylton2001-07-301-0/+1
| | | | | Import pyexpat first so that import error occurs when it is not available.
* Patch #442866: Tests for codeop.py.Martin v. Löwis2001-07-302-0/+100
|
* Patch #445538: add completion for pstats.py sort cmd.Martin v. Löwis2001-07-301-0/+2
|
* Do convert_path() on script paths (now PyXML builds out of the boxJust van Rossum2001-07-291-0/+2
| | | | under MacOS.)
* Patch #443337: Fix incompatibilities in imputil's behavior.Martin v. Löwis2001-07-281-1/+9
|
* Remove usage of strop module.Martin v. Löwis2001-07-281-5/+2
|
* Patch #416224: add readline completion to cmd.Cmd.Martin v. Löwis2001-07-282-15/+85
|
* One more crack at join(): stop trying to pretend this isn't a mass ofTim Peters2001-07-272-16/+47
| | | | special cases. test_pkg works again on Windows.
* Change ntpath.join() so that join("d:/", "/whatever") returnsTim Peters2001-07-262-5/+7
| | | | | | | d:/whatever instead of /whatever. While I'm afraid changing isabs() to be *consistent* with this would break lots of code, it makes best sense for join() to do it this way. Thanks to Alex Martelli for pushing back on this one!
* SF bug #444510: int() should guarantee truncation.Tim Peters2001-07-261-0/+13
| | | | It's guaranteed now, assuming the platform modf() works correctly.
* Add backwards compatibility.Marc-André Lemburg2001-07-261-1/+6
|
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-263-13/+13
|
* Untabify IPv6 changes.Martin v. Löwis2001-07-265-126/+126
|
* Fix a denial-of-service attack, SF bug #443120.Guido van Rossum2001-07-251-4/+14
| | | | Code by Evan Simpson.
* Undo revision 1.7: always mangle a #! line containing "python" to pointGreg Ward2001-07-251-4/+2
| | | | | | | | | | | | | | to the current Python interpreter (ie. the one used for building/installation), even (especially!) if "/usr/bin/env" appears in the #! line. Rationale: installing scripts with "#!/usr/bin/env python" is asking for trouble, because 1) it might pick the wrong interpreter (not the one used to build/install the script) 2) it doesn't work on all platforms (try it on IRIX 5, or on Linux with command-line options for python) 3) "env" might not be in /usr/bin
* Don't "import *" from stat at all -- just import what's needed, andGreg Ward2001-07-251-1/+1
| | | | do it back in copy_file() (not at module level).
* Fix for bug #444493: u'\U00010001' segfaults with current CVS onMarc-André Lemburg2001-07-251-1/+2
| | | | wide builds.
* Remove unused imports from previous checkin.Martin v. Löwis2001-07-251-2/+0
|
* Patch #401196: Use getaddrinfo and AF_INET6 in TCP servers and clients.Martin v. Löwis2001-07-247-49/+160
|
* Oh, ok, so plainpager is probably marginally better.Fred Drake2001-07-231-1/+1
|
* If $TERM is "dumb" or "emacs", just dump the text instead of trying to runFred Drake2001-07-231-0/+2
| | | | | | "less". Patch contributed by Alex Convertry. This closes SF patch #443551.
* Make this test work under Windows as well.Fred Drake2001-07-231-2/+5
|
* Test for the "glob" module, contributed by Nick Mathewson.Fred Drake2001-07-231-0/+110
| | | | | Heavily modified so this doesn't break on Windows. This closes SF patch #441175.
* Whitespace normalization.Tim Peters2001-07-231-4/+3
| | | | Note: This test fails on Windows. Don't know why yet.
* Tests for the "commands" module, contributed by Nick Mathewson.Fred Drake2001-07-231-0/+45
| | | | This closes SF patch #440291.
* New tests by Nick Mathewson, for the fpformat module.Fred Drake2001-07-231-0/+67
| | | | This closes SF patch #440290.
* updated about info for 0.8.1 releaseSteven M. Gava2001-07-211-3/+3
|
* new material for 0.8.1 releaseSteven M. Gava2001-07-212-9/+30
|