summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Move itertools module from the sandbox and into production.Raymond Hettinger2003-02-012-0/+326
|
* Document __module__.Jeremy Hylton2003-01-311-3/+11
|
* Change the treatment of positions returned by PEP293Walter Dörwald2003-01-312-6/+17
| | | | | | | | | | | | | | | | error handers in the Unicode codecs: Negative positions are treated as being relative to the end of the input and out of bounds positions result in an IndexError. Also update the PEP and include an explanation of this in the documentation for codecs.register_error. Fixes a small bug in iconv_codecs: if the position from the callback is negative *add* it to the size instead of substracting it. From SF patch #677429.
* Fix typoRaymond Hettinger2003-01-311-1/+1
|
* SF bug #671447: StringIO doc doesn't say it's sometimes read-only.Raymond Hettinger2003-01-311-0/+5
|
* Fix markup error.Fred Drake2003-01-301-1/+1
|
* Author markup: Andrew got to it firstRaymond Hettinger2003-01-301-1/+0
|
* Make the footer at the end of a \verbatiminput stand out a littleFred Drake2003-01-291-0/+4
| | | | more, to make it easier to tell apart from the verbatim content.
* Move a footnote to the end of the sentence, so the note mark won'tFred Drake2003-01-291-3/+4
| | | | interfere with the flow of the sentence.
* More markup changes for consistency.Fred Drake2003-01-281-14/+14
|
* Various minor markup adjustments.Fred Drake2003-01-281-16/+25
|
* Added missing dependency.Fred Drake2003-01-281-0/+1
|
* Update register exampleAndrew M. Kuchling2003-01-271-10/+16
|
* Adjust some of Skip's latest changes slightly; these really are thingsFred Drake2003-01-271-5/+13
| | | | that should stand out.
* Make the "notice" environments somewhat similar, with less differenceFred Drake2003-01-271-1/+11
| | | | between the "note" and "warning" flavors.
* * add \versionadded{} strings as appropriateSkip Montanaro2003-01-271-5/+23
| | | | | | * remove doc for defunct IllegalKeywordArgument exception * add note that HTTP class is for backward compatibility and refer reader to online docstrings for help
* Fix minor typos.Raymond Hettinger2003-01-251-6/+6
|
* SF #638299, LaTeX documentation for logging packageNeal Norwitz2003-01-251-884/+846
| | | | | | Replace existing doc with new version from Vinay. Fixed markup and wrapped long lines from patch. Needs review.
* Fix markupNeal Norwitz2003-01-251-1/+1
|
* Include version annotation for PyObject_Call().Fred Drake2003-01-251-0/+1
|
* Fix typo reported to python-docs.Fred Drake2003-01-251-1/+1
|
* date and datetime comparison: when we don't know how toTim Peters2003-01-241-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 Warsaw2003-01-241-2/+2
|
* SF bug 660872: datetimetz constructors behave counterintuitively (2.3a1).Tim Peters2003-01-231-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 Peters2003-01-231-8/+14
|
* "Premature" doc changes, for new astimezone() rules, and the newTim Peters2003-01-222-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() docsTim Peters2003-01-211-2/+2
| | | | tzinfo dst() should return timedelta(0) if DST is not effect, not 0.
* more tweaksSkip Montanaro2003-01-211-13/+16
|
* * document open() functionSkip Montanaro2003-01-211-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 Peters2003-01-202-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 typoRaymond Hettinger2003-01-191-1/+1
|
* SF patch #634866: Alex Martelli's corrections to the ref manual.Raymond Hettinger2003-01-193-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.cRaymond Hettinger2003-01-181-1/+9
|
* Various markup changes.Fred Drake2003-01-171-20/+22
|
* Fix a couple of markup errors.Fred Drake2003-01-171-3/+3
|
* Clean up some files that LaTeX2HTML drops in the HTML output directoryFred Drake2003-01-171-0/+5
| | | | sometimes.
* Correct typos in example code.Raymond Hettinger2003-01-171-3/+3
|
* Patch #662454: import a.b as c is ok, fixes #660811.Martin v. Löwis2003-01-161-5/+1
|
* reference the os module and the lock flags in the os.open() function.Skip Montanaro2003-01-151-0/+8
| | | | (Someone please review what I wrote for accuracy.)
* Document that __cmp__() is not defined for sets.Raymond Hettinger2003-01-151-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öwis2003-01-151-2/+7
|
* Patch #473586: Implement CGIXMLRPCRequestHandler.Martin v. Löwis2003-01-151-16/+103
|
* Move the date/time section into the modules section; it was in theAndrew M. Kuchling2003-01-131-61/+61
| | | | C API section by mistake
* Link to MRO articleAndrew M. Kuchling2003-01-131-2/+8
| | | | Mention deprecation of string exceptions
* SF patch 664183 and SF bug 664044: Note that both u'%s' % 'x' andRaymond Hettinger2003-01-131-1/+4
| | | | '%s' % u'x' return a unicode object.
* Try to make a sentance more readable.Neal Norwitz2003-01-121-1/+1
|
* SF #665570, curses causes interpreter crashNeal Norwitz2003-01-121-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 Drake2003-01-111-1/+3
|
* 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".