Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #416224: add readline completion to cmd.Cmd. | Martin v. Löwis | 2001-07-28 | 4 | -16/+110 |
| | |||||
* | Squash compiler wng about mixing signed and unsigned in comparison. | Tim Peters | 2001-07-28 | 1 | -1/+2 |
| | |||||
* | Move Windows to Expat 1.95.2. CAUTION: Your Windows build won't work | Tim Peters | 2001-07-28 | 4 | -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 a | Barry Warsaw | 2001-07-27 | 1 | -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 Rossum | 2001-07-27 | 1 | -1/+3 |
| | |||||
* | config.h renamed to pyconfig.h | Jack Jansen | 2001-07-27 | 2 | -1/+1 |
| | |||||
* | ProgressBar crashed when you tried to drag it. Fixed. Thanks go to Alfonso ↵ | Jack Jansen | 2001-07-27 | 1 | -1/+1 |
| | | | | Baciero. | ||||
* | One more crack at join(): stop trying to pretend this isn't a mass of | Tim Peters | 2001-07-27 | 2 | -16/+47 |
| | | | | special cases. test_pkg works again on Windows. | ||||
* | Change ntpath.join() so that join("d:/", "/whatever") returns | Tim Peters | 2001-07-26 | 2 | -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 Peters | 2001-07-26 | 10 | -10/+10 |
| | |||||
* | Document the PYTHONY2K environment variable that had been left out of this | Fred Drake | 2001-07-26 | 1 | -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 Ward | 2001-07-26 | 1 | -1/+1 |
| | |||||
* | SF bug #444510: int() should guarantee truncation. | Tim Peters | 2001-07-26 | 3 | -10/+27 |
| | | | | It's guaranteed now, assuming the platform modf() works correctly. | ||||
* | Add backwards compatibility. | Marc-André Lemburg | 2001-07-26 | 1 | -1/+6 |
| | |||||
* | Undoing the UCS-4 patch addition which caused unichr() to return | Marc-André Lemburg | 2001-07-26 | 1 | -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öwis | 2001-07-26 | 31 | -320/+320 |
| | |||||
* | Untabify IPv6 changes. | Martin v. Löwis | 2001-07-26 | 5 | -126/+126 |
| | |||||
* | Fix a denial-of-service attack, SF bug #443120. | Guido van Rossum | 2001-07-25 | 1 | -4/+14 |
| | | | | Code by Evan Simpson. | ||||
* | Undo revision 1.7: always mangle a #! line containing "python" to point | Greg Ward | 2001-07-25 | 1 | -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, and | Greg Ward | 2001-07-25 | 1 | -1/+1 |
| | | | | do it back in copy_file() (not at module level). | ||||
* | trivial rewording in footnote 5. | Skip Montanaro | 2001-07-25 | 1 | -2/+2 |
| | |||||
* | Fix for bug #444493: u'\U00010001' segfaults with current CVS on | Marc-André Lemburg | 2001-07-25 | 2 | -7/+23 |
| | | | | wide builds. | ||||
* | Allow usage of gcc on OSF/1; this reverts rev 1.23 of configure.in, | Martin v. Löwis | 2001-07-25 | 2 | -383/+379 |
| | | | | and fixes bug #438786. | ||||
* | Remove unused imports from previous checkin. | Martin v. Löwis | 2001-07-25 | 1 | -2/+0 |
| | |||||
* | Patch #401196: Use getaddrinfo and AF_INET6 in TCP servers and clients. | Martin v. Löwis | 2001-07-24 | 7 | -49/+160 |
| | |||||
* | Add entry for the new distutils section. | Fred Drake | 2001-07-24 | 2 | -0/+2 |
| | |||||
* | Overview comments for the distutils package, with links to the distutils | Fred Drake | 2001-07-24 | 1 | -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 Drake | 2001-07-24 | 1 | -15/+15 |
| | |||||
* | Changed findertools.move() to move() in movetotrash. | Jack Jansen | 2001-07-24 | 1 | -1/+1 |
| | |||||
* | Use HAVE_SNPRINTF, not HAVE_SPRINTF, for checking the availability of | Thomas Wouters | 2001-07-24 | 1 | -1/+1 |
| | | | | snprintf. | ||||
* | Patch #443669: Permit _tkinter to build on cygwin32. | Martin v. Löwis | 2001-07-24 | 1 | -3/+7 |
| | |||||
* | Autocheck for snprintf, and use sprintf if it is not available. | Martin v. Löwis | 2001-07-24 | 5 | -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 Drake | 2001-07-23 | 1 | -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 Drake | 2001-07-23 | 1 | -1/+1 |
| | |||||
* | If $TERM is "dumb" or "emacs", just dump the text instead of trying to run | Fred Drake | 2001-07-23 | 1 | -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 Drake | 2001-07-23 | 1 | -3/+3 |
| | | | | and relax the type of the argument list from tuple to sequence. | ||||
* | Remove self-reference from the anydbm module. | Fred Drake | 2001-07-23 | 1 | -1/+0 |
| | | | | This closes SF patch #443788. | ||||
* | Typo: Added missing "if". | Fred Drake | 2001-07-23 | 1 | -1/+1 |
| | | | | This is part of SF patch #442788. | ||||
* | Add StopIteration to the list of exceptions *not* derived from StandardError. | Fred Drake | 2001-07-23 | 1 | -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 Drake | 2001-07-23 | 1 | -1/+1 |
| | | | | This is part of SF patch #443788. | ||||
* | Fix typo in comment. | Neil Schemenauer | 2001-07-23 | 1 | -1/+1 |
| | |||||
* | Add -E command line switch (ignore environment variables like PYTHONHOME | Neil Schemenauer | 2001-07-23 | 12 | -34/+59 |
| | | | | and PYTHONPATH). | ||||
* | Make this test work under Windows as well. | Fred Drake | 2001-07-23 | 1 | -2/+5 |
| | |||||
* | Test for the "glob" module, contributed by Nick Mathewson. | Fred Drake | 2001-07-23 | 1 | -0/+110 |
| | | | | | Heavily modified so this doesn't break on Windows. This closes SF patch #441175. | ||||
* | Patch number #422106 by Greg Ball, to fix segmentation | Moshe Zadka | 2001-07-23 | 1 | -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 Rossum | 2001-07-23 | 1 | -0/+1 |
| | |||||
* | SF Patch #441791, with changes: when "import foo.bar" fails with an | Guido van Rossum | 2001-07-23 | 1 | -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 Peters | 2001-07-23 | 1 | -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 check | Martin v. Löwis | 2001-07-23 | 2 | -2/+2 |
| | | | | whether h_errno is a macro. | ||||
* | Tests for the "commands" module, contributed by Nick Mathewson. | Fred Drake | 2001-07-23 | 1 | -0/+45 |
| | | | | This closes SF patch #440291. |