Commit Graph

9380 Commits

Author SHA1 Message Date
Andrew M. Kuchling 3a1693a989 Note some removals and a rename 2008-05-15 01:10:24 +00:00
Alexandre Vassalotti c92fef9a3e Added documentation stub for ConfigParser. 2008-05-14 22:51:10 +00:00
Alexandre Vassalotti e2514c6f10 Updated import statements to use the new `configparser` module name.
Updated the documentation to use the new name.
Revert addition of the stub entry for the old name.

Georg, I am reverting your changes since this commit should propagate
to py3k.
2008-05-14 22:44:22 +00:00
Georg Brandl 0a11f96f67 Update configparser docs for lowercasing rename. 2008-05-14 22:30:31 +00:00
Andrew M. Kuchling c72df3305f List all the removes and renamed modules 2008-05-14 00:46:41 +00:00
Georg Brandl 913835763a #2831: add start argument to enumerate(). Patch by Scott Dial and me. 2008-05-13 19:04:54 +00:00
Benjamin Peterson 236819310d Add warnings to and deprecated all those Mac modules 2008-05-12 21:42:13 +00:00
Georg Brandl ba39ef4ba4 Win 95/98 is no longer supported. 2008-05-12 17:52:13 +00:00
Georg Brandl d23f1f2896 Mention version in which the new marshal version was introduced. 2008-05-12 17:48:56 +00:00
Georg Brandl 70dce223d4 Marshal is at version 2. 2008-05-12 17:47:53 +00:00
Georg Brandl 173b739ff8 Fix markup. 2008-05-12 17:43:13 +00:00
Georg Brandl feb0921f9f #1760: try-except-finally is one statement since PEP 341. 2008-05-12 17:14:51 +00:00
Georg Brandl 21f990cf0e Fix parameter name for enumerate(). 2008-05-12 16:53:42 +00:00
Georg Brandl e321c2f37d #2836: backport new string formatting docs. 2008-05-12 16:45:43 +00:00
Georg Brandl 23da6e6545 #1713041: fix pprint's handling of maximum depth. 2008-05-12 16:26:52 +00:00
Eric Smith 103f19d286 Added 'n' presentation type for integers. 2008-05-12 14:00:01 +00:00
Georg Brandl 6a0a368479 Fix-up docs for the copyreg module renaming. 2008-05-12 10:05:39 +00:00
Georg Brandl 7a148c2357 Fix-up docs for socketserver and queue renaming. 2008-05-12 10:03:16 +00:00
Brett Cannon bb141bb1f4 Deprecate the timing module for removal in Python 3.0. 2008-05-12 03:47:47 +00:00
Brett Cannon ac861b5a17 Deprecate the sv module as per PEP 4. 2008-05-12 03:45:59 +00:00
Alexandre Vassalotti fea23a4d00 Added stub entry in the documentation mentioning SocketServer
was renamed.
2008-05-12 02:18:15 +00:00
Alexandre Vassalotti d192c925ac Updated all import statements to use the new socketserver module name.
Renamed socketserver module in its own documentation.
Renamed documentation references.
2008-05-12 02:11:22 +00:00
Brett Cannon 42bfa90f02 Depreate imageop for removal in 3.0. 2008-05-12 00:08:34 +00:00
Alexandre Vassalotti 1fcaa77ac5 Revert commit r63086. 2008-05-11 23:12:38 +00:00
Georg Brandl 5a3277253d Add a deprecation notice to mailbox' old classes' doc. 2008-05-11 21:54:09 +00:00
Georg Brandl d61c70d45f Formally deprecate old classes in the cgi module. 2008-05-11 21:37:53 +00:00
Georg Brandl 3fc974f2d4 Clarify os.strerror()s exception behavior. 2008-05-11 21:16:37 +00:00
Georg Brandl 627a666db0 - #2250: Exceptions raised during evaluation of names in rlcompleter's
``Completer.complete()`` method are now caught and ignored.
2008-05-11 21:03:42 +00:00
Alexandre Vassalotti 8940ecd39d Added stub for the PixMapWrapper module to be renamed in 3.0.
Modified TestStdlibRenames to support platform specific renames.
Added test for PixMapWrapper rename warning.
Added note to documentation about PixMapWrapper rename.
2008-05-11 20:30:43 +00:00
Alexandre Vassalotti 73812bf2a6 Added test for Queue rename warning.
Added note to documentation about Queue rename.
2008-05-11 20:04:03 +00:00
Georg Brandl 6a57c08dc8 #1326: document and test zipimporter.archive and zipimporter.prefix. 2008-05-11 15:05:13 +00:00
Georg Brandl ae98f50eca #2709 followup: better description of Tk's pros and cons. 2008-05-11 14:56:04 +00:00
Georg Brandl 9020ff88e6 Add some sentence endings. 2008-05-11 14:17:13 +00:00
Benjamin Peterson 98353941ea Add the "until" command to pdb 2008-05-11 14:13:25 +00:00
Andrew M. Kuchling aac5c8669f #1858: re-apply patch for this, adding the missing files 2008-05-11 14:00:00 +00:00
Georg Brandl ab756f60bd #2452: timeout is used for all blocking operations. 2008-05-11 11:09:35 +00:00
Georg Brandl 0aaf559bfe #2741: clarification of value range for address_family. 2008-05-11 10:59:39 +00:00
Georg Brandl e9135ba79d #2147: PEP 237 changes to overflow behavior. 2008-05-11 10:55:59 +00:00
Georg Brandl 6f95ae55b1 #2659: add ``break_on_hyphens`` to TextWrapper. 2008-05-11 10:42:28 +00:00
Georg Brandl 5b54887deb #2709: clarification. 2008-05-11 10:33:27 +00:00
Georg Brandl a36909e10d Fix typo. 2008-05-11 10:13:59 +00:00
Georg Brandl 53905d8f7f #1153769: document PEP 237 changes to string formatting. 2008-05-11 09:06:30 +00:00
Alexandre Vassalotti 25ad76c91d Added test for copy_reg rename.
Added note to documentation about copy_reg rename.
2008-05-11 09:01:51 +00:00
Georg Brandl 2ac747c05a #2812: document property.getter/setter/deleter. 2008-05-11 08:47:53 +00:00
Georg Brandl d809603623 #2742: ``''`` is not converted to NULL in getaddrinfo. 2008-05-11 07:06:05 +00:00
Georg Brandl 605a0c6f7f reload() takes the module itself. 2008-05-11 07:02:17 +00:00
Brett Cannon 2a86913864 Deprecated the mhlib module for removal in 3.0. 2008-05-11 03:01:47 +00:00
Skip Montanaro 79964cf64f Copied two versions of the example from the interactive session. Delete
one.
2008-05-11 02:59:30 +00:00
Brett Cannon a975cd446e Fix up markup in the deprecation notice. 2008-05-11 01:06:54 +00:00
Brett Cannon df0a717037 The linuxaudidev module has been deprecated for removal in Python 3.0. 2008-05-11 00:50:51 +00:00
Brett Cannon 27508d4eb9 Deprecate ihooks for removal in 3.0. 2008-05-10 22:45:07 +00:00
Brett Cannon fe5985188d Deprecate the fpformat module for removal in 3.0. 2008-05-10 22:11:45 +00:00
Brett Cannon 7f874fce63 Deprecate the dl module for removal in 3.0. 2008-05-10 21:20:19 +00:00
Brett Cannon 0aa6e1b8fb Deprecate the dircache module for 3.0. 2008-05-10 21:12:57 +00:00
Brett Cannon 10f5db6424 Revert r62998 as it broke the build (seems distutils.config is missing). 2008-05-10 20:52:01 +00:00
Andrew M. Kuchling cd8001c8ed #1858 from Tarek Ziade:
Allow multiple repositories in .pypirc; see http://wiki.python.org/moin/EnhancedPyPI
for discussion.

The patch is slightly revised from Tarek's last patch: I've simplified
the PyPIRCCommand.finalize_options() method to not look at sys.argv.
Tests still pass.
2008-05-10 19:51:55 +00:00
Andrew M. Kuchling 4ff7fc49c6 #1625509: describe behaviour of import lock 2008-05-10 17:48:45 +00:00
Andrew M. Kuchling 311c580539 Document the 'line' argument 2008-05-10 17:37:05 +00:00
Skip Montanaro 45f585915e Note the PyPI-edness of bsddb185 for people who might still need it. 2008-05-10 14:48:49 +00:00
Brett Cannon 6192df10b6 Deprecate the compiler package for removal in 3.0. 2008-05-10 02:58:26 +00:00
Brett Cannon 768d44f54d Deprecate the bsddb185 module for removal in 3.0. 2008-05-10 02:47:54 +00:00
Brett Cannon 4c1f881f13 Deprecate Bastion and rexec for 3.0. 2008-05-10 02:27:04 +00:00
Brett Cannon ccdf9081b7 Fix some errors in the deprecation warnings for new and user. 2008-05-10 02:25:00 +00:00
Benjamin Peterson 54718dd691 In stdtypes.rst, move methods under class directives where applicable 2008-05-09 21:30:26 +00:00
Andrew M. Kuchling ba290db601 Update planned release date.
Uncomment PEP 370 section.
Add some module items
2008-05-09 11:46:05 +00:00
Georg Brandl 68fd63ba9a Add a note about using reload(). 2008-05-09 06:39:58 +00:00
Georg Brandl 2e829cb769 Add Kodos as a re reference. 2008-05-09 06:36:07 +00:00
Georg Brandl 3ddaf2d64b Add another link to colorsys docs. 2008-05-09 06:26:54 +00:00
Georg Brandl dfb5bbd44a Add a sentence to basicConfig() that is in the docstring. 2008-05-09 06:18:27 +00:00
Georg Brandl 5117409a53 #2781: fix function name. 2008-05-09 06:10:43 +00:00
Brett Cannon fa24d9a71c Deprecate the toaiff module for removal in 3.0. 2008-05-09 05:32:42 +00:00
Brett Cannon 3c75914434 Deprecate test.testall for removal in 3.0. 2008-05-09 05:25:37 +00:00
Brett Cannon d7265d6483 Deprecate the new module for removal in 3.0. 2008-05-09 05:18:40 +00:00
Benjamin Peterson d03238a647 reindent example 2008-05-09 00:50:40 +00:00
Skip Montanaro e404a12a46 Add an example about using NamedTemporaryFile() to replace mktemp(). I'm
unclear whether the verbatim text should have been indented or by how much.
2008-05-09 00:45:00 +00:00
Benjamin Peterson 0893a0a961 Add Py3k warnings to os.path.walk 2008-05-09 00:27:01 +00:00
Brett Cannon e3b1940eb9 Deprecate the user module for removal in 3.0. 2008-05-08 20:36:09 +00:00
Brett Cannon 98b9c07ab7 Document the 'record' argument for test.test_support.catch_warning(). 2008-05-08 20:20:54 +00:00
Brett Cannon 9d44182427 The mutex module has been deprecated for removal in 3.0. 2008-05-08 19:26:08 +00:00
Brett Cannon 80bb9d92e3 Deprecate the imputil module for removal in 3.0. 2008-05-08 18:15:14 +00:00
Raymond Hettinger f8105ceec7 Issue 2778. Document the temporary frozenset swap in __contains__(), remove(), and discard(). 2008-05-08 17:18:13 +00:00
Barry Warsaw bf5bd9f2f0 Post tag updates. 2008-05-08 15:30:00 +00:00
Raymond Hettinger 5a9fed75bd Fix-up the enumerate type example and move it to the end. 2008-05-08 07:23:30 +00:00
Brett Cannon e5d2cbaeaf Deprecate the audiodev module for 3.0. 2008-05-06 23:23:34 +00:00
Christian Heimes af748c3ab8 Implemented PEP 370 2008-05-06 22:41:46 +00:00
Georg Brandl c730d5f7e5 > != (!<). 2008-05-06 17:20:54 +00:00
Georg Brandl 5820022862 #2773: fix description of 'g' and 'G' formatting spec. 2008-05-06 17:11:42 +00:00
Georg Brandl 98fd03637f #2752: fix second example too. 2008-05-05 21:06:48 +00:00
Georg Brandl cb63565eb5 #2769: markup glitch. 2008-05-05 20:59:05 +00:00
Georg Brandl 3961f1872c Fix JSON module docs. 2008-05-05 20:53:39 +00:00
Brett Cannon 4b964f9c90 Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
Ippolito.

Closes issue #2750.
2008-05-05 20:21:38 +00:00
Brett Cannon 8a232cc385 Add a DeprecationWarning for when warnings.showwarning() is set to a function
that lacks support for the new 'line' argument.
2008-05-05 05:32:07 +00:00
Benjamin Peterson 83ea2a92d4 Fix typo in bugs.rst 2008-05-04 19:10:02 +00:00
Georg Brandl bc04346446 #2757: Remove spare newline. 2008-05-04 15:45:05 +00:00
Gerhard Häring e11c9b3dfd Implemented feature request 2157: Converter names are cut off at '('
characters. This avoids the common case of something like 'NUMBER(10)' not
being parsed as 'NUMBER', like expected. Also corrected the docs about
converter names being case-sensitive. They aren't any longer.
2008-05-04 13:42:44 +00:00
Christian Heimes 7e3ab45512 Added note that Python requires at least Win2k SP4 2008-05-04 11:50:53 +00:00
Georg Brandl 08c72187ef #2752: wrong meaning of '' for socket host. 2008-05-04 09:15:04 +00:00
Benjamin Peterson 8334330951 Fix typo in whatsnew 2008-05-04 03:05:49 +00:00
Georg Brandl 761b9c6a53 Insert correct OpenSearch base URL. 2008-05-03 20:16:47 +00:00
Mark Dickinson 1840c1abca Backport Raymond's changes in r60508 to Python 2.6.
'Context flags get set, not incremented'
2008-05-03 18:23:14 +00:00
Benjamin Peterson 56fcb0bc29 capitalization nit for reStructuredText 2008-05-02 22:12:58 +00:00
Mark Hammond 7c5c8e6823 #2581: Vista UAC/elevation support for bdist_wininst 2008-05-02 12:48:15 +00:00
Georg Brandl 0c65fe606e Fix synopsis. 2008-05-01 18:24:32 +00:00
Benjamin Peterson 80ef62e37d Fix typo in whatsnew 2008-04-30 22:03:36 +00:00
Georg Brandl 63b0a2eb21 #2727: clarify tp_iternext docs. 2008-04-30 20:02:37 +00:00
Georg Brandl 28e0873f1f #2719: backport next() from 3k. 2008-04-30 19:47:09 +00:00
Nick Coghlan 31f631539e Update command line usage documentation to reflect 2.6 changes (also includes some minor cleanups). Addresses TODO list issue 2258 2008-04-30 14:23:36 +00:00
Andrew M. Kuchling 805cdd894f Strip down SSL docs; I'm not managing to get test programs working, so I'll just give a minimal description 2008-04-29 02:03:54 +00:00
Georg Brandl e8559916fb Fix markup. 2008-04-28 05:16:30 +00:00
Skip Montanaro dfd982715b Wrap some long lines. 2008-04-28 03:25:37 +00:00
Skip Montanaro f30f6e8216 Correct documentation to match implementation: "Class" instead of
"class_descriptor", "Function" instead of "function_descriptor".  Note
default path value for readmodule*.  Wrap some long paragraphs.  Don't
mention 'inpackage' which isn't part of the public API.
2008-04-28 02:59:45 +00:00
Skip Montanaro 798099279d Wrap some long paragraphs and include the default values for optional
function parameters.
2008-04-27 22:52:02 +00:00
Skip Montanaro ef1e58b6f3 minor wording changes, rewrap a few lines 2008-04-27 20:53:57 +00:00
Georg Brandl 4f1f36bcab Add OpenSearch and a Python logo to the HTML output. 2008-04-27 20:03:05 +00:00
Benjamin Peterson fe4948bcef #2700 Document PyNumber_ToBase 2008-04-27 18:14:39 +00:00
Georg Brandl 7a69b4b464 Use correct XHTML tags. 2008-04-27 17:38:55 +00:00
Georg Brandl f8770fb5e2 #2677: add note that not all functions may accept keyword args. 2008-04-27 09:39:59 +00:00
Benjamin Peterson a692c4df63 Added PyErr_WarnPy3k function. (issue 2671) I will be converting current Py3k warnings to the use of this function soon. 2008-04-27 02:28:02 +00:00
Georg Brandl 78b3ee8c7b #2691: document PyLong (s)size_t APIs, patch by Alexander Belopolsky. 2008-04-26 18:31:07 +00:00
Georg Brandl a3bb57caee #2668: nit in apply() docs. 2008-04-26 18:25:43 +00:00
Thomas Heller 6ad5fbb7ea Add from_buffer and from_buffer_copy class methods to ctypes types. 2008-04-25 15:44:16 +00:00
Benjamin Peterson c7b05920d6 reformat some documentation of classes so methods and attributes are under the class directive 2008-04-25 01:29:10 +00:00
Benjamin Peterson c8590944e5 #2673 Fix example typo in optparse docs 2008-04-23 20:38:06 +00:00
Gregory P. Smith 6c6f4f7139 syntax fixup 2008-04-23 01:06:42 +00:00
Skip Montanaro 6d9aafa49d Factor in documentation changes from issue 1753732. 2008-04-22 22:45:09 +00:00
Gregory P. Smith 19b4411181 Major improvements:
* Default to using /dev/tty for the password prompt and input before
  falling back to sys.stdin and sys.stderr.
* Use sys.stderr instead of sys.stdout.
* print the 'password may be echoed' warning to stream used to display
  the prompt rather than always sys.stderr.
* warn() with GetPassWarning when input may be echoed.
2008-04-22 08:08:41 +00:00
Benjamin Peterson 3c399d1ad1 Various io doc updates 2008-04-22 02:16:03 +00:00
Benjamin Peterson 60ffcbe88b Fix Sphinx warnings 2008-04-21 22:57:00 +00:00
Jeroen Ruigrok van der Werven aa3cadb01e Windows x64 also falls under VER_PLATFORM_WIN32_NT. 2008-04-21 20:15:39 +00:00
David Goodger 67ea002342 capitalization 2008-04-21 14:43:33 +00:00
David Goodger 09f57b7947 corrections ("reStructuredText" is one word) 2008-04-21 14:40:22 +00:00
Benjamin Peterson ad9f62953f Moved Mark SummerField's io doc changes back to the trunk. (He will edit here in the future.) 2008-04-21 11:57:40 +00:00
Andrew M. Kuchling 57ce054c87 Add various items 2008-04-21 02:14:24 +00:00
Andrew M. Kuchling 89830c3ab1 Wording changes 2008-04-21 02:08:13 +00:00
Andrew M. Kuchling 64c6a0ef6e Markup fix 2008-04-21 02:08:00 +00:00
Andrew M. Kuchling 2cede399ec Move description of math module changes; various edits to description of cmath changes 2008-04-20 16:54:02 +00:00
Mark Dickinson 47a84aa978 Move asinh documentation to the proper place.
Remove meaningless 'in radians' from inverse
hyperbolic functions.
2008-04-19 21:49:22 +00:00
Mark Dickinson 48f7a4aabb Correct documentation for math.pow;
0**nan is nan, not 0.  (But nan**0 and 1**nan are 1.)

Also fix minor typo: 'quite NaN' -> 'quiet NaN'
2008-04-19 21:35:35 +00:00
Georg Brandl 1df986b403 Update template for newest Sphinx. 2008-04-19 21:28:38 +00:00
Mark Dickinson 53bd2e1a03 Document updates to math and cmath modules. 2008-04-19 20:31:16 +00:00
Benjamin Peterson a7d09031a0 Complete documentation for errors argument of io's open and TextIOWrapper 2008-04-19 19:47:34 +00:00
Benjamin Peterson 53be57e8f8 Copy io documentation back from py3k branch so changes can be merged into it. 2008-04-19 19:34:05 +00:00
Georg Brandl c7bef37402 :func: et al. should *not* include the parens. 2008-04-19 17:00:14 +00:00
Georg Brandl 2fb8a53645 #2631: clarify IMPORT_NAME semantics. 2008-04-19 16:59:16 +00:00
Georg Brandl f801b0f04c #2633: clarify meaning of env parameter. 2008-04-19 16:58:49 +00:00
Georg Brandl fb246c410b #2634: clarify meaning of env parameter to spawn/exec*e. 2008-04-19 16:58:28 +00:00
Georg Brandl 786ead684a #2369: clarify that copyfile() doesn't take a target directory. 2008-04-19 16:57:43 +00:00
Georg Brandl 734de68dd5 Fix-up docs for revision 62386. 2008-04-19 08:23:59 +00:00
Christian Heimes e74c8f2879 Added kill, terminate and send_signal to subprocess.Popen
The bits and pieces for the Windows side were already in place. The POSIX side is trivial (as usual) and uses os.kill().
2008-04-19 02:23:57 +00:00
Christian Heimes 6f34109384 I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math.
The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
2008-04-18 23:13:07 +00:00