summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* astimezone(): document that None is an OK argument.Tim Peters2002-12-271-4/+5
|
* Added a useful warning to the documentation.Eric S. Raymond2002-12-271-2/+4
|
* Document killpg.Martin v. Löwis2002-12-271-0/+8
|
* Patch #657889: Implement posix.getloadavg.Martin v. Löwis2002-12-271-0/+8
|
* Make comparison and subtraction of aware objects ignore tzinfo if theTim Peters2002-12-271-23/+29
| | | | | | operands have identical tzinfo members (meaning object identity -- "is"). I misunderstood the intent here, reading wrong conclusion into conflicting clues.
* Backing out patch #642578 in anticipation of final acceptance of PEP 302.Just van Rossum2002-12-251-15/+0
|
* SF 658405: calendar.py to rely on the datetime module instead of the timeRaymond Hettinger2002-12-251-4/+6
| | | | | | | | | module. The code is shorter, more readable, faster, and dramatically increases the range of acceptable dates. Also, used the floor division operator in leapdays().
* Implemented datetime.astimezone() and datetimetz.astimezone().Tim Peters2002-12-251-0/+22
|
* 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).
* Fix SF #658023, "What's New in 2.3", s12, verbatim errorNeal Norwitz2002-12-241-1/+1
| | | | Remove space between \end {verbatim}
* Implemented .replace() methods for date, datetime, datetimetz, time andTim Peters2002-12-241-1/+28
| | | | timetz.
* 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).
* 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.
* Added docs for (draft) pkgutil module.Fred Drake2002-12-233-0/+52
|
* Bump version numberAndrew M. Kuchling2002-12-231-1/+1
|
* Fixed longstanding bug in the description of strftime's %W code.Tim Peters2002-12-201-1/+1
|
* Check in current, unfinished, draft of datetime docsAndrew M. Kuchling2002-12-181-0/+1139
| | | | (Fred, don't bother to add to lib.tex or to proofread this yet.)
* Fix some small markup nits.Fred Drake2002-12-181-5/+5
|
* Fix typo spotted by Richie HindleNeal Norwitz2002-12-181-1/+1
|
* Two more typo fixes.Greg Ward2002-12-171-2/+2
|
* Typo fix.Greg Ward2002-12-171-1/+1
|
* This is Richie Hindle's patchMichael W. Hudson2002-12-173-10/+24
| | | | | | | | [ 643835 ] Set Next Statement for Python debuggers with a few tweaks by me: adding an unsigned or two, mentioning that not all jumps are allowed in the doc for pdb, adding a NEWS item and a note to whatsnew, and AuCTeX doing something cosmetic to libpdb.tex.
* Add markup for base parameterNeal Norwitz2002-12-171-2/+2
|
* Fix SF # 641111, Undocumented side effect of evalNeal Norwitz2002-12-171-1/+6
| | | | | | | | Try to clear up confusion about the current globals being copied into a globals dict passed to eval(). This wording (more or less) was suggested in bug report. It should probably be made clearer. Backport candidate.
* Fix SF #642742, property() builtin not documentedNeal Norwitz2002-12-171-0/+78
| | | | | | | | Added doc for functions new to 2.2: classmethod property staticmethod super Taken from docstrings. Could use review. Hope there wasn't a reason why these shouldn't have been added. Backport candidate.
* Fix SF # 626275, missing DECREF's in embedding exampleNeal Norwitz2002-12-171-3/+8
| | | | | | | Tested w/valgrind, all paths except the return on PyInt_AsLong() failure I think I got all of these right. Backport candidate.
* Fixed bugGustavo Niemeyer2002-12-161-1/+3
| | | | | | | | | | | | | | | | | [#521782] unreliable file.read() error handling * Objects/fileobject.c (file_read): Clear errors before leaving the loop in all situations, and also check if some data was read before exiting the loop with an EWOULDBLOCK exception. * Doc/lib/libstdtypes.tex * Objects/fileobject.c Document that sometimes a read() operation can return less data than what the user asked, if running in non-blocking mode. * Misc/NEWS Document the fix.
* Fixing bugGustavo Niemeyer2002-12-161-0/+18
| | | | | | | | | | | | | | | | | | [#448679] Left to right * Python/compile.c (com_dictmaker): Reordered evaluation of dictionaries to follow strict LTR evaluation. * Lib/compiler/pycodegen.py (CodeGenerator.visitDict): Reordered evaluation of dictionaries to follow strict LTR evaluation. * Doc/ref/ref5.tex Documented the general LTR evaluation order idea. * Misc/NEWS Documented change in evaluation order of dictionaries.
* Rewrite to produce a complete sentenceAndrew M. Kuchling2002-12-151-6/+6
|
* typo fix.Just van Rossum2002-12-151-1/+1
|
* Added missing markup.Raymond Hettinger2002-12-141-6/+9
| | | | | Replaced British spelling of 'behaviour' with 'behavior'. Noted the new optional argument in math.log(x [,base]).
* Apply SF patch 652930: Add optional base argument to math.log(x[, base]).Raymond Hettinger2002-12-141-2/+4
|
* Add Tkinter threading changeAndrew M. Kuchling2002-12-131-3/+17
| | | | | Fix markup errors Rewrite a sentence
* Description of description was really confusing, and added some markup.Thomas Heller2002-12-121-10/+10
|
* Raw documentation for the bdist_wininst postinstallation script.Thomas Heller2002-12-121-0/+78
| | | | | | | | | | People are already using it, so these docs are certainly better than no docs at all. Markup is mostly missing and the layout is probably ugly, but this can be fixed later. Question: there are references to MS docs for the CSIDL_... constants and the IShellLink interface. Are these pointers sufficient, or should the MS docs reworded and repeated here?
* Enhance issubclass() and PyObject_IsSubclass() so that a tuple isWalter Dörwald2002-12-122-8/+15
| | | | | | | | | | | supported as the second argument. This has the same meaning as for isinstance(), i.e. issubclass(X, (A, B)) is equivalent to issubclass(X, A) or issubclass(X, B). Compared to isinstance(), this patch does not search the tuple recursively for classes, i.e. any entry in the tuple that is not a class, will result in a TypeError. This closes SF patch #649608.
* Patch #651621, approved by MvL.Just van Rossum2002-12-121-5/+7
| | | | | | | | | | | | | | | | This patch allows ZipFile.writestr() to be called with an archive file name instead of a ZipInfo instance: z = ZipFile("myarchive.zip", "w") z.writestr("foo/baz/file.ext", data) z.close() I found the old writestr() method very inconvenient for simple (but common) things. If called with a file name instead of a ZipInfo instance, the date_time is set to the current date/time, which makes sense to me for anonymous data.
* Various additions and changes suggested by Raymond HettingerAndrew M. Kuchling2002-12-111-16/+85
|
* Patch #651006: Better explain what component might be empty.Martin v. Löwis2002-12-111-1/+1
|
* Update comments about the performance of xrange().Raymond Hettinger2002-12-111-2/+2
|
* Added a word to the heapq description in response to user confusion.Tim Peters2002-12-101-2/+3
|
* Add support for binary pickles to the shelve module. In some situationsSkip Montanaro2002-12-081-4/+34
| | | | | | | | this can result in significantly smaller files. All classes as well as the open function now accept an optional binary parameter, which defaults to False for backward compatibility. Added a small test suite, updated the libref documentation (including documenting the exported classes and fixing a few other nits) and added a note about the change to Misc/NEWS.
* Revise the __all__ index entry a touch.Fred Drake2002-12-071-1/+1
|
* Add __all__ to Reference Manual index.Raymond Hettinger2002-12-071-0/+1
| | | | Closes SF 643227.
* Typo: propogate -> propagateThomas Heller2002-12-062-3/+3
| | | | Bugfix candidate.
* Remove extra ")" in example.Fred Drake2002-12-061-1/+1
|