summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* Teach the random module about os.urandom().Raymond Hettinger2004-08-301-2/+16
| | | | | * Use it for seeding when it is available. * Provide an alternate generator based on it.
* Patch #914575: difflib side by side diff support, diff.py s/b/s HTML option.Martin v. Löwis2004-08-291-0/+73
|
* Patch #934711: Expose platform-specific entropy.Martin v. Löwis2004-08-291-0/+19
|
* SF feature request #992967: array.array objects should support sequences.Raymond Hettinger2004-08-291-2/+6
| | | | Made the constructor accept general iterables.
* Correct incorrect "it's" to "its".Johannes Gijsbers2004-08-261-1/+1
|
* Fine tune a word.Tim Peters2004-08-261-1/+1
|
* Thinko repair.Tim Peters2004-08-261-1/+1
|
* Reorg of exception section. Now that there are fewer details needingTim Peters2004-08-261-22/+45
| | | | | explanation, it's easier to push the remaining insufferably anal details into a "fine print" section at the bottom.
* Small wording fixups.Raymond Hettinger2004-08-261-5/+5
|
* Added REPORT_ONLY_FIRST_FAILURE flag, which supresses output after theEdward Loper2004-08-261-2/+13
| | | | first failing example in each test.
* Renamed UNIFIED_DIFF->REPORT_UDIFF; CONTEXT_DIFF->REPORT_CDIFF; andEdward Loper2004-08-261-5/+5
| | | | | | | NDIFF_DIFF->REPORT_NDIFF. This establishes the naming convention that all reporting options should begin with "REPORT_" (since reporting options are a different class from output comparison options; but they are both set in optionflags).
* Restored half of a \versionadded only half of which should have beenTim Peters2004-08-261-0/+3
| | | | deleted.
* Patch #1015012. Improve markup and punctuation in libsocket.texDave Cole2004-08-261-3/+3
|
* Patch #1014930. Expose current parse location to XMLParser.Dave Cole2004-08-261-0/+20
|
* Only recognize the expected output as an exception if it *starts* withEdward Loper2004-08-251-39/+34
| | | | | | | | a traceback message. I.e., examples that raise exceptions may no longer generate pre-exception output. This restores the behavior of doctest in python 2.3. The ability to check pre-exception output is being removed because it makes the documentation simpler; and because there are very few use cases for it.
* Patch #798244: More urllib2 examples.Martin v. Löwis2004-08-251-1/+62
|
* Patch #1015021: Stop claiming that coerce can return None.Martin v. Löwis2004-08-251-1/+1
| | | | Will backport to 2.3.
* Ah whoops, we didn't turn string into a package (thanks Neal!)Barry Warsaw2004-08-251-12/+1
|
* PEP 292 classes Template and SafeTemplate are added to the string module.Barry Warsaw2004-08-251-28/+122
| | | | | | | | This patch includes test cases and documentation updates, as well as NEWS file updates. This patch also updates the sre modules so that they don't import the string module, breaking direct circular imports.
* Stop producing or using OverflowWarning. PEP 237 thought this wouldTim Peters2004-08-251-1/+1
| | | | | | | happen in 2.3, but nobody noticed it still was getting generated (the warning was disabled by default). OverflowWarning and PyExc_OverflowWarning should be removed for 2.5, and left notes all over saying so.
* Updated the socketpair() docstring and documentation to explain that theDave Cole2004-08-231-2/+3
| | | | | default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET.
* Removed redundant versionadded{} for NDIFF_DIFF. Virtually everythingTim Peters2004-08-231-1/+0
| | | | | | in this section is new in 2.4, and that's all mentioned already in versionadded{} thingies at the end of the section. It hurts readability to have them after every line <wink>.
* Add version infoNeal Norwitz2004-08-221-0/+1
|
* Added NDIFF_DIFF option.Tim Peters2004-08-221-1/+11
|
* Fix grammar, spotted by Hye-Shik ChangNeal Norwitz2004-08-201-1/+1
|
* Correct argument specifications of load_compiled and load_source: the fileJohannes Gijsbers2004-08-201-2/+2
| | | | argument is optional on both (the format string is "ss|O!").
* Quote # as \# to make lib compile again.Johannes Gijsbers2004-08-201-1/+1
|
* Try to improve grammar and use versionaddedNeal Norwitz2004-08-201-1/+2
|
* Fix markup. versionchanged automatically adds a period, so remove the extra ↵Neal Norwitz2004-08-201-1/+1
| | | | one.
* Now that they've settled down, document doctest directives.Tim Peters2004-08-191-8/+66
|
* Patch #995126: Correct directory size, and generate GNU tarfiles by default.Martin v. Löwis2004-08-181-1/+2
|
* Patch #800236: add HTTPResponse.getheaders().Martin v. Löwis2004-08-181-0/+4
|
* Deprecate sys.exitfunc in favor of the atexit module.Raymond Hettinger2004-08-181-0/+1
| | | | | Per Guido, sys.exitfunc will be kept around for backwards compatability but atexit will become the one preferred way to do it.
* SF bug #951482: New module: doc versus actionRaymond Hettinger2004-08-171-0/+2
| | | | Strengthen the warnings about creating bogus objects using the new module.
* SF bug #805304: super instances don't support item assignmentRaymond Hettinger2004-08-171-0/+6
| | | | | | Document a nuance of super(). It is designed to work well with dotted attribute lookup but not with equivalent implicit lookups using operators or statements.
* Typo fixAndrew M. Kuchling2004-08-161-1/+1
|
* Fix punctuation typo.Raymond Hettinger2004-08-151-1/+1
|
* Add a notes section to the docs:Raymond Hettinger2004-08-151-1/+97
| | | | | | * Discuss representation error versus loss of significance. * Document special values including qNaN, sNaN, +0, -0. * Show the suprising display of non-normalized zero values.
* Add get_history_item and replace_history_item functions to the readlineSkip Montanaro2004-08-151-1/+10
| | | | | module. Closes patch #675551. My apologies to Michal Vitecek for taking so long to process this.
* bug 990669: os.path.normpath may alter the meaning of a path if it containsJohannes Gijsbers2004-08-141-1/+2
| | | | | symbolic links. This has been documented in a comment since 1992, but is now in the library reference as well.
* Another microburst of snail-like progress.Tim Peters2004-08-131-106/+94
|
* Doctest has new traceback gimmicks in 2.4. While trying to documentTim Peters2004-08-131-18/+80
| | | | | | them (which they are now), I had to rewrite the code to understand it. This has got to be the most DWIM part of doctest -- but in context is really necessary.
* Fix the version number in which changes were madeNeal Norwitz2004-08-131-3/+3
|
* Markup fiddling.Tim Peters2004-08-131-7/+7
|
* Excruciatingly slow progress on the docs. Option flags / directive namesTim Peters2004-08-121-54/+77
| | | | are documented now, and ripped out a bunch of "private name" convolutions.
* This is my patchMichael W. Hudson2004-08-121-19/+2
| | | | | | | [ 1004703 ] Make func_name writable plus fixing a couple of nits in the documentation changes spotted by MvL and a Misc/NEWS entry.
* clarify the behavior of the .first() and .last() methods for emptyFred Drake2004-08-101-0/+2
| | | | | | databases this should be backported to the release23-maint branch
* added missing documentation for UseForeignDTD() (new in 2.3)Fred Drake2004-08-101-0/+21
| | | | someone should backport to the release23-maint branch
* add descriptions for many of the new error codesFred Drake2004-08-101-1/+82
|
* minor changes to make this format againFred Drake2004-08-101-2/+2
|