Commit Graph

10520 Commits

Author SHA1 Message Date
Benjamin Peterson ea7120c7c1 Py_SetPythonHome uses static storage #6913 2009-09-15 03:36:26 +00:00
Georg Brandl 58d23fbb6c #6908: fix association of hashlib hash attributes. 2009-09-14 14:50:47 +00:00
Georg Brandl 7eb43b7c70 #6574: list the future features in a table. 2009-09-14 14:08:54 +00:00
Ezio Melotti 2c7b4934ad #6904 - fix broken link 2009-09-14 00:48:31 +00:00
Michael Foord dc0460a309 Remove an extraneous space in unittest documentation. 2009-09-13 19:08:18 +00:00
Michael Foord e91ea56b30 Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568. 2009-09-13 19:07:03 +00:00
Georg Brandl 6848d82a7c Typo fix. 2009-09-13 18:15:07 +00:00
Michael Foord 5a9719d627 unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866. 2009-09-13 17:28:35 +00:00
Michael Foord ee2df03009 Tutorial tweaks. Issue 6849. 2009-09-13 17:07:46 +00:00
Michael Foord 668be589ef Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712. 2009-09-13 16:46:19 +00:00
Michael Foord c3f79373e8 Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. 2009-09-13 16:40:02 +00:00
Michael Foord 60931a5a58 Change to tutorial wording for reading text / binary files on Windows. Issue #6301. 2009-09-13 16:13:36 +00:00
Lars Gustäbel 21121e64b4 Issue #6856: Add a filter keyword argument to TarFile.add().
The filter argument must be a function that takes a TarInfo
object argument, changes it and returns it again. If the
function returns None the TarInfo object will be excluded
from the archive.
The exclude argument is deprecated from now on, because it
does something similar but is not as flexible.
2009-09-12 10:28:15 +00:00
Georg Brandl d4c7eb1647 Move function back to its section. 2009-09-11 07:55:20 +00:00
Georg Brandl ffdde9e959 Properly document copy and deepcopy as functions. 2009-09-09 16:49:13 +00:00
Georg Brandl f01697014f #6843: add link from filterwarnings to where the meaning of the arguments is covered. 2009-09-05 16:47:17 +00:00
Georg Brandl 609910c210 #6841: remove duplicated word. 2009-09-05 09:04:09 +00:00
Georg Brandl 7d4f8fda49 #6777: dont discourage usage of Exception.args or promote usage of Exception.message. 2009-09-04 11:32:18 +00:00
Georg Brandl 601ee7f847 #6756: add some info about the "acct" parameter. 2009-09-04 11:25:37 +00:00
Georg Brandl af795e5eea #6757: complete the list of types that marshal can serialize. 2009-09-03 12:31:39 +00:00
Georg Brandl bf58d80123 #6828: fix wrongly highlighted blocks. 2009-09-03 07:27:26 +00:00
Georg Brandl eb4781c279 #6821: fix signature of PyBuffer_Release(). 2009-09-02 20:37:16 +00:00
Georg Brandl 8514b85edc #6638: fix wrong parameter name and markup a class. 2009-09-01 08:06:03 +00:00
Georg Brandl 86158fc4c7 #6810: add a link to the section about frame objects instead of just a description where to find it. 2009-09-01 08:00:47 +00:00
Georg Brandl 018ad1c949 #6765: hint that log(x, base) is not very sophisticated. 2009-09-01 07:53:37 +00:00
Georg Brandl a88fd7603b #6808: clarification. 2009-09-01 07:46:26 +00:00
Georg Brandl 254c17c758 #6813: better documentation for numberless string formats. 2009-09-01 07:40:54 +00:00
Senthil Kumaran 90161375c6 Doc fix for the issue2637. 2009-08-31 16:40:27 +00:00
Georg Brandl 4ea46a6614 other -> others where multiple arguments are accepted. 2009-08-31 06:38:29 +00:00
Georg Brandl 7d65fbfed4 #6801: fix copy-paste oversight. 2009-08-30 11:51:53 +00:00
Georg Brandl 6f8b99e868 #6803: fix old name. 2009-08-30 08:35:01 +00:00
Tarek Ziadé 3092ed977f fixed #6801: symmetric_difference_update also accepts pipe 2009-08-29 13:33:21 +00:00
Kristján Valur Jónsson e2a77980b6 issue 6275
Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package.  This allows further tests on the exception that was raised after the context manager exits.
2009-08-27 22:20:21 +00:00
Georg Brandl e746daa2cb #6787: reference fix. 2009-08-27 19:02:43 +00:00
Georg Brandl 185bd22564 Typo fix. 2009-08-27 18:59:02 +00:00
R. David Murray e7ba742efa Remove leftover text from end of sentence. 2009-08-27 01:04:59 +00:00
Georg Brandl 1b2695a4c2 #6677: note that rmdir only removes empty directories. 2009-08-24 17:48:40 +00:00
Benjamin Peterson 626c0aabe8 fix pdf building by teaching latex the right encoding package 2009-08-24 17:42:36 +00:00
Georg Brandl 7543997d74 #6677: mention "deleting" as an alias for removing files. 2009-08-24 17:24:27 +00:00
Georg Brandl e8ddbece0f #6718: fix example. 2009-08-24 17:22:05 +00:00
Georg Brandl 0cfbd65975 #6725: spell "namespace" consistently. 2009-08-24 17:20:40 +00:00
Georg Brandl 87296628f1 #6772: mention utf-8 as utf8 alias. 2009-08-24 17:14:29 +00:00
Tarek Ziadé f721666d33 Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows 2009-08-21 14:11:26 +00:00
Vinay Sajip 333c6e7d8f Added section on exceptions raised during logging. 2009-08-20 22:04:32 +00:00
Tarek Ziadé 764fc235a6 #6693: New functions in site.py to get user/global site packages paths. 2009-08-20 21:23:13 +00:00
Gregory P. Smith 4e63d54b36 Add weakref support to the thread.lock type. 2009-08-20 09:39:38 +00:00
Skip Montanaro 56366cc6eb missing module ref (issue6723) 2009-08-18 14:37:52 +00:00
R. David Murray 2c9e33f3a6 Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation. 2009-08-17 19:26:49 +00:00
Vinay Sajip 5e7f645c16 Further refined section on logging to one file from multiple processes. 2009-08-17 13:14:37 +00:00
Vinay Sajip 1c0b24fb67 Refined section on logging to one file from multiple processes. 2009-08-15 23:34:47 +00:00
Vinay Sajip 3a0dc30947 Added section on logging to one file from multiple processes. 2009-08-15 23:23:12 +00:00
Vinay Sajip 59584c4bac Added versionchanged notices for optional 'delay' parameter to file handler classes. 2009-08-14 11:33:54 +00:00
Georg Brandl aa66a968d4 Remove potentially confusing sentence in __mangling description. 2009-08-13 12:57:25 +00:00
Georg Brandl fb69631af7 Use locale.format_string() for more than one specifier. 2009-08-13 12:05:52 +00:00
Georg Brandl 04fd324fe3 #6679: Remove mention that sub supports no flags. 2009-08-13 07:48:05 +00:00
Georg Brandl 4a46e1c4b3 #6658: fix two typos. 2009-08-06 17:43:55 +00:00
Georg Brandl 43161a51b8 Fix punctuation and one copy-paste error. 2009-08-06 17:23:21 +00:00
Georg Brandl 29bc2cd463 Fix base keyword arg name for int() and long(). 2009-08-06 15:06:25 +00:00
Jesse Noller 8497efeb40 Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address 2009-08-06 02:05:56 +00:00
Georg Brandl 4809c737d3 Add donation link to docs footer. 2009-08-04 20:22:43 +00:00
Mark Dickinson 4326ad8f72 Issue #6595: Allow Decimal constructor to accept non-European decimal
digits, as recommended by the specification.  (Backport of r74279 from
py3k.)
2009-08-02 10:59:36 +00:00
Mark Dickinson 9ad0b365b3 Documentation fix for change introduced in r71832 2009-07-30 10:00:10 +00:00
Georg Brandl 4938fefce8 Rewrite the section about classes a bit; mostly tidbits, and a larger update to the section about "private" variables to reflect the Pythonic consensus better. 2009-07-29 17:50:25 +00:00
Georg Brandl 14bb28aa62 Fix a few markup glitches. 2009-07-29 17:15:20 +00:00
Georg Brandl ffefd5a8bb Fix some markup and small factual glitches found by M. Markert. 2009-07-29 17:07:21 +00:00
Georg Brandl 07e20f8729 Add a link to readline, and mention IPython and bpython. 2009-07-29 16:57:05 +00:00
Georg Brandl 019e8dd7fc #6336: Add nb_divide. 2009-07-29 16:32:30 +00:00
Georg Brandl f3d520cc16 #6591: add reference to ioctl in fcntl module for platforms other than Windows. 2009-07-29 16:09:17 +00:00
Georg Brandl 5b3e7e9c61 #6593: fix link targets. 2009-07-29 16:06:31 +00:00
Mark Dickinson fe67bd9168 Issue #6561: '\d' regular expression should not match characters of
category [No]; only those of category [Nd].  (Backport of r74237
from py3k.)
2009-07-28 20:35:03 +00:00
Georg Brandl 8d31f5413c Clarify quote_plus() usage. 2009-07-28 18:55:32 +00:00
Mark Dickinson 8ab590ef06 Remove leading blank line from cmath.rst 2009-07-28 16:45:13 +00:00
Mark Dickinson 44ec7ac947 Issue #6458: Reorganize cmath documentation into sections (similar to
the way that the math documentation is organized); clarify section on
conversions to and from polar coordinates.
2009-07-28 16:12:40 +00:00
Georg Brandl 3591a8f81d Move member descriptions inside the classes. 2009-07-26 14:44:23 +00:00
Georg Brandl d7d4fd7336 builtin -> built-in. 2009-07-26 14:37:28 +00:00
Georg Brandl 9fa61bb37d #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. 2009-07-26 14:19:57 +00:00
Georg Brandl 74f8fc0b1b #6576: fix cross-refs in re docs. 2009-07-26 13:36:39 +00:00
Georg Brandl 1ba9c87306 #6571: add index entries for more operators. 2009-07-25 13:02:15 +00:00
Georg Brandl e2d2704017 #6564: fix section about the two raise syntaxes. 2009-07-24 20:09:46 +00:00
Georg Brandl 36b30b5a4b Dont put "void" in signature for nullary functions. 2009-07-24 16:46:38 +00:00
Georg Brandl f0b1733574 Fix arg types of et#. 2009-07-24 16:28:38 +00:00
Benjamin Peterson 617a5588d1 use bools 2009-07-23 14:25:31 +00:00
Georg Brandl 0e66914907 #6548: dont suggest existence of real and imag functions in cmath. 2009-07-23 07:08:58 +00:00
Ezio Melotti 7fc214b55d #6423 has_key -> in 2009-07-22 21:08:49 +00:00
Benjamin Peterson d38d344370 revert r74152 2009-07-22 16:34:37 +00:00
Benjamin Peterson bee2e1897b simplify 2009-07-22 00:03:43 +00:00
Ezio Melotti dd89705c8c #6536 fixed typo 2009-07-21 20:18:27 +00:00
Benjamin Peterson 83dfc307c1 remove docs for deprecated -p option 2009-07-20 13:30:10 +00:00
Georg Brandl 3bb474714b #6489: fix an ambiguity in getiterator() documentation. 2009-07-18 09:43:40 +00:00
Georg Brandl a1a4bdb30c #6505: fix typos. 2009-07-18 09:06:31 +00:00
Georg Brandl b4d0ef91a5 #6513: fix example code: warning categories are classes, not instances. 2009-07-18 09:03:10 +00:00
Georg Brandl 2e1285baee #6481: fix typo in os.system() replacement. 2009-07-16 07:38:35 +00:00
Georg Brandl da334249a7 #6486: start with built in functions rather than "built in objects". 2009-07-16 07:33:04 +00:00
Benjamin Peterson 573025f298 update year 2009-07-15 00:46:42 +00:00
Amaury Forgeot d'Arc 78c06bd9b7 Document the newly added codec 2009-07-13 23:11:54 +00:00
Benjamin Peterson 72f94f75d6 add versionadded 2009-07-12 16:56:54 +00:00
Georg Brandl c91cbb948a array.array is actually a class. 2009-07-11 14:23:38 +00:00
Georg Brandl b7e14eda6e #6456: clarify the meaning of constants used as arguments to nl_langinfo(). 2009-07-11 10:51:31 +00:00
Georg Brandl 7750505d2d #6430: add note about size of "u" type. 2009-07-11 10:37:38 +00:00
Georg Brandl 7c150bf904 #6448: clarify docs for find_module(). 2009-07-11 10:18:10 +00:00