| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
One more time on this turkey, but duller instead of cleverer.
Curious: The docs say __getslice__ has been deprecated since 2.0, but
list.__getitem__ still doesn't work if you pass it a slice. This makes
it a lot clearer to emulate a list by *being* a list <wink>.
Bugfix candidate. Michael, just pile this patch on top of the others
that went by -- no need to try to pick these apart.
|
|
|
|
| |
Michael: use this version as the bugfix candidate...
|
|
|
|
| |
is always 0. This closes bug #533234.
|
|
|
|
|
| |
thought was just a bug report, so didn't notice - doh!). This handles
slicing, which v 1.23 didn't.
|
|
|
|
|
|
| |
particular, negative indexes work and they are limited by the actual length
of the names they represent (weekday and month names). This closes bug
#503202.
|
|
|
|
| |
localization of month and day names.
|
|
|
|
|
|
|
|
| |
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'.
|
| |
|
| |
|
|
|