Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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! | ||||
* | SF bug #444510: int() should guarantee truncation. | Tim Peters | 2001-07-26 | 1 | -0/+13 |
| | | | | It's guaranteed now, assuming the platform modf() works correctly. | ||||
* | Add backwards compatibility. | Marc-André Lemburg | 2001-07-26 | 1 | -1/+6 |
| | |||||
* | Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. | Martin v. Löwis | 2001-07-26 | 3 | -13/+13 |
| | |||||
* | 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). | ||||
* | Fix for bug #444493: u'\U00010001' segfaults with current CVS on | Marc-André Lemburg | 2001-07-25 | 1 | -1/+2 |
| | | | | wide builds. | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | Whitespace normalization. | Tim Peters | 2001-07-23 | 1 | -4/+3 |
| | | | | Note: This test fails on Windows. Don't know why yet. | ||||
* | Tests for the "commands" module, contributed by Nick Mathewson. | Fred Drake | 2001-07-23 | 1 | -0/+45 |
| | | | | This closes SF patch #440291. | ||||
* | New tests by Nick Mathewson, for the fpformat module. | Fred Drake | 2001-07-23 | 1 | -0/+67 |
| | | | | This closes SF patch #440290. | ||||
* | updated about info for 0.8.1 release | Steven M. Gava | 2001-07-21 | 1 | -3/+3 |
| | |||||
* | new material for 0.8.1 release | Steven M. Gava | 2001-07-21 | 2 | -9/+30 |
| | |||||
* | On WIndows, skip the part of test_dircache that can't work on Windows. | Tim Peters | 2001-07-21 | 1 | -9/+15 |
| | |||||
* | Whitespace normalization, plus: | Tim Peters | 2001-07-21 | 5 | -19/+19 |
| | | | | | | + test_quopri.py relied on significant trailing spaces. Fixed. + test_dircache.py (still) doesn't work on Windows (directory mtime on Windows doesn't work like it does on Unix). | ||||
* | Make the add*() helper functions more robust for use after intialization | Fred Drake | 2001-07-20 | 1 | -6/+33 |
| | | | | | | | | is complete: recompute _dirs_in_sys_path each time these functions are entered after module initialization is complete, and reset before returning to user code. This closes SF patch #442983. | ||||
* | Patch #429442 from Jason Tishler: Corrects sys.platform and | Andrew M. Kuchling | 2001-07-20 | 1 | -0/+1 |
| | | | | | distutils.util.get_platform() problems caused by the cruft contained in Cygwin's uname -s. | ||||
* | Use string.ascii_letters instead of string.letters (SF bug #226706). | Fred Drake | 2001-07-20 | 8 | -8/+8 |
| | |||||
* | Use string.ascii_letters instead of string.letters (SF bug #226706). | Fred Drake | 2001-07-20 | 1 | -3/+3 |
| | | | | Work-around a font-lock bogosity. | ||||
* | Use string.ascii_letters instead of string.letters. | Fred Drake | 2001-07-20 | 1 | -2/+2 |
| | | | | Remove unused import. | ||||
* | Added the constants ascii_letters, ascii_lowercase, and ascii_uppercase | Fred Drake | 2001-07-20 | 1 | -0/+3 |
| | | | | | to the string module. This was determined to be the right approach in SF bug #226706. | ||||
* | Make the unicode-escape and the UTF-16 codecs handle surrogates | Marc-André Lemburg | 2001-07-20 | 1 | -0/+8 |
| | | | | | | | | correctly and thus roundtrip-safe. Some minor cleanups of the code. Added tests for the roundtrip-safety. | ||||
* | Copying this 2.1.1 bugfix to the trunk: | Guido van Rossum | 2001-07-20 | 1 | -1/+0 |
| | | | | | | | | | Fix showstopper SF bug #442983: use of site.addsitedir() was broken because it references the global dirs_in_sys_path which is deleted. The fix avoids deleting that global. (My email through python.org or digicool.com is non-functional at the moment; use gvanrossum@home.com to reach me.) | ||||
* | apply patch item #416253 | Piers Lauder | 2001-07-20 | 1 | -38/+115 |
| | |||||
* | fix missed conversion in ESR's string conversion | Piers Lauder | 2001-07-20 | 1 | -1/+1 |
| | |||||
* | update in preparation for 0.8.1 alpha release | Steven M. Gava | 2001-07-20 | 1 | -0/+567 |
| | |||||
* | bring up to date for 0.8.1 release | Steven M. Gava | 2001-07-20 | 2 | -4/+74 |
| | |||||
* | Regression test for the dircache module, contributed by Nick Mathewson. | Fred Drake | 2001-07-19 | 1 | -0/+62 |
| | | | | | Modified by Fred Drake. This closes SF patch #440827. | ||||
* | Test for the repr module, contributed by Nick Mathewson. | Fred Drake | 2001-07-19 | 1 | -0/+108 |
| | | | | This closes SF patch #440826. | ||||
* | Make the new docstrings better conform to Guido's style guide. | Fred Drake | 2001-07-19 | 1 | -7/+15 |
| | |||||
* | Added docstrings based on a patch by Evelyn Mitchell. | Fred Drake | 2001-07-19 | 1 | -11/+16 |
| | | | | This closes SF patch #440153. | ||||
* | Make sure path names inserted into ZIP files are normalized to use "/" as | Fred Drake | 2001-07-19 | 1 | -1/+12 |
| | | | | | | the directory separator, as required by the format specification. This closes SF bug #440693. | ||||
* | Add some test cases for ntpath.join(). | Tim Peters | 2001-07-19 | 1 | -3/+19 |
| | |||||
* | Cosmetic: break the long lines in test_ntpath.py, and get rid of its | Tim Peters | 2001-07-19 | 2 | -9/+14 |
| | | | | expected-output file. | ||||
* | SF bug #44271: os.path.expanduser problem w/o HOME set. | Tim Peters | 2001-07-19 | 1 | -6/+16 |
| | | | | | | | This is a Windows-specific glitch that's really due to that, e.g., ntpath.join("c:", "/abc") returned "/abc" instead of "c:/abc". Made join smarter. Bugfix candidate. | ||||
* | Added function xml.sax.saxutils.quoteattr(). | Fred Drake | 2001-07-19 | 3 | -2/+46 |
| | | | | This closes SF bug #440351. It should not be moved to Python 2.1.1. | ||||
* | Patch #442512: put block indices in the right byte order on bigendian systems. | Martin v. Löwis | 2001-07-19 | 1 | -2/+5 |
| | |||||
* | Replace __import__ with import as. | Martin v. Löwis | 2001-07-19 | 1 | -1/+1 |
| | |||||
* | minor tidy-ups ready for 0.8.1 alpha tarball release | Steven M. Gava | 2001-07-19 | 7 | -9/+31 |
| | |||||
* | Remove some false comments. | Fred Drake | 2001-07-19 | 1 | -159/+156 |
| | | | | | | Reorganize so the initialization sequences does not bite us in the foot. (There is no good reason to discard classes that clients may want to subclass.) | ||||
* | If the user's environment has set the BROWSER environment variable (as Gnome | Skip Montanaro | 2001-07-18 | 1 | -6/+9 |
| | | | | | | | seems to do), the user may not be aware of its contents. Attempt to add any to _browsers. closes bug #429136 | ||||
* | Minor changes for stylistic cleanliness and consistency. | Fred Drake | 2001-07-18 | 1 | -16/+20 |
| |