summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Implemented FSCatalogInfo.Jack Jansen2003-01-123-27/+705
|
* Try to make a sentance more readable.Neal Norwitz2003-01-121-1/+1
|
* SF #665570, curses causes interpreter crashNeal Norwitz2003-01-121-1/+2
| | | | | | | The interpreter doesn't crash, but it does call exit() in libncurses. Add a note to this effect. Will backport
* Minor correction and clarification.Fred Drake2003-01-111-1/+3
|
* Got rid of the internal datetimetz type.Tim Peters2003-01-113-1024/+655
|
* Minor fiddling to make the next part easier. Introduced an internalTim Peters2003-01-112-38/+61
| | | | HASTZINFO() macro.
* SF #639945 was fixed in alpha 1Neal Norwitz2003-01-101-0/+2
|
* Fix SF bug # 602259, 3rd parameter for Tkinter.scan_dragtoNeal Norwitz2003-01-102-3/+6
| | | | Add the optional gain parameter and pass it to Tk.
* Get build working on Redhat 7.2 linux 2.4.7Neal Norwitz2003-01-101-0/+4
|
* Update documentation.Kurt B. Kaiser2003-01-104-238/+323
|
* SF bug #652933 (for IdleFork): Open Module "math" Fails (Hettinger)Kurt B. Kaiser2003-01-101-1/+4
| | | | | | | When a module doesn't have a __path__ attribute, trigger a dialog box rather than dumping a traceback to the console. Synch to Python IDLE.
* SF #665913, Fix mmap module core dump with unixNeal Norwitz2003-01-101-0/+3
| | | | Closing an mmap'ed file (calling munmap) twice on Solaris caused a core dump.
* SF #665913, Fix mmap module core dump with unixNeal Norwitz2003-01-102-2/+22
| | | | | | Closing an mmap'ed file (calling munmap) twice on Solaris caused a core dump. Will backport.
* M configDialog.pyKurt B. Kaiser2003-01-102-82/+97
| | | | | | | | | | | | | M configHelpSourceEdit.py 1. Attach configHelpSourceEdit error dialogs to parent to avoid Tk root pop-ups. 2. Make configHelpSourceEdit OK button the default and bind <Return>. 3. Reformat configHelpSourceEdit. 4. ConfigDialog.SaveAllChangedConfig() had a bug which caused additional help sources to be deleted when other config items were changed. 4. Uniform capitalization in configDialog. 5. Update configDialog doc string.
* Python 2.1's string module doesn't have ascii_letters, so let's justBarry Warsaw2003-01-101-13/+10
| | | | hard code it. We want this module to work with Python 2.1 for now.
* Cleanups, and conversion of assert to assertEqual()Barry Warsaw2003-01-101-71/+69
|
* As discussed on python-dev, removed from DUP_TOPX support for theRaymond Hettinger2003-01-101-35/+0
| | | | | | | | parameter being either four or five. Currently, compile.c does not generate calls with a parameter higher than three. May have to be reverted if the second alpha or beta shakes out some other tool generating this op code with a parameter of four or five.
* As discussed briefly on python-dev, add Pending Deprecation WarningNeal Norwitz2003-01-101-3/+5
| | | | | when a string exception is raised. Note that raising string exceptions is deprecated in an exception message.
* Get rid of compiler warningsNeal Norwitz2003-01-102-19/+19
|
* Remove extra 'types'Neal Norwitz2003-01-101-3/+3
| | | | Change a couple of list -> mylist
* SF bug #652888: bad documentation for the "type" builtinRaymond Hettinger2003-01-101-6/+22
| | | | | | | | | | Clarified that not all types are included. The OP was looking for a StaticMethodType. Also, added a note and example suggesting the use of int,str, etc. instead of IntType, StrType, etc. Renamed the crummy variable name in the example from "list" to "mylist".
* 1. Make finding Python help docs more robust, including the installedKurt B. Kaiser2003-01-101-19/+29
| | | | | | configuation. 2. Make sure that os.startfile() is used to open both Python help docs and Extra Help docs on the Windows platforms.
* Got rid of the timetz type entirely. This was a bit trickier than ITim Peters2003-01-103-489/+354
| | | | | | | hoped it would be, but not too bad. A test had to change: time.__setstate__() can no longer add a non-None tzinfo member to a time object that didn't already have one, since storage for a tzinfo member doesn't exist in that case.
* Default the OK key in the Save Before Run dialog.Kurt B. Kaiser2003-01-101-0/+1
|
* Removed more now-pointless pickle code.Tim Peters2003-01-101-93/+34
|
* Started on implementing support for FSCatalogInfo. Doesn't work yet, don'tJack Jansen2003-01-092-2/+60
| | | | try it.
* interpret utf-8 file names on OSXJust van Rossum2003-01-091-0/+2
|
* support unicode in menu itemsJust van Rossum2003-01-091-1/+4
|
* removed silly & mask, avoiding FutureWarningJust van Rossum2003-01-091-2/+2
|
* cleaned up Jack's Mac OS9 changesJust van Rossum2003-01-091-5/+1
|
* Purged reference to defunct datetimetz.Tim Peters2003-01-091-1/+1
|
* SF patch #664320: Replace push/pop clusters in ceval.cRaymond Hettinger2003-01-091-150/+167
| | | | | | | | | | | Replaced groups of pushes and pops with indexed access to the stack and a single adjustment (if needed) to the stacklevel. Avoids scores of unnecessary increments and decrements to the stackpointer. Removes unnecessary sequential dependencies so that the compiler has more freedom for optimizations. Frees the processor for more parallel and pipelined execution by using mostly read-only access and having few pointer adjustments just prior to a read or write.
* Various minor editsAndrew M. Kuchling2003-01-091-27/+30
|
* Markup fixAndrew M. Kuchling2003-01-091-0/+1
|
* Make the test scripts work again with narrow Python builds.Walter Dörwald2003-01-091-1/+1
|
* add newline to source before compilationJust van Rossum2003-01-091-1/+1
|
* Massive fiddling to reflect that datetimetz and timetz no longer exist.Tim Peters2003-01-091-556/+266
| | | | | | | | | | WARNING: It would be a minor miracle if the LaTeX stuff still worked. s/field/member/ generally everywhere, to conform with most other usage in the docs. s/daylight savings time/daylight saving time/ generally everywhere, because the latter spelling is anally correct.
* Add a few test cases to increase code coverage:Walter Dörwald2003-01-081-0/+115
| | | | | | | | | | | | | | | From: 69.73% of 294 source lines executed in file ./Modules/_codecsmodule.c 79.47% of 487 source lines executed in file Python/codecs.c 78.45% of 3643 source lines executed in file Objects/unicodeobject.c To: 70.41% of 294 source lines executed in file ./Modules/_codecsmodule.c 82.75% of 487 source lines executed in file Python/codecs.c 80.76% of 3638 source lines executed in file Objects/unicodeobject.c This actually unearthed a bug in the handling of None values in PyUnicode_EncodeCharmap.
* Add a test that exercises the error handling part ofWalter Dörwald2003-01-081-0/+6
| | | | PyUnicode_EncodeDecimal().
* Fix charmapencode_lookup(), so that a None value in the mappingWalter Dörwald2003-01-081-0/+2
| | | | | is treated as "character maps to <undefined>" and not as "character mapping must return integer, None or str".
* SF patch 661583: Remove old code from lib\os.pyTim Peters2003-01-081-10/+8
| | | | | A patch from Andrew Wilkinson to change some bizarre old exec statements specific to NT and CE.
* Deleted pickle/unpickle code for the old datetime and time classes -- it'sTim Peters2003-01-081-160/+0
| | | | unreachable now.
* Utterly minimal changes to collapse datetimetz into datetime, and timetzTim Peters2003-01-083-86/+107
| | | | | | | | | into time. This is little more than *exporting* the datetimetz object under the name "datetime", and similarly for timetz. A good implementation of this change requires more work, but this is fully functional if you don't stare too hard at the internals (e.g., right now a type named "datetime" shows up as a base class of the type named "datetime"). The docs also need extensive revision, not part of this checkin.
* Remove variable owned from PyUnicode_FromEncodedObject, which is unusedWalter Dörwald2003-01-081-7/+0
| | | | (except for Py_DECREF calls) since the introduction of __unicode__.