summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The bsddb3 library does not build w/ Berkeley DB 3.0. 3.1 is the earliestSkip Montanaro2003-01-041-3/+1
| | | | supported version.
* Merged Misc/AtheOS-NOTES into the platform-specific section. Rewrote theSkip Montanaro2003-01-041-39/+79
| | | | | bsddb module build note to reflect the inclusion of bsddb3 and the demotion of the old bsddb module.
* SF bug #655271: Slightly modify locals() docRaymond Hettinger2003-01-042-2/+2
| | | | Clarify the operation of locals().
* SF bug #651149: Review libshelve.tex when possibleRaymond Hettinger2003-01-041-6/+6
| | | | Minor fixes to markup, spelling, parameter names, and abbreviations.
* M AutoExpand.pyKurt B. Kaiser2003-01-047-27/+55
| | | | | | | | | | | | | | | | | | | | | | | | M Bindings.py M EditorWindow.py M PyShell.py M config-keys.def M configHandler.py M help.txt 1. Annotate the shell window with last restart boundary upon restart. 2. Provide a shell menu entry and hot key (F6) to jump to the last restart boundary. 3. Add a new shell menu feature to restart the shell. 4. Update the help menu to add these features. 5. Update the help menu to put text in same order as the menus. 6. Correct a capitalization inconsistency on the Edit menu: Expand Word 7. Rename the "Debug" menu to be "Shell": it's doing more now. 8. Rearrange the "Shell" menu to make the StackViewer entries adjacent. 9. Add a get_geometry method to EditorWindow, which may be of use in making window positions persisent. 10. Make <ctrl-v> the "Classic Windows" paste key. 11. Restore decorum on the Help menu by removing "Advice". As Guido said, things will never be the same. Thanks, David!
* Fix compiler warningNeal Norwitz2003-01-041-1/+1
|
* SF Patch #661440: Refactor and streamline PyCFunction_CallRaymond Hettinger2003-01-041-31/+41
| | | | | | | | | | | | | | Refactor code in PyCFunction_Call giving a modest (tiny) speed boost, a slight improvement in semantics (now detects invalid flag combinations), and (arguably) improved clarity (making it blindingly clear which flag combinations are allowed). All this comes at a cost of a few lines of code duplication. * Folded test for METH_KEYWORDS into the switch/case. * Deferred testing for an empty dictionary until when and where needed. * Make a similar deferral for filling the "size" variable. * Inverted the dictionary test so that the common case falls though instead of making a jump.
* Wrap doc strings in PyDoc_STRVAR. Fix .string docstring. Provide defaultMartin v. Löwis2003-01-041-3/+21
| | | | macro definitions for older Python releases.
* Completed astimezone()'s correctness proof. This also proves we can getTim Peters2003-01-041-4/+53
| | | | | the desired compromise behavior during the "problem hour" when DST ends cheaply (but I haven't yet implemented that).
* Convert Tcl path objects to strings. Fixes #661357.Martin v. Löwis2003-01-042-1/+70
| | | | Provide .string attribute and __unicode for Tcl_Objs.
* Remark about datetime tzinfo examples.Tim Peters2003-01-031-3/+6
|
* Replaced the flawed "local time" example tzinfo class with the gutsTim Peters2003-01-031-13/+39
| | | | of Guido's later Local.py (from the datetime sandbox).
* Grammatical fix in comment.Greg Ward2003-01-031-1/+1
|
* Grammatical fix: change possessive "it's" to "its".Greg Ward2003-01-031-3/+3
|
* Remove a list comprehension, because a loop over the listWalter Dörwald2003-01-031-2/+1
| | | | | is done afterwards anyway, so what the list comp does can be done in the loop.
* Pass the strict argument from read() on to readfp(), so theWalter Dörwald2003-01-031-1/+1
| | | | file content ends up in the correct dict.
* Use RUNSHARED for python invocations. Fixes #661408.Martin v. Löwis2003-01-031-2/+2
|
* Fix read_mime_types() so that it returns a dict as documented.Walter Dörwald2003-01-031-2/+2
| | | | | This fixes a bug reported as http://www.python.org/sf/661630, which was introduced in the patch http://www.python.org/sf/554192.
* Allow PyFile_GetLine() to return Unicode objects. Fixes #660165.Martin v. Löwis2003-01-032-1/+26
|
* Fix SF #659228, 'realpath' function missing from os.pathNeal Norwitz2003-01-031-1/+4
| | | | | | | Also added realpath = abspath for os2emx, similar to windows/mac which also don't really implement realpath. Backport candidate, I think?
* Spread the blame (err, I mean credit) for ossaudiodev around a bit.Greg Ward2003-01-031-1/+1
|
* Mention ossaudiodev.Greg Ward2003-01-031-0/+5
|
* Fix SF #659228, 'realpath' function missing from os.pathNeal Norwitz2003-01-034-4/+8
| | | | | | | Also added realpath = abspath for os2emx, similar to windows/mac which also don't really implement realpath. Backport candidate, I think?
* Write PEP 301 sectionAndrew M. Kuchling2003-01-031-2/+39
| | | | Mention difference between 2.2.2 and 2.3 True and False
* Mention that imaplib now supports SSL -- this wasn't noted before.Guido van Rossum2003-01-031-0/+2
|
* qualify known Solaris versions related to the binutils breakage.Skip Montanaro2003-01-031-2/+5
|
* Add SSL support for imaplib; add empty PEP301 sectionAndrew M. Kuchling2003-01-031-0/+15
|
* update info about binutils 2.13 breakage on Solaris.Skip Montanaro2003-01-031-2/+2
|
* [Patch #658093 ] Documentation support for PEP 301Andrew M. Kuchling2003-01-031-3/+124
| | | | | Add two sections to this manual about package meta-data and about registering packages
* [Patch #658094 ] PEP 301 implementationAndrew M. Kuchling2003-01-031-0/+293
| | | | Add the 'register' distutils command
* [Patch #658094] PEP 301 implementationAndrew M. Kuchling2003-01-031-1/+12
| | | | Add 'classifiers' keyword to DistributionMetadata
* Fix for bug #661136Just van Rossum2003-01-032-15/+22
| | | | | | | | | | | | | Lesson learned: kids should not be allowed to use API's starting with an underscore :-/ zipimport in 2.3a1 is even more broken than I thought: I attemped to _PyString_Resize a string created by PyString_FromStringAndSize, which fails for strings with length 0 or 1 since the latter returns an interned string in those cases. This would cause a SystemError with empty source files (and no matching pyc) in the zip archive. I rewrote the offending code to simply allocate a new buffer and avoid _PyString_Resize altogether. Added a test that would've caught the problem.
* Add contributor.Raymond Hettinger2003-01-031-0/+1
|
* Remove debugging prints.Michael W. Hudson2003-01-031-2/+0
|
* SF patch 660559: Use METH_O and METH_NOARGS where possibleRaymond Hettinger2003-01-033-117/+70
| | | | | Simplify code and speed access by using PyArg_UnpackTuple, METH_O and METH_NOARGS in three modules that can benefit from it.
* Fixed markup.David Goodger2003-01-031-8/+17
|
* Updated (2.3 OK now)David Goodger2003-01-031-6/+8
|
* Fix error in previous correction; thanks, Just!Andrew M. Kuchling2003-01-021-1/+0
|
* Jack complained that on test_crlf_separation() was failing on MacOS9Barry Warsaw2003-01-021-4/+4
| | | | | | | | | | | | because the test file, msg_26.txt which has \r\n line endings, was getting munged by cvs, which knows to do line ending conversions for text files. But we want \r\n to be preserved on all platforms, so we cvs admin'd the file to be -kb (binary), which means we have to open the file in binary mode to preserve these line ends. Hopefully this will be the end of the thrashing on this issue (but probably not). Test passes on *nix now, and Tim confirms it passes on Windows. We'll leave it to Jack to test MacOS.
* Fix PEP 302 description; bump version numberAndrew M. Kuchling2003-01-021-10/+17
|
* The tzinfo methods utcoffset() and dst() must return a timedelta objectTim Peters2003-01-025-77/+84
| | | | | | (or None) now. In 2.3a1 they could also return an int or long, but that was an unhelpfully redundant leftover from an earlier version wherein they couldn't return a timedelta. TOOWTDI.
* Allow list sort's comparison function to explicitly be None. See SF patchSkip Montanaro2003-01-024-6/+34
| | | | 661092.
* 1. Remove obsolete, incorrect comment on non-package installationKurt B. Kaiser2003-01-021-7/+3
| | | | | 2. Add more .txt files to installation 3. Fix the reference to Visual Python, s/b VPython
* astimezone() internals: if utcoffset() returns a duration, complain ifTim Peters2003-01-024-14/+45
| | | | dst() returns None (instead of treating that as 0).
* Added a section to record datetime changes. There's apparently going toTim Peters2003-01-021-0/+5
| | | | be an unbounded number of API changes <0.6 wink>.
* The astimezone() correctness proof endured much pain to prove whatTim Peters2003-01-021-70/+43
| | | | | turned out to be 3 special cases of a single more-general result. Proving the latter instead is a real simplification.
* Improve exception handling.Kurt B. Kaiser2003-01-023-3/+6
|
* There are two more copyright notices in the Windows world:Tim Peters2003-01-022-3/+3
| | | | | | | | | PC/python_nt.rc sets up the DLL version resource (displayed when you right-click on the DLL and select Properties). PCbuld/python20.wse sets up the installer version resource (displayed when you right-click on the installer .exe and select Properties). Turns out this one hadn't been updated since 2001 <frown>!
* SF bug 661086: datetime.today() truncates microseconds.Tim Peters2003-01-021-7/+16
| | | | | | | | | | | | | | | | On Windows, it was very common to get microsecond values (out of .today() and .now()) of the form 480999, i.e. with three trailing nines. The platform precision is .001 seconds, and fp rounding errors account for the rest. Under the covers, that 480999 started life as the fractional part of a timestamp, like .4809999978. Rounding that times 1e6 cures the irritation. Confession: the platform precision isn't really .001 seconds. It's usually worse. What actually happens is that MS rounds a cruder value to a multiple of .001, and that suffers its own rounding errors. A tiny bit of refactoring added a new internal utility to round doubles.
* Update the copyright year.Guido van Rossum2003-01-022-2/+2
|