summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* SF patch #687683, Patches to logging (updates from Vinay)Neal Norwitz2003-02-181-10/+11
| | | | | | Mostly rename WARN -> WARNING Other misc tweaks Update tests (not in original patch)
* Add two acks; bump version numberAndrew M. Kuchling2003-02-181-3/+3
|
* [Bug #688261] Fix optparse example and outputAndrew M. Kuchling2003-02-181-2/+5
|
* [Bug #683416] Make PEP263 coverage a bit more explicit, and add it to theAndrew M. Kuchling2003-02-181-6/+14
| | | | porting section
* Fix SF bug #687655, String formatting conversions misleadingNeal Norwitz2003-02-171-1/+1
|
* Migrate definitions of several platform-dependent path-related variablesSkip Montanaro2003-02-141-0/+7
| | | | into the relevant path modules. See patch #686397.
* extsep description:Fred Drake2003-02-141-2/+3
| | | | | | - avoid "e.g." in text - record version information (should be backported)
* add missing description of os.extsepSkip Montanaro2003-02-141-0/+5
|
* SF bug #663701: sets module reviewRaymond Hettinger2003-02-141-4/+4
| | | | Renamed hook methods to use the double underscore convention.
* SF bug #663701. The caret wasn't printing well in the PDF documentation.Raymond Hettinger2003-02-141-1/+1
|
* Remove deps on mac doc files which have been removedNeal Norwitz2003-02-141-2/+0
|
* first cut at a shell script to view a single section from the librarySkip Montanaro2003-02-131-0/+129
| | | | reference manual
* Try to doc the new pickle details being implemented as part of PEP 307.Neal Norwitz2003-02-131-7/+63
| | | | Needs review.
* Cleanup from patch #683257:Neal Norwitz2003-02-121-0/+13
| | | | | | | Add missing INCREFs and re-indent returns to be consistent. Add \n\ for lines in docstring Add a pathetic test Add docs
* Updated the Mac documentation to the current state of affairs.Jack Jansen2003-02-1212-384/+199
|
* Unparenting BZ2File, as discussed in SF patch #661796.Gustavo Niemeyer2003-02-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Modules/bz2module.c (BZ2FileObject): Now the structure includes a pointer to a file object, instead of "inheriting" one. Also, some members were copied from the PyFileObject structure to avoid dealing with the internals of that structure from outside fileobject.c. (Util_GetLine,Util_DropReadAhead,Util_ReadAhead,Util_ReadAheadGetLineSkip, BZ2File_write,BZ2File_writelines,BZ2File_init,BZ2File_dealloc, BZ2Comp_dealloc,BZ2Decomp_dealloc): These functions were adapted to the change above. (BZ2File_seek,BZ2File_close): Use PyObject_CallMethod instead of getting the function attribute locally. (BZ2File_notsup): Removed, since it's not necessary anymore to overload truncate(), and readinto() with dummy functions. (BZ2File_methods): Added xreadlines() as an alias to BZ2File_getiter, and removed truncate() and readinto(). (BZ2File_get_newlines,BZ2File_get_closed,BZ2File_get_mode,BZ2File_get_name, BZ2File_getset): Implemented getters for "newlines", "mode", and "name". (BZ2File_members): Implemented "softspace" member. (BZ2File_init): Reworked to create a file instance instead of initializing itself as a file subclass. Also, pass "name" object untouched to the file constructor, and use PyObject_CallFunction instead of building the argument tuple locally. (BZ2File_Type): Set tp_new to PyType_GenericNew, tp_members to BZ2File_members, and tp_getset to BZ2File_getset. (initbz2): Do not set BZ2File_Type.tp_base nor BZ2File_Type.tp_new. * Doc/lib/libbz2.tex Do not mention that BZ2File inherits from the file type.
* Remove duplicate word (rules)Neal Norwitz2003-02-111-1/+1
|
* Fix so it compiles at least.Michael W. Hudson2003-02-111-1/+1
| | | | "make lib" takes a while, doesn't it?
* Add item pertaining toMichael W. Hudson2003-02-111-0/+9
| | | | [ 680429 ] __module__ broken for extension classes
* Sundry very picky changes.Michael W. Hudson2003-02-101-4/+5
|
* Remove erroneous period.Michael W. Hudson2003-02-101-1/+1
|
* Update advice about __module__ and __name__ and tp_name wrt. new types.Michael W. Hudson2003-02-101-14/+18
| | | | Add \refs to GC section that were XXXed out.
* A typo, and desist from inaccurately describing some things as lists.Michael W. Hudson2003-02-101-5/+5
|
* Add Neil's suggestions for avoiding this warningAndrew M. Kuchling2003-02-101-2/+10
|
* C Code:Raymond Hettinger2003-02-091-66/+84
| | | | | | | | | | | | | | | * Removed the ifilter flag wart by splitting it into two simpler functions. * Fixed comment tabbing in C code. * Factored module start-up code into a loop. Documentation: * Re-wrote introduction. * Addede examples for quantifiers. * Simplified python equivalent for islice(). * Documented split of ifilter(). Sets.py: * Replace old ifilter() usage with new.
* Comparison for timedelta, time, date and datetime objects: __eq__ andTim Peters2003-02-071-1/+19
| | | | | | | | | | | | | | | | | __ne__ no longer complain if they don't know how to compare to the other thing. If no meaningful way to compare is known, saying "not equal" is sensible. This allows things like if adatetime in some_sequence: and somedict[adatetime] = whatever to work as expected even if some_sequence contains non-datetime objects, or somedict non-datetime keys, because they only call __eq__. It still complains (raises TypeError) for mixed-type comparisons in contexts that require a total ordering, such as list.sort(), use as a key in a BTree-based data structure, and cmp().
* Update URLAndrew M. Kuchling2003-02-071-1/+1
|
* - make some links into the reference documentation relative forFred Drake2003-02-071-30/+32
| | | | | off-line readers - fix some minor typos and markup errors
* 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
|
* Remove another lie.Michael W. Hudson2003-02-061-4/+2
|
* Correct lie about METH_NOARGS functions.Michael W. Hudson2003-02-061-5/+5
| | | | Backport candidate.
* Typo fixesAndrew M. Kuchling2003-02-061-2/+2
|
* Mention FutureWarning for large intsAndrew M. Kuchling2003-02-061-0/+5
|
* 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.
* Twiddle.Fred Drake2003-02-041-1/+2
|
* Bug #678077: Suggest alternative to os.getlogin()Andrew M. Kuchling2003-02-031-1/+3
|
* [Bug #679251] Use correct constant nameAndrew M. Kuchling2003-02-031-6/+6
|
* * Add description of PyInt_FromString.Skip Montanaro2003-02-031-3/+23
| | | | | | * Correct description of PyFloat_FromString. While ignored, the pend argument still has to be given. * Typo in PyLong_FromString.
* Add PyFloat_FromString. Left the char **pend argument out of theSkip Montanaro2003-02-031-0/+5
| | | | | | description since while there, it is useless and ignored, according to Tim's commen. (PyInt_FromString is also not described, but PyLong_FromString is. Is the former deprecated?)
* 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
|