summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2002-12-247-11/+10
|
* Add an XXX comment about relative imports.Guido van Rossum2002-12-241-1/+2
|
* boolcheck cannot be deleted here.Tony Lownds2002-12-241-1/+1
|
* Move boolcheck before import of other IDLE modulesTony Lownds2002-12-241-3/+3
|
* Removed blurb admonishing users to raise an exception if the datetimeTim Peters2002-12-241-2/+1
| | | | argument to a tzinfo method doesn't have a matching tzinfo member.
* Added note about technical pickle limitation on tzinfo instances.Tim Peters2002-12-241-1/+6
|
* tzinfo.{utcoffset,dst} can return timedelta (or integer or None).Tim Peters2002-12-241-15/+21
| | | | {timetz,datetimetz}.{uctcoffset,dst} do return timedelta (or None).
* Add test for SF #658106. Will backport.Neal Norwitz2002-12-241-0/+4
|
* Fix SF #658023, "What's New in 2.3", s12, verbatim errorNeal Norwitz2002-12-241-1/+1
| | | | Remove space between \end {verbatim}
* Added File and Folder, removed macfs.Jack Jansen2002-12-242-0/+0
|
* Fixed typo.Jack Jansen2002-12-241-1/+1
|
* Removed macfs, added File and Folder.Jack Jansen2002-12-241-2/+4
|
* Updated for demise of macfs.Jack Jansen2002-12-242-2/+0
|
* M PyShell.pyKurt B. Kaiser2002-12-245-15/+35
| | | | | | | | | | | | | | | | M idle M idle.py M idle.pyw M setup.py Switch back to installing IDLE as a package. The IDLE GUI and the subprocess will both attempt to start up via the package mechanism, but if IDLE is not yet installed it is possible to run by calling python idle.py in the IDLE source directory, or to add the source directory to sys.path. One advantage of doing it this way is IDLE stays off sys.path. Developed in collaboration with Tony Lownds.
* Implemented .replace() methods for date, datetime, datetimetz, time andTim Peters2002-12-243-27/+332
| | | | timetz.
* IDLE should exit if it fails to connect with the execution serverKurt B. Kaiser2002-12-241-1/+1
| | | | subprocess. Currently it opens a dead shell window.
* 1. RPC stack levels were not pruned from traceback unless IDLE was startedKurt B. Kaiser2002-12-241-12/+27
| | | | | | from its source directory. 2. Replace final traceback '?' with '-toplevel-' 3. Remove duplicated import boolcheck
* Uniform Capitalization in MenusKurt B. Kaiser2002-12-241-20/+20
|
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-2327-86/+157
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* Remove debugging connection messageKurt B. Kaiser2002-12-231-2/+3
|
* - Various tweaks to forestall compiler warnings.Jack Jansen2002-12-232-16/+30
|
* Oops, old-style types don't have a tp_free slot. Call PyObject_FreeJack Jansen2002-12-231-2/+6
| | | | directly in that case.
* Brought the strftime explanation into synch with the plain-text sandboxTim Peters2002-12-231-45/+56
| | | | | docs, and moved its section to the end (before the "C API" section, which latter doesn't really belong in the Library manual).
* Squashed compiler warnings by adding casts, making sure prototypes are inJack Jansen2002-12-234-3/+7
| | | | scope and looking at types.
* Add in the datetime docs now that they pass LaTeX. Still ugly, but that canFred Drake2002-12-232-0/+3
| | | | be fixed.
* Lots of markup changes. This is still pretty sad, but passes LaTeXFred Drake2002-12-231-483/+558
| | | | and is mostly readable.
* Move the examples of concrete tzinfo classes to a separate file, so theFred Drake2002-12-231-0/+51
| | | | verbatim environment does not bollux page breaking.
* Make this script execute using pythonwTony Lownds2002-12-231-0/+1
|
* Revert to revision 1.3; Mac OS X has a platform specific startup script, ↵Tony Lownds2002-12-231-15/+2
| | | | macosx_main.py
* Move boolcheck to PyShellTony Lownds2002-12-232-7/+4
|
* Added docs for (draft) pkgutil module.Fred Drake2002-12-233-0/+52
|
* Oops. Roll back that last change. It wasn't ready for release. :-(Guido van Rossum2002-12-232-100/+30
|
* Don't rebind True and False.Tim Peters2002-12-231-5/+5
|
* Add warning for assignment to None, True and False. This is patchGuido van Rossum2002-12-232-30/+100
| | | | 549213 by Jeremy (checking in for him since he's away and busy).
* Last week we discussed adding this module to the standard library.Guido van Rossum2002-12-231-0/+78
| | | | | | Here's a draft. I have no immediate use for it, but I'd like this to be available for experimentation. I may withdraw it or change it radically up to and including the release of Python 2.3b1.
* call_utc_tzinfo_method(): Got rid of the label and the gotos.Tim Peters2002-12-231-7/+2
|
* Bump version numberAndrew M. Kuchling2002-12-231-1/+1
|
* Got rid of Mac/Relnotes, and started on mac-specific release notes in NEWS.Jack Jansen2002-12-232-77/+53
|
* Alt-H was conflicting with the Help menu on Windows.Kurt B. Kaiser2002-12-231-1/+1
| | | | Let's try Alt-2....
* M MANIFEST.inKurt B. Kaiser2002-12-234-52/+45
| | | | | | | | | | | | | | | M PyShell.py M idlever.py M setup.py 1. Update MANIFEST.in to include all non-pure Python files 2. PyShell and idlever reflect Rev 0.9a0 3. setup.py modified to install IDLE as a collection of modules with a .pth file living at the idlelib level in site-packages. This was done to make it easier to run from the source directory prior to installing IDLE. This approach may change back to the package technique depending on what happens with the Mac installation development.
* I give up: unless I write my own strftime by hand, datetime just can'tTim Peters2002-12-222-0/+31
| | | | | | be trusted with years before 1900, so now we raise ValueError if a date or datetime or datetimetz .strftime() method is called with a year before 1900.
* Python's strftime implementation does strange things with the year,Tim Peters2002-12-221-1/+5
| | | | | | | | | | such that the datetime tests failed if the envar PYTHON2K was set. This is an utter mess, and the datetime module's strftime functions inherit it. I suspect that, regardless of the PYTHON2K setting, and regardless of platform limitations, the datetime strftime wrappers will end up delivering nonsense results (or bogus exceptions) for any year before 1900. I should probably just refuse to accept years earlier than that -- else we'll have to implement strftime() by hand.
* classify_object(): Renamed more meaningfully, to classify_utcoffset().Tim Peters2002-12-221-20/+17
| | | | | Also changed logic so that instances of user-defined subclasses of date, time, and datetime are called OFFSET_NAIVE instead of OFFSET_UNKNOWN.
* Implemented a Wiki suggestion:Tim Peters2002-12-222-147/+241
| | | | | | | | | | | | {timetz,datetimetz}.{utcoffset,dst}() now return a timedelta (or None) instead of an int (or None). tzinfo.{utcoffset,dst)() can now return a timedelta (or an int, or None). Curiously, this was much easier to do in the C implementation than in the Python implementation (which lives in the Zope3 code tree) -- the C code already had lots of hair to extract C ints from offset objects, and used C ints internally.
* Add configuration for packaging.Kurt B. Kaiser2002-12-222-0/+7
|
* When IDLE is installed and run from a startup script, the script'sKurt B. Kaiser2002-12-211-0/+5
| | | | | | | | directory becomes sys.path[0]. What is wanted is the directory from which IDLE was called. Insert the current working directory in the path if it isn't there already.
* M PyShell.pyKurt B. Kaiser2002-12-213-23/+24
| | | | | | | | | | | | | M idle M setup.py To be able to run from the source directory or from an installed version of IDLE, and also to allow the subprocess to find run(), Python needs to have the idlelib package on its path. 1. Modify setup.py to supply a .pth file living at same level as idlelib 2. Move boolcheck to PyShell.py 3. Remove boolcheck and path setting code from the "idle" script
* Use wcscoll for _locale.strcoll if available.Martin v. Löwis2002-12-215-8/+92
|
* Added test to ensure that non-string result from dst() raises TypeError.Tim Peters2002-12-211-0/+6
|
* Changes sufficient so that pickles written by the Python implementationTim Peters2002-12-211-9/+15
| | | | can be read by the C implementation. I don't really understand this.