| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
|
| |
|
|
|
|
|
| |
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* deletes cache
* adds firstweekday and setfirstweekday functions that allow user to control
which day of the week is first when displaying calendars
* adds month, week, calendar functions that return their results instead of
printing them
* adds symbolic constants MONDAY, ..., SUNDAY so users need not remember the
ordinal values of the weekdays
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1. Comments at the beginning of the module, before
functions, and before classes have been turned
into docstrings.
2. Tabs are normalized to four spaces.
Also, removed the "remove" function from dircmp.py, which reimplements
list.remove() (it must have been very old).
|
|
|
|
| |
timestamp from GMT tuple.
|
|
|
|
|
| |
Make error an alias for ValueError.
(Andrew Dalke & kjpylint)
|
| |
|
| |
|
|
|
|
|
|
|
| |
* imghdr.py: added jpeg recognition
* torgb.py: added jpeg conversion
* tzparse.py: use functions from time instead of calendar
* whatsound.py: add /ufs/guido/biin/sgi to $PATH when calling 'whatsound'
|
|
|
|
|
|
|
| |
* calendar.py: remove stuff now built in time; some cleanup and
generalization in the calendar printing
* cmd.py: use __init__.
* tzparse.py: This module is no longer necessary -- use builtin time instead!
|
|
|
|
|
| |
* ftplib.py: support __init__ with optional host, port args
* aifc.py: ensure header is written on close even when no data is written
|
|
|
|
| |
tuple (now that it makes a difference to Python)
|
|
|
|
|
|
| |
* Fixed calendar.py, mimetools.py, whrandom.py to cope with time.time()
returning a floating point number. (And fix old bug in calendar)
* Add recursion level to mainloop.mainloop(), to make it reentrant.
|
|
|
|
| |
is moved to the sgi subdirectory.
|
|
|
|
| |
Got rid of old module 'localtime.py'.
|
| |
|
| |
|
|
|