Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove specific Python version from #! | Andrew M. Kuchling | 2004-04-06 | 1 | -1/+1 |
| | |||||
* | OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied | Andrew MacIntyre | 2004-04-04 | 1 | -2/+5 |
| | | | | | | | with major C compilers (VACPP, EMX+gcc and [Open]Watcom). Also tidy up the export of spawn*() symbols in the os module to match what is found/implemented. | ||||
* | If a file is opened with an explicit buffer size >= 1, repeated | Andrew MacIntyre | 2004-04-04 | 1 | -0/+17 |
| | | | | | | | | close() calls would attempt to free() the buffer already free()ed on the first close(). [bug introduced with patch #788249] Making sure that the buffer is free()ed in file object deallocation is a belt-n-braces bit of insurance against a memory leak. | ||||
* | Fix support for the "prog" keyword to the OptionParser constructor, as well | Fred Drake | 2004-04-01 | 2 | -3/+24 |
| | | | | | | as directly setting the .prog attribute (which should be supported based on the class docstring). Closes SF bug #850964. | ||||
* | [Bugfix candidate] Escape traceback type and value. There are probably ↵ | Andrew M. Kuchling | 2004-03-31 | 1 | -1/+2 |
| | | | | additional cases where cgitb.py doesn't escape as paranoidly as it should (e.g. attribute names) | ||||
* | When /tmp has certain sticky bits set, newly created subdirectories | Guido van Rossum | 2004-03-31 | 1 | -0/+1 |
| | | | | | inherit those bits, causing the test_mkdtemp.test_mode() test to fail. Remove those before comparing the actual mode to the expected mode. | ||||
* | SF bug 924242: socket._fileobject._getclosed() returns wrong value | Tim Peters | 2004-03-28 | 2 | -1/+9 |
| | | | | | | The .closed property always returned the wrong result. Bugfix candidate! | ||||
* | Revert 1.51 booleans so that sre will still run on old pythons. | Raymond Hettinger | 2004-03-27 | 1 | -6/+6 |
| | |||||
* | Simple Optimizations: | Raymond Hettinger | 2004-03-26 | 1 | -73/+92 |
| | | | | | * Factor constant expressions out of loops. * Presize a list being grown to a known length. | ||||
* | Remove unnecessary test. (Thanks Skip) | Raymond Hettinger | 2004-03-26 | 1 | -6/+0 |
| | |||||
* | Fix test failure for test_tcl on OS/X and Windows if a | David Ascher | 2004-03-26 | 1 | -7/+1 |
| | | | | | | | | | | | version of Tcl other than ActiveTcl is installed (ActiveTcl included TclX, other Tcl distros didn't). I'm removing the package loading test because it's hard to come up with a package that is guaranteed to be in any Tcl installation. Special-casing darwin and windows is ok since that leaves the only Tk platform (X) which the test was trying to address. | ||||
* | Marshal clean-up (SF patch #873224) | Armin Rigo | 2004-03-26 | 1 | -0/+5 |
| | |||||
* | Simple optimizations: | Raymond Hettinger | 2004-03-26 | 1 | -47/+69 |
| | | | | | | | | | * pre-build a single identity function for the fixup function * pre-build membership tests in dictionaries instead of in-line tuples * assign len() to a local variable * assign append() methods to a local variable * use xrange() instead of range() * replace "x<<1" with "x+x" | ||||
* | make sure the default manifest generation includes files identified as | Fred Drake | 2004-03-25 | 2 | -0/+6 |
| | | | | | scripts closes SF bug 796042 | ||||
* | Added more Windows version names (thanks to Thomas Heller). | Marc-André Lemburg | 2004-03-25 | 1 | -29/+23 |
| | | | | | | Fixed bug in platform() cache (thanks to Brett Cannon). (Restored Python 1.5.2 compatibility.) | ||||
* | Fix last patch to be backwards-compatible with Python 1.5.2 . | Brett Cannon | 2004-03-25 | 1 | -12/+25 |
| | | | | Bumped version micro number. | ||||
* | Fixed a caching bug in platform.platform() where the argument of 'terse' was | Brett Cannon | 2004-03-25 | 1 | -8/+8 |
| | | | | not taken into consideration when caching value. | ||||
* | Defer compilation of regular expressions until first use. | Martin v. Löwis | 2004-03-25 | 1 | -3/+7 |
| | |||||
* | Use True/False instead of 0/1 for character classes. | Martin v. Löwis | 2004-03-25 | 1 | -6/+6 |
| | |||||
* | Ensure super() lookup of descriptor from classmethod works (SF #743627) | Phillip J. Eby | 2004-03-25 | 1 | -0/+14 |
| | |||||
* | fix name in setacl method doc string | Piers Lauder | 2004-03-25 | 1 | -1/+1 |
| | |||||
* | Enable the profiling of C functions (builtins and extensions) | Nicholas Bastin | 2004-03-24 | 4 | -3/+50 |
| | |||||
* | Add test case for unicode(somestring, "idna"). | Martin v. Löwis | 2004-03-24 | 1 | -1/+6 |
| | |||||
* | Replace sequential split/join calls on strings with a single replace call. | Brett Cannon | 2004-03-23 | 2 | -11/+5 |
| | | | | Thanks Andrew Gaul. | ||||
* | Convert input to a string object. Fixes #909230. | Martin v. Löwis | 2004-03-23 | 1 | -0/+1 |
| | | | | Backported 2.3. | ||||
* | Replace code in urllib for basejoin (undocumented) with urlparse.urljoin . | Brett Cannon | 2004-03-23 | 1 | -59/+2 |
| | | | | | | | Test suites for urllib and urlparse run with each other's function to verify correctness of replacement and both test suites pass. Bumped urllib's __version__ attribute up a minor number. | ||||
* | Add runctx to __all__. | Guido van Rossum | 2004-03-23 | 1 | -1/+1 |
| | |||||
* | Added command line options for profile.py - one for stats output file | Nicholas Bastin | 2004-03-23 | 1 | -13/+27 |
| | | | | and one for sort order when using stdout. Uses optparse. | ||||
* | Basic dependency checking. setup() has two new optional arguments | Anthony Baxter | 2004-03-22 | 5 | -3/+144 |
| | | | | | | | | | | | | | | | | | | | | | | | requires and provides. requires is a sequence of strings, of the form 'packagename-version'. The dependency checking so far merely does an '__import__(packagename)' and checks for packagename.__version__ You can also leave off the version, and any version of the package will be installed. There's a special case for the package 'python' - sys.version_info is used, so requires= ( 'python-2.3', ) just works. Provides is of the same format as requires - but if it's not supplied, a provides is generated by adding the version to each entry in packages, or modules if packages isn't there. Provides is currently only used in the PKG-INFO file. Shortly, PyPI will grow the ability to accept these lines, and register will be updated to send them. There's a new command 'checkdep' command that runs these checks. For this version, only greater-than-or-equal checking is done. We'll add the ability to specify an optional operator later. | ||||
* | Patch #911176: Move test function into __main__ | Martin v. Löwis | 2004-03-22 | 1 | -12/+12 |
| | |||||
* | Added global runctx function to profile to fix SF Bug #716587 | Nicholas Bastin | 2004-03-22 | 3 | -6/+37 |
| | |||||
* | The fix in ceval.c 2.386 allows iteration-by-iteration line tracing even in | Armin Rigo | 2004-03-22 | 1 | -0/+23 |
| | | | | single-line loops. | ||||
* | Fix (really) for tight loop line events | Nicholas Bastin | 2004-03-22 | 1 | -1/+2 |
| | |||||
* | Test for tight loop line event fix, SF bug #765624 | Nicholas Bastin | 2004-03-22 | 1 | -0/+25 |
| | |||||
* | Test for lack of implicit return line event | Nicholas Bastin | 2004-03-22 | 1 | -9/+27 |
| | |||||
* | New parser. Next up, making the current parser use this parser | Anthony Baxter | 2004-03-22 | 1 | -0/+362 |
| | |||||
* | SF bug 847019 datetime.datetime initialization needs more strict checking | Tim Peters | 2004-03-21 | 1 | -0/+20 |
| | | | | | | | | | It's possible to create insane datetime objects by using the constructor "backdoor" inserted for fast unpickling. Doing extensive range checking would eliminate the backdoor's purpose (speed), but at least a little checking can stop honest mistakes. Bugfix candidate. | ||||
* | Change parse_qsl() to accept control-name's with no equal sign (e.g., "name") | Brett Cannon | 2004-03-21 | 1 | -1/+5 |
| | | | | when keep_blank_values is true. | ||||
* | Normalized files in test_unicode_file to eliminate failure on OSX | Nicholas Bastin | 2004-03-21 | 1 | -9/+29 |
| | |||||
* | [Part of patch #909005] Added map parameter for file_dispatcher and ↵ | Andrew M. Kuchling | 2004-03-21 | 1 | -4/+4 |
| | | | | dispatcher_with_send | ||||
* | [Part of patch #909005] Repeating exception changed from 'raise ↵ | Andrew M. Kuchling | 2004-03-21 | 1 | -5/+5 |
| | | | | socket.error, why' to just raise. Make use of connect_ex() raise socket.error with 2-tuple instead of just error code | ||||
* | [Part of patch #909005] Remove Mac code for writable | Andrew M. Kuchling | 2004-03-21 | 1 | -8/+2 |
| | |||||
* | [Part of patch #909005] Set initial poll flags | Andrew M. Kuchling | 2004-03-21 | 1 | -2/+2 |
| | |||||
* | [Part of patch #909005] Use True/False | Andrew M. Kuchling | 2004-03-21 | 1 | -13/+13 |
| | |||||
* | [Patch #900071] Be case-insensitive when removing 'usage:' string | Andrew M. Kuchling | 2004-03-21 | 1 | -1/+1 |
| | |||||
* | [Part of patch #909005] Handle POLLPRI flag, and various errors cases. ↵ | Andrew M. Kuchling | 2004-03-21 | 1 | -1/+3 |
| | | | | Fixes bug #887279 | ||||
* | SF bug 917108: warnings.py does not define _test(). | Tim Peters | 2004-03-21 | 1 | -8/+3 |
| | | | | Removed the entire __name__ == '__main__' block. | ||||
* | Patch #853488: Add hlist entry_configure and entry_cget methods. | Martin v. Löwis | 2004-03-21 | 1 | -0/+11 |
| | |||||
* | Remove unused instance attributes. | Neil Schemenauer | 2004-03-21 | 1 | -2/+0 |
| | |||||
* | Back out last patch that removed an entry from sys.path if it was not an | Brett Cannon | 2004-03-21 | 1 | -1/+1 |
| | | | | | existent path. Pointed out by jvr that entries could be non-file items for custom importers. |