summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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__.
* Fix bug 427345 [related to IE's additional input on POST request].Steve Holden2003-01-081-0/+7
|
* Various tweaks to make the test work on the Mac.Jack Jansen2003-01-081-3/+12
|
* Always define getenv(), as suggested by Guido. This means that os.getenv() ↵Jack Jansen2003-01-081-5/+5
| | | | is also defined for MacPython-OS9 (even though it doesn't actually do anything useful), and it shouldn't hurt on other platforms.
* Test that chmod() actually exists before calling it (it doesn't on MacOS9).Jack Jansen2003-01-081-1/+2
|
* Removed the SetDates warning. The warning is in the readme, and the print ↵Jack Jansen2003-01-081-2/+2
| | | | statement was too obtrusive (it appeared during the installation process, and the user needed to close the resulting window manually).
* quashed another case of the 32-bit warning.Jack Jansen2003-01-081-1/+1
|
* Updated the list of expected skips for MacPython-OS9.Jack Jansen2003-01-081-0/+8
|
* n the Mac the frozen import that should fail actually succeeds, and we know ↵Jack Jansen2003-01-081-6/+7
| | | | it, so skip the test in stead of confusing the end user.
* Added the Mac to platforms that don't have user/group/other modes.Jack Jansen2003-01-081-3/+6
| | | | Set the limit for the number of open files to 32 if platform==mac.
* Made "ascii" the default encoding for MacPython, as suggested by MvL, and ↵Jack Jansen2003-01-081-0/+5
| | | | ripped out my previous changes to test_unicode. Doing this for 2.3a1 should give people enough time to complain, if they want to, and then we can see whether we want to do anything about it.
* Added a couple of casts to make this compile with CodeWarrior.Jack Jansen2003-01-081-3/+3
|
* Merging the various tweaks for MacPython-OS9 2.3a1 back into the trunk.Jack Jansen2003-01-0827-290/+220
|
* Mention the change from patch #664376.Thomas Heller2003-01-081-0/+3
|
* Patch #664376: sys.path[0] should contain absolute pathname.Thomas Heller2003-01-081-0/+12
| | | | | | | | This fixes the problem on Windows - that's the only system where I can test it. It leaves sys.argv alone and only changes sys.path[0] to an absolute pathname.
* Add notes about the linuxaudiodev and ossaudiodev modules.Fred Drake2003-01-081-0/+8
|
* - be explicit: audio data files should be opened in binary modeFred Drake2003-01-081-2/+2
| | | | | - ossaudiodev.open() raises IOError, not ossaudiodev.error, for cases which get mapped to TestSkipped
* command doesn't work, but program does, not sure it's correct, thoughNeal Norwitz2003-01-081-1/+1
|
* There's no such method as has_option() -- should be has_extn().Greg Ward2003-01-081-2/+2
|
* Rewrite awkward/ungrammatical sentence.Greg Ward2003-01-081-3/+3
| | | | Typo fix.
* Bump version numberAndrew M. Kuchling2003-01-081-1/+1
|
* Add reminder that ossaudiodev can/should also be built on FreeBSD.Greg Ward2003-01-081-0/+2
|
* Enable building and testing of ossaudiodev for Linux.Guido van Rossum2003-01-082-0/+8
|
* Note about rexec.py and Bastion.py. This requires doc changes andGuido van Rossum2003-01-071-0/+3
| | | | whatsnew updates as well.