summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* When time.localtime() is passed a tick count the platform C localtime()Tim Peters2003-01-171-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 symlinkJust van Rossum2003-01-171-0/+2
|
* * Migrate sample distribution test from random.py to test_random.py.Raymond Hettinger2003-01-172-10/+22
| | | | * Use Sets module to more clearly articulate a couple of tests.
* Correct typos in example code.Raymond Hettinger2003-01-171-3/+3
|
* For reasons unknown previewProc and filterProc were disabled. Enabled them.Jack Jansen2003-01-171-4/+2
|
* Added methods AskFileForOpen(), AskFileForSave() and AskFolder(). TheseJack Jansen2003-01-171-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 theGregory P. Smith2003-01-172-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. Smith2003-01-171-0/+2
| | | | closes sourceforge pybsddb bug id 669533.
* bugfix: disallow use of DB_TXN after commit() or abort(), prevents aGregory P. Smith2003-01-172-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 textKurt B. Kaiser2003-01-173-2/+28
| | | | | | M EditorWindow.py M NEWS.txt M TODO.txt
* SF Bug 667812: Some Linux distros have Alt and Meta reversed.Kurt B. Kaiser2003-01-161-13/+13
|
* A. Lloyd Flanagan pointed out a spelling error on c.l.py.Michael W. Hudson2003-01-161-1/+1
|
* Let test_random cover the endpoints.Raymond Hettinger2003-01-161-9/+20
| | | | | Strengthen slicing tests. Improved variable names.
* Test optional slice arguments.Raymond Hettinger2003-01-161-4/+14
| | | | Add backwards compatibility test.
* Added doctest for examples in the library reference.Raymond Hettinger2003-01-161-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 Hettinger2003-01-161-118/+127
|
* Patch #662454: import a.b as c is ok, fixes #660811.Martin v. Löwis2003-01-161-5/+1
|
* Properly find and install icons even if calling setup.py from the build dir.Martin v. Löwis2003-01-161-2/+2
|
* Catch IOErrors.Martin v. Löwis2003-01-161-0/+3
|
* Support copying booleans. Fixes #668925.Martin v. Löwis2003-01-161-0/+2
|
* This test previously failed when run from the 'test' directory. In thatMark Hammond2003-01-161-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 Jansen2003-01-151-1/+2
| | | | so just continue testing. Fixes #668787.
* Correct docstring for SetValueEx()Mark Hammond2003-01-151-1/+1
|
* Checking in Brett Cannon's patch #662053, which fixes bug #661354.Jack Jansen2003-01-151-8/+12
| | | | _strptime can now handle getting two empty strings as the timezone information.
* Added ismount().Jack Jansen2003-01-151-0/+5
| | | | Fixes #661762, bugfix candidate.
* Implemented FSCatalogInfo structure support, and used this to implementJack Jansen2003-01-153-17/+32
| | | | FSSpec.SetDates() and GetDates(). Closes #662836.
* reference the os module and the lock flags in the os.open() function.Skip Montanaro2003-01-151-0/+8
| | | | (Someone please review what I wrote for accuracy.)
* * Add test for __cmp__()Raymond Hettinger2003-01-151-2/+40
| | | | * Add doctest for example in the library reference manual
* Remove misleading advice. VERSION was not intended to be used that way.Neil Schemenauer2003-01-151-6/+0
|
* Document that __cmp__() is not defined for sets.Raymond Hettinger2003-01-151-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öwis2003-01-151-1/+2
|
* Patch #661719: Expose compilation errors as exceptions on request.Martin v. Löwis2003-01-155-28/+92
|
* Patch #473586: Implement CGIXMLRPCRequestHandler.Martin v. Löwis2003-01-153-125/+477
|
* SF patch #664192 bug #661913: inconsistent error messages between stringRaymond Hettinger2003-01-151-2/+2
| | | | | | and unicode Patch by Christopher Blunck.
* Fix [ 665014 ] files with long lines and an encoding crash.Mark Hammond2003-01-141-1/+2
| | | | | Ensure that the 'size' arg is correctly passed to the encoding reader to prevent buffer overflows.
* Updated IDLE Help to reflect changes in Additional Help SourceKurt B. Kaiser2003-01-141-8/+26
| | | | Configuration implementation.
* M Bindings.pyKurt B. Kaiser2003-01-148-92/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | M EditorWindow.py M NEWS.txt M config-main.def M configDialog.py M configHandler.py M configHelpSourceEdit.py M configSectionNameDialog.py - Change default: IDLE now starts with Python Shell. - Removed the File Path from the Additional Help Sources scrolled list. - Add capability to access Additional Help Sources on the web if the Help File Path begins with //http or www. (Otherwise local path is validated, as before.) - Additional Help Sources were not being posted on the Help menu in the order entered. Implement sorting the list by [HelpFiles] 'option' number. - Add Browse button to New Help Source dialog. Arrange to start in Python/Doc if platform is Windows, otherwise start in current directory. - Put the Additional Help Sources directly on the Help menu instead of in an Extra Help cascade menu. Rearrange the Help menu so the Additional Help Sources come last. Update help.txt appropriately. - Fix Tk root pop-ups in configSectionNameDialog.py and configDialog.py
* Explicitly raise an exception in __cmp__ -- this clarifies that cmp()Guido van Rossum2003-01-142-0/+9
| | | | | | is not supported on sets. (Unfortunately, sorting a list of sets may still return random results because it uses < exclusively, but for sets that inly implements a partial ordering. Oh well.)
* Replaced POP() with STACKADJ(-1) on lines where the result wasn't used.Raymond Hettinger2003-01-141-2/+2
| | | | | | The two are semantically equivalent, but the first triggered a compiler warning about an unused variable. Note, the preceding steps had already accessed and decreffed the variable so the reference counts were fine.
* SF bug #661184: inspect.getsource bugRaymond Hettinger2003-01-141-1/+3
| | | | | | | inspect.getsource would crash with one line definitions like: def f(x): return x or f = lambda x: x
* make sure Info.plist has a CFBundleIdentifier entryJust van Rossum2003-01-131-0/+2
|
* A new test here was failing on Windows, because the test before it neverTim Peters2003-01-131-10/+5
| | | | | managed to delete the @test file it intended to delete. Also, I don't see a reason to create a 4MB file in the new test, so cut it back to 16K.
* Duh. cmdqueue should be an instance variable, not a class variable.Guido van Rossum2003-01-131-1/+1
| | | | | | This was introduced in 1998 in rev. 1.13, where I imported extensive patches that, I am sad to say, I didn't review as carefully as I should have.
* Duh. The do_EOF() implementation was bogus. Make it more likeGuido van Rossum2003-01-131-3/+5
| | | | do_quit() -- but print a blank line first.
* Fix SF bug #667147, Segmentation fault printing str subclassNeal Norwitz2003-01-133-4/+43
| | | | | | | Fix infinite recursion which occurred when printing an object whose __str__() returned self. Will backport
* Move the date/time section into the modules section; it was in theAndrew M. Kuchling2003-01-131-61/+61
| | | | C API section by mistake
* Update comment, QnewFlag will go away in 3.0, not 2.3Neal Norwitz2003-01-131-2/+2
|
* Fix NameError in getquotaroot(), sanctioned by Piers.Guido van Rossum2003-01-131-1/+1
|
* Link to MRO articleAndrew M. Kuchling2003-01-131-2/+8
| | | | Mention deprecation of string exceptions
* SF patch 664183 and SF bug 664044: Note that both u'%s' % 'x' andRaymond Hettinger2003-01-131-1/+4
| | | | '%s' % u'x' return a unicode object.