summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF bug #670229: doc improvement for cStringIO.hRaymond Hettinger2003-01-191-5/+12
| | | | Gernot Hillier added more detail to the internal API documentation.
* SF patch #670423: Add missing identity tests to operator.cRaymond Hettinger2003-01-184-3/+49
|
* SF bug #668906: class browser raises AttributeErrorRaymond Hettinger2003-01-181-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 Peters2003-01-182-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 Jansen2003-01-172-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 Jansen2003-01-174-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 Drake2003-01-171-20/+22
|
* Fix a couple of markup errors.Fred Drake2003-01-171-3/+3
|
* CVS patch 669645: wininst.exe missing in Windows installer.Tim Peters2003-01-171-0/+5
| | | | Not anymore it ain't.
* Clean up some files that LaTeX2HTML drops in the HTML output directoryFred Drake2003-01-171-0/+5
| | | | sometimes.
* 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