summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch #416224: add readline completion to cmd.Cmd.Martin v. Löwis2001-07-284-16/+110
|
* Squash compiler wng about mixing signed and unsigned in comparison.Tim Peters2001-07-281-1/+2
|
* Move Windows to Expat 1.95.2. CAUTION: Your Windows build won't workTim Peters2001-07-284-20/+14
| | | | until you download the new expat and install it; see PCbuild\readme.txt.
* Added the -X/--no-docstrings flag which takes a filename containing aBarry Warsaw2001-07-271-13/+32
| | | | | | | | | | | | | | | | | | | | | | | list of files to not extract docstrings from when the -D option is given. This isn't optimal, but I didn't want to change the semantics of -D, and it's bad form to allow optional switch arguments. Bumping __version__ to 1.4. TokenEater.__init__(): Initialize __curfile to None. __waiting(): In order to extract docstrings from the module, both the -D flag should be set, and the __curfile should not be named in the -X filename (i.e. it isn't in opts.nodocstrings). set_filename(): Fixed a bug where once the first module docstring is extracted, no subsequent module docstrings will be extracted. The bug was that the first extraction set __freshmodule to 0, but that flag was never reset back to 1. set_filename() is always called when the next file is being processed, so use it to reset the __freshmodule flag. main(): Add support for -X/--no-docstring.
* Fix buffer_info() docstring to match reality. See SF bug #444842.Guido van Rossum2001-07-271-1/+3
|
* config.h renamed to pyconfig.hJack Jansen2001-07-272-1/+1
|
* ProgressBar crashed when you tried to drag it. Fixed. Thanks go to Alfonso ↵Jack Jansen2001-07-271-1/+1
| | | | Baciero.
* 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!
* Repair more now-obsolete references to config.h.Tim Peters2001-07-2610-10/+10
|
* Document the PYTHONY2K environment variable that had been left out of thisFred Drake2001-07-261-8/+13
| | | | | | | | | list. Present the URLs at the bottom in a consistent manner, conforming to the style guide. Remove the lone use of "e.g.", which the style guide does not allow.
* Typo fix.Greg Ward2001-07-261-1/+1
|
* SF bug #444510: int() should guarantee truncation.Tim Peters2001-07-263-10/+27
| | | | It's guaranteed now, assuming the platform modf() works correctly.
* Add backwards compatibility.Marc-André Lemburg2001-07-261-1/+6
|
* Undoing the UCS-4 patch addition which caused unichr() to returnMarc-André Lemburg2001-07-261-1/+11
| | | | | surrogates for Unicode code points outside range(0x10000) on narrow Python builds.
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-2631-320/+320
|
* 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).
* trivial rewording in footnote 5.Skip Montanaro2001-07-251-2/+2
|
* Fix for bug #444493: u'\U00010001' segfaults with current CVS onMarc-André Lemburg2001-07-252-7/+23
| | | | wide builds.
* Allow usage of gcc on OSF/1; this reverts rev 1.23 of configure.in,Martin v. Löwis2001-07-252-383/+379
| | | | and fixes bug #438786.
* 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
|
* Add entry for the new distutils section.Fred Drake2001-07-242-0/+2
|
* Overview comments for the distutils package, with links to the distutilsFred Drake2001-07-241-0/+37
| | | | | manuals for more information. This is being added to make it easier to find the documentation for the distutils code.
* Add labels to all \section and \subsection headings for use in references.Fred Drake2001-07-241-15/+15
|
* Changed findertools.move() to move() in movetotrash.Jack Jansen2001-07-241-1/+1
|
* Use HAVE_SNPRINTF, not HAVE_SPRINTF, for checking the availability ofThomas Wouters2001-07-241-1/+1
| | | | snprintf.
* Patch #443669: Permit _tkinter to build on cygwin32.Martin v. Löwis2001-07-241-3/+7
|
* Autocheck for snprintf, and use sprintf if it is not available.Martin v. Löwis2001-07-245-10/+14
| | | | | Remove declaration of h_errno, since it is supposedly declared in netdb.h. Changes proposed by itojun.
* Be more specific about corner cases in the description of the $ RE syntax,Fred Drake2001-07-231-4/+7
| | | | | | and include an example where the MULTILINE flag makes a real difference. This closes SF bug #441600.
* 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.
* When explaining the enterabs() method, using the modern spelling of apply(),Fred Drake2001-07-231-3/+3
| | | | and relax the type of the argument list from tuple to sequence.
* Remove self-reference from the anydbm module.Fred Drake2001-07-231-1/+0
| | | | This closes SF patch #443788.
* Typo: Added missing "if".Fred Drake2001-07-231-1/+1
| | | | This is part of SF patch #442788.
* Add StopIteration to the list of exceptions *not* derived from StandardError.Fred Drake2001-07-231-3/+4
| | | | | Slightly re-word discussion of SystemExit and fork(). This is part of SF patch #443788.
* Convert the use of apply(f, args) to the new spelling: f(*args).Fred Drake2001-07-231-1/+1
| | | | This is part of SF patch #443788.
* Fix typo in comment.Neil Schemenauer2001-07-231-1/+1
|
* Add -E command line switch (ignore environment variables like PYTHONHOMENeil Schemenauer2001-07-2312-34/+59
| | | | and PYTHONPATH).
* 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.
* Patch number #422106 by Greg Ball, to fix segmentationMoshe Zadka2001-07-231-0/+5
| | | | | | | fault in sys.displayhook. Please check this in on the 2.2a1 branch (or whatever is necessary to get it working next release)
* Alex Coventry (SF patch 441791).Guido van Rossum2001-07-231-0/+1
|
* SF Patch #441791, with changes: when "import foo.bar" fails with anGuido van Rossum2001-07-231-4/+16
| | | | | | | exception in the execution of bar, ensure that foo.bar exists. (Previously, while sys.modules['foo.bar'] would exist, foo.bar would only be created upon successful execution of bar. This is inconvenient; some would say wrong. :-)
* Whitespace normalization.Tim Peters2001-07-231-4/+3
| | | | Note: This test fails on Windows. Don't know why yet.
* Before declaring h_errno, do not check for Win32 only. Instead, do checkMartin v. Löwis2001-07-232-2/+2
| | | | whether h_errno is a macro.
* Tests for the "commands" module, contributed by Nick Mathewson.Fred Drake2001-07-231-0/+45
| | | | This closes SF patch #440291.