Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF # 669553, fix memory (ref) leaks | Neal Norwitz | 2003-01-19 | 2 | -14/+33 |
| | | | | Will backport. | ||||
* | Fix typo | Raymond Hettinger | 2003-01-19 | 1 | -1/+1 |
| | |||||
* | SF patch #634557: inspect.BlockFinder didn't do a good enough job finding | Raymond Hettinger | 2003-01-19 | 1 | -0/+2 |
| | | | | | | the end of code blocks. Patch contributed by Patrick O'Brien. | ||||
* | SF patch #634866: Alex Martelli's corrections to the ref manual. | Raymond Hettinger | 2003-01-19 | 3 | -48/+101 |
| | | | | | Backport candidate. All but one or two of these changes are applicable to 2.2.2. | ||||
* | SF patch #670367: Micro-optimizations for ceval.c | Raymond Hettinger | 2003-01-19 | 1 | -18/+13 |
| | | | | | | | | | | | | | | | | | | | | Make the code slightly shorter, faster, and easier to read. * Eliminate unused DUP_TOPX code for x==1. compile.c always generates DUP_TOP instead. * Since only two cases remain for DUP_TOPX, replace the switch-case with if-elseif. * The in-lined integer compare does a CheckExact on both arguments. Since the second is a little more likely to fail, test it first. * The switch-case for IS/IS_NOT and IN/NOT_IN can separate the regular and inverted cases with no additional work. For all four paths, saves a test and jump. | ||||
* | Windows flavor of floatsleep(): folded long lines, introduced a temp | Tim Peters | 2003-01-19 | 1 | -12/+17 |
| | | | | var for clarity. | ||||
* | SF patch 670194: Performance enhancement for _strptime.py. | Tim Peters | 2003-01-19 | 1 | -20/+36 |
| | | | | | From Brett Cannon. Mostly speedups via caching format string -> compiled regexp. | ||||
* | SF bug #668906: class browser raises AttributeError | Raymond Hettinger | 2003-01-19 | 1 | -1/+1 |
| | | | | | | | | The Py2.3 updates to the pyclbr module return both Class and Function objects. The IDLE ClassBrowser module only knew about Class and could not handle objects which did not define "super". Fixed by adding a guard. | ||||
* | SF bug #670229: doc improvement for cStringIO.h | Raymond Hettinger | 2003-01-19 | 1 | -5/+12 |
| | | | | Gernot Hillier added more detail to the internal API documentation. | ||||
* | SF patch #670423: Add missing identity tests to operator.c | Raymond Hettinger | 2003-01-18 | 4 | -3/+49 |
| | |||||
* | SF bug #668906: class browser raises AttributeError | Raymond Hettinger | 2003-01-18 | 1 | -1/+1 |
| | | | | | | | | The Py2.3 updates to the pyclbr module return both Class and Function objects. The IDLE ClassBrowser module only knew about Class and could not handle objects which did not define "super". Fixed by adding a guard. | ||||
* | SF patch 670012: Compatibility changes for _strptime.py. | Tim Peters | 2003-01-18 | 2 | -138/+127 |
| | | | | | | | | | | | | | | | Patch from Brett Cannon: First, the 'y' directive now handles [00, 68] as a suffix for the 21st century while [69, 99] is treated as the suffix for the 20th century (this is for Open Group compatibility). strptime now returns default values that make it a valid date ... the ability to pass in a regex object to use instead of a format string (and the inverse ability to have strptime return a regex object) has been removed. This is in preparation for a future patch that will add some caching internally to get a speed boost. | ||||
* | Fixed the first two bugs in the new file dialogs (found by Just): | Jack Jansen | 2003-01-17 | 2 | -11/+13 |
| | | | | | - AskFileForSave didn't work for string return values - filterProc didn't work. | ||||
* | It turns out that some calls return AEDesc records that are "borrowed", | Jack Jansen | 2003-01-17 | 4 | -3/+71 |
| | | | | | | | the AEDesc data shouldn't be disposed when the Python object is. Added a C call AEDesc_NewBorrowed() to create these objects and a Python method old=AEDesc.AutoDispose(onoff) to change auto-dispose state. | ||||
* | Various markup changes. | Fred Drake | 2003-01-17 | 1 | -20/+22 |
| | |||||
* | Fix a couple of markup errors. | Fred Drake | 2003-01-17 | 1 | -3/+3 |
| | |||||
* | CVS patch 669645: wininst.exe missing in Windows installer. | Tim Peters | 2003-01-17 | 1 | -0/+5 |
| | | | | Not anymore it ain't. | ||||
* | Clean up some files that LaTeX2HTML drops in the HTML output directory | Fred Drake | 2003-01-17 | 1 | -0/+5 |
| | | | | sometimes. | ||||
* | When time.localtime() is passed a tick count the platform C localtime() | Tim Peters | 2003-01-17 | 1 | -1/+1 |
| | | | | | | | function can't handle, don't raise IOError -- that doesn't make sense. Raise ValueError instead. Bugfix candidate. | ||||
* | make sure src exists before creating a symlink | Just van Rossum | 2003-01-17 | 1 | -0/+2 |
| | |||||
* | * Migrate sample distribution test from random.py to test_random.py. | Raymond Hettinger | 2003-01-17 | 2 | -10/+22 |
| | | | | * Use Sets module to more clearly articulate a couple of tests. | ||||
* | Correct typos in example code. | Raymond Hettinger | 2003-01-17 | 1 | -3/+3 |
| | |||||
* | For reasons unknown previewProc and filterProc were disabled. Enabled them. | Jack Jansen | 2003-01-17 | 1 | -4/+2 |
| | |||||
* | Added methods AskFileForOpen(), AskFileForSave() and AskFolder(). These | Jack Jansen | 2003-01-17 | 1 | -2/+154 |
| | | | | | | | are going to replace StandardGetFile() and friends. Main differences are that these allow you to ask for specific datatypes to be returned (FSSpec, FSRef, string, unicode or subtypes thereof) and that they provide access to underlying features of Navigation Services through keyword arguments. | ||||
* | bugfix: do not double-close DB cursor during deallocation when the | Gregory P. Smith | 2003-01-17 | 2 | -1/+15 |
| | | | | | | | | | | underlying DB has already been closed (and thus all of its cursors). This fixes a potential segfault. SF pybsddb bug id 667343 bugfix: close the DB object when raising an exception due to an error during DB.open. This prevents an exception when closing the environment about not all databases being closed. SF pybsddb bug id 667340 | ||||
* | bugfix: allow the module to work with python compiled without thread support. | Gregory P. Smith | 2003-01-17 | 1 | -0/+2 |
| | | | | closes sourceforge pybsddb bug id 669533. | ||||
* | bugfix: disallow use of DB_TXN after commit() or abort(), prevents a | Gregory P. Smith | 2003-01-17 | 2 | -5/+57 |
| | | | | | | | | | coredump or segmentation violation. Sourceforge patch ID 664896: http://sourceforge.net/tracker/index.php?func=detail&aid=664896&group_id=13900&atid=313900 The bug was reported on the pybsddb-users mailing list. | ||||
* | Patch 611069 (Christos Georgiou) IDLE TODO:left/right when selected text | Kurt B. Kaiser | 2003-01-17 | 3 | -2/+28 |
| | | | | | | M EditorWindow.py M NEWS.txt M TODO.txt | ||||
* | SF Bug 667812: Some Linux distros have Alt and Meta reversed. | Kurt B. Kaiser | 2003-01-16 | 1 | -13/+13 |
| | |||||
* | A. Lloyd Flanagan pointed out a spelling error on c.l.py. | Michael W. Hudson | 2003-01-16 | 1 | -1/+1 |
| | |||||
* | Let test_random cover the endpoints. | Raymond Hettinger | 2003-01-16 | 1 | -9/+20 |
| | | | | | Strengthen slicing tests. Improved variable names. | ||||
* | Test optional slice arguments. | Raymond Hettinger | 2003-01-16 | 1 | -4/+14 |
| | | | | Add backwards compatibility test. | ||||
* | Added doctest for examples in the library reference. | Raymond Hettinger | 2003-01-16 | 1 | -0/+60 |
| | | | | Added random test from bisect to augment the finite precomputed checks. | ||||
* | Convert to unittest format so that more tests can be added cleanly. | Raymond Hettinger | 2003-01-16 | 1 | -118/+127 |
| | |||||
* | Patch #662454: import a.b as c is ok, fixes #660811. | Martin v. Löwis | 2003-01-16 | 1 | -5/+1 |
| | |||||
* | Properly find and install icons even if calling setup.py from the build dir. | Martin v. Löwis | 2003-01-16 | 1 | -2/+2 |
| | |||||
* | Catch IOErrors. | Martin v. Löwis | 2003-01-16 | 1 | -0/+3 |
| | |||||
* | Support copying booleans. Fixes #668925. | Martin v. Löwis | 2003-01-16 | 1 | -0/+2 |
| | |||||
* | This test previously failed when run from the 'test' directory. In that | Mark Hammond | 2003-01-16 | 1 | -5/+7 |
| | | | | | | | | case, the test module created is actually a sub-package of 'test', thus the module is named 'test.areallylongpackage...' - this caused failure. Replace the hard-coded module names with __name__ attributes, which correctly reflects any hierarchy. | ||||
* | On Mac OS X calling setlocale will raise locale.Error. This isn't fatal, | Jack Jansen | 2003-01-15 | 1 | -1/+2 |
| | | | | so just continue testing. Fixes #668787. | ||||
* | Correct docstring for SetValueEx() | Mark Hammond | 2003-01-15 | 1 | -1/+1 |
| | |||||
* | Checking in Brett Cannon's patch #662053, which fixes bug #661354. | Jack Jansen | 2003-01-15 | 1 | -8/+12 |
| | | | | _strptime can now handle getting two empty strings as the timezone information. | ||||
* | Added ismount(). | Jack Jansen | 2003-01-15 | 1 | -0/+5 |
| | | | | Fixes #661762, bugfix candidate. | ||||
* | Implemented FSCatalogInfo structure support, and used this to implement | Jack Jansen | 2003-01-15 | 3 | -17/+32 |
| | | | | FSSpec.SetDates() and GetDates(). Closes #662836. | ||||
* | reference the os module and the lock flags in the os.open() function. | Skip Montanaro | 2003-01-15 | 1 | -0/+8 |
| | | | | (Someone please review what I wrote for accuracy.) | ||||
* | * Add test for __cmp__() | Raymond Hettinger | 2003-01-15 | 1 | -2/+40 |
| | | | | * Add doctest for example in the library reference manual | ||||
* | Remove misleading advice. VERSION was not intended to be used that way. | Neil Schemenauer | 2003-01-15 | 1 | -6/+0 |
| | |||||
* | Document that __cmp__() is not defined for sets. | Raymond Hettinger | 2003-01-15 | 1 | -3/+12 |
| | | | | | Note, that list.sort() is undefined for lists of sets. Add the ... prompt to the example so it runs in doctest. | ||||
* | Gyro Func for patch #661719. | Martin v. Löwis | 2003-01-15 | 1 | -1/+2 |
| | |||||
* | Patch #661719: Expose compilation errors as exceptions on request. | Martin v. Löwis | 2003-01-15 | 5 | -28/+92 |
| |