Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix minor typos. | Raymond Hettinger | 2003-01-25 | 1 | -6/+6 |
| | |||||
* | SF #638299, LaTeX documentation for logging package | Neal Norwitz | 2003-01-25 | 1 | -884/+846 |
| | | | | | | Replace existing doc with new version from Vinay. Fixed markup and wrapped long lines from patch. Needs review. | ||||
* | Fix markup | Neal Norwitz | 2003-01-25 | 1 | -1/+1 |
| | |||||
* | Include version annotation for PyObject_Call(). | Fred Drake | 2003-01-25 | 1 | -0/+1 |
| | |||||
* | Fix typo reported to python-docs. | Fred Drake | 2003-01-25 | 1 | -1/+1 |
| | |||||
* | date and datetime comparison: when we don't know how to | Tim Peters | 2003-01-24 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | compare against "the other" argument, we raise TypeError, in order to prevent comparison from falling back to the default (and worse than useless, in this case) comparison by object address. That's fine so far as it goes, but leaves no way for another date/datetime object to make itself comparable to our objects. For example, it leaves Marc-Andre no way to teach mxDateTime dates how to compare against Python dates. Discussion on Python-Dev raised a number of impractical ideas, and the simple one implemented here: when we don't know how to compare against "the other" argument, we raise TypeError *unless* the other object has a timetuple attr. In that case, we return NotImplemented instead, and Python will give the other object a shot at handling the comparison then. Note that comparisons of time and timedelta objects still suffer the original problem, though. | ||||
* | Fred drives and fixes a formatting nit. | Barry Warsaw | 2003-01-24 | 1 | -2/+2 |
| | |||||
* | SF bug 660872: datetimetz constructors behave counterintuitively (2.3a1). | Tim Peters | 2003-01-23 | 1 | -10/+19 |
| | | | | | | This gives much the same treatment to datetime.fromtimestamp(stamp, tz) as the last batch of checkins gave to datetime.now(tz): do "the obvious" thing with the tz argument instead of a senseless thing. | ||||
* | Reimplemented datetime.now() to be useful. | Tim Peters | 2003-01-23 | 1 | -8/+14 |
| | |||||
* | "Premature" doc changes, for new astimezone() rules, and the new | Tim Peters | 2003-01-22 | 2 | -57/+161 |
| | | | | | | | | | tzinfo.fromutc() method. The C code doesn't implement any of this yet (well, not the C code on the machine I'm using now), nor does the test suite reflect it. The Python datetime.py implementation and test suite in the sandbox do match these doc changes. The C implementation probably won't catch up before Thursday (Wednesday is a scheduled "black hole" day this week <0.4 wink>). | ||||
* | SF bug 671779: Error in tzinfo.dst() docs | Tim Peters | 2003-01-21 | 1 | -2/+2 |
| | | | | tzinfo dst() should return timedelta(0) if DST is not effect, not 0. | ||||
* | more tweaks | Skip Montanaro | 2003-01-21 | 1 | -13/+16 |
| | |||||
* | * document open() function | Skip Montanaro | 2003-01-21 | 1 | -27/+41 |
| | | | | | * promote the example and the documented restrictions to \subsection status * document the flag parameter of the DbfilenameShelf class | ||||
* | New rule for tzinfo subclasses handling both standard and daylight time: | Tim Peters | 2003-01-20 | 2 | -32/+38 |
| | | | | | | | | | | | | When daylight time ends, an hour repeats on the local clock (for example, in US Eastern, the clock jumps from 1:59 back to 1:00 again). Times in the repeated hour are ambiguous. A tzinfo subclass that wants to play with astimezone() needs to treat times in the repeated hour as being standard time. astimezone() previously required that such times be treated as daylight time. There seems no killer argument either way, but Guido wants the standard-time version, and it does seem easier the new way to code both American (local-time based) and European (UTC-based) switch rules, and the astimezone() implementation is simpler. | ||||
* | Fix typo | Raymond Hettinger | 2003-01-19 | 1 | -1/+1 |
| | |||||
* | SF patch #634866: Alex Martelli's corrections to the ref manual. | Raymond Hettinger | 2003-01-19 | 3 | -48/+101 |
| | | | | | Backport candidate. All but one or two of these changes are applicable to 2.2.2. | ||||
* | SF patch #670423: Add missing identity tests to operator.c | Raymond Hettinger | 2003-01-18 | 1 | -1/+9 |
| | |||||
* | Various markup changes. | Fred Drake | 2003-01-17 | 1 | -20/+22 |
| | |||||
* | Fix a couple of markup errors. | Fred Drake | 2003-01-17 | 1 | -3/+3 |
| | |||||
* | Clean up some files that LaTeX2HTML drops in the HTML output directory | Fred Drake | 2003-01-17 | 1 | -0/+5 |
| | | | | sometimes. | ||||
* | Correct typos in example code. | Raymond Hettinger | 2003-01-17 | 1 | -3/+3 |
| | |||||
* | Patch #662454: import a.b as c is ok, fixes #660811. | Martin v. Löwis | 2003-01-16 | 1 | -5/+1 |
| | |||||
* | reference the os module and the lock flags in the os.open() function. | Skip Montanaro | 2003-01-15 | 1 | -0/+8 |
| | | | | (Someone please review what I wrote for accuracy.) | ||||
* | Document that __cmp__() is not defined for sets. | Raymond Hettinger | 2003-01-15 | 1 | -3/+12 |
| | | | | | Note, that list.sort() is undefined for lists of sets. Add the ... prompt to the example so it runs in doctest. | ||||
* | Patch #661719: Expose compilation errors as exceptions on request. | Martin v. Löwis | 2003-01-15 | 1 | -2/+7 |
| | |||||
* | Patch #473586: Implement CGIXMLRPCRequestHandler. | Martin v. Löwis | 2003-01-15 | 1 | -16/+103 |
| | |||||
* | Move the date/time section into the modules section; it was in the | Andrew M. Kuchling | 2003-01-13 | 1 | -61/+61 |
| | | | | C API section by mistake | ||||
* | Link to MRO article | Andrew M. Kuchling | 2003-01-13 | 1 | -2/+8 |
| | | | | Mention deprecation of string exceptions | ||||
* | SF patch 664183 and SF bug 664044: Note that both u'%s' % 'x' and | Raymond Hettinger | 2003-01-13 | 1 | -1/+4 |
| | | | | '%s' % u'x' return a unicode object. | ||||
* | Try to make a sentance more readable. | Neal Norwitz | 2003-01-12 | 1 | -1/+1 |
| | |||||
* | SF #665570, curses causes interpreter crash | Neal Norwitz | 2003-01-12 | 1 | -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 Drake | 2003-01-11 | 1 | -1/+3 |
| | |||||
* | Remove extra 'types' | Neal Norwitz | 2003-01-10 | 1 | -3/+3 |
| | | | | Change a couple of list -> mylist | ||||
* | SF bug #652888: bad documentation for the "type" builtin | Raymond Hettinger | 2003-01-10 | 1 | -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". | ||||
* | Purged reference to defunct datetimetz. | Tim Peters | 2003-01-09 | 1 | -1/+1 |
| | |||||
* | Various minor edits | Andrew M. Kuchling | 2003-01-09 | 1 | -27/+30 |
| | |||||
* | Markup fix | Andrew M. Kuchling | 2003-01-09 | 1 | -0/+1 |
| | |||||
* | Massive fiddling to reflect that datetimetz and timetz no longer exist. | Tim Peters | 2003-01-09 | 1 | -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 notes about the linuxaudiodev and ossaudiodev modules. | Fred Drake | 2003-01-08 | 1 | -0/+8 |
| | |||||
* | command doesn't work, but program does, not sure it's correct, though | Neal Norwitz | 2003-01-08 | 1 | -1/+1 |
| | |||||
* | There's no such method as has_option() -- should be has_extn(). | Greg Ward | 2003-01-08 | 1 | -2/+2 |
| | |||||
* | Rewrite awkward/ungrammatical sentence. | Greg Ward | 2003-01-08 | 1 | -3/+3 |
| | | | | Typo fix. | ||||
* | Bump version number | Andrew M. Kuchling | 2003-01-08 | 1 | -1/+1 |
| | |||||
* | Document EX_OK and friends. | Barry Warsaw | 2003-01-07 | 1 | -0/+114 |
| | |||||
* | SF #664011, move tarfile module in docs | Neal Norwitz | 2003-01-07 | 1 | -1/+1 |
| | |||||
* | Add tarfile module | Andrew M. Kuchling | 2003-01-07 | 1 | -0/+4 |
| | |||||
* | Add Tix and rexec changes | Andrew M. Kuchling | 2003-01-06 | 1 | -1/+17 |
| | |||||
* | Fix spelling. | Raymond Hettinger | 2003-01-06 | 1 | -1/+1 |
| | |||||
* | SF #642236, optparse LaTeX docs by Johannes Gijsbers | Neal Norwitz | 2003-01-06 | 6 | -0/+1821 |
| | |||||
* | Strike any hint that from-import-* could ever be reasonable; it's a | Fred Drake | 2003-01-06 | 1 | -2/+1 |
| | | | | vile abomination and should be eradicated! |