summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* SF bug #681003: itertools issuesRaymond Hettinger2003-02-071-0/+4
| | | | | | | | | | | * Fixed typo in exception message for times() * Filled in missing times_traverse() * Document reasons that imap() did not adopt a None fill-in feature * Document that count(sys.maxint) will wrap-around on overflow * Add overflow test to islice() * Check that starmap()'s argument returns a tuple * Verify that imap()'s tuple re-use is safe * Make a similar tuple re-use (with safety check) for izip()
* Fix SF bug #675259, os.environ leaks under FreeBSD and Mac OS XNeal Norwitz2003-02-071-1/+7
| | | | | | Even with the extra work to cleanup the env, *BSD still leaks. Add a note. Will backport.
* Update doc to reflect code changes for obsoleting use_statcache parameterNeal Norwitz2003-02-061-8/+3
|
* Typo fixesAndrew M. Kuchling2003-02-061-2/+2
|
* Fix description of filterwarnings() parameters (error noted by Richard Jones atAndrew M. Kuchling2003-02-061-4/+5
| | | | http://mechanicalcat.net/cgi-bin/log/python/turning_warnings_off.html)
* Provide version changed infoNeal Norwitz2003-02-061-0/+1
|
* Updated version of [ 558544 ] cmd.py: add instance-specific stdin/outAnthony Baxter2003-02-061-5/+11
| | | | | | | | | | This patch adds stdin, stdout as optional arguments to the cmd.Cmd constructor (defaulting to sys.stdin, sys.stdout), and changes the Cmd methods throughout to use self.stdout.write() and self.stdin.foo for output and input. This allows much greater flexibility for using cmd - for instance, hooking it into a telnet server. Patch for library module and for documentation.
* Markup fixes; in particular, the tables are now reasonable widthAndrew M. Kuchling2003-02-051-104/+117
|
* supports_unicode_filenames was not in the right location.Fred Drake2003-02-041-7/+8
|
* Update to better reflect the usage of struct_time instances throughout;Fred Drake2003-02-041-24/+28
| | | | | continuing to call these "time tuples" is misleading at best. Closes SF bug #671731; will backport to 2.2.x.
* Bug #678077: Suggest alternative to os.getlogin()Andrew M. Kuchling2003-02-031-1/+3
|
* Move itertools module from the sandbox and into production.Raymond Hettinger2003-02-012-0/+326
|
* 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.
* 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
|
* 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
|
* Adjust some of Skip's latest changes slightly; these really are thingsFred Drake2003-01-271-5/+13
| | | | that should stand out.
* * 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
|
* 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.
* SF patch #670423: Add missing identity tests to operator.cRaymond Hettinger2003-01-181-1/+9
|
* Fix a couple of markup errors.Fred Drake2003-01-171-3/+3
|
* 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
|
* 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".
* Purged reference to defunct datetimetz.Tim Peters2003-01-091-1/+1
|
* Various minor editsAndrew M. Kuchling2003-01-091-27/+30
|
* Markup fixAndrew M. Kuchling2003-01-091-0/+1
|
* Massive fiddling to reflect that datetimetz and timetz no longer exist.Tim Peters2003-01-091-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 Drake2003-01-081-0/+8
|