Commit Graph

10610 Commits

Author SHA1 Message Date
Georg Brandl 8d8f874c19 Fix versions and spacing. 2009-11-28 11:11:50 +00:00
Gregory P. Smith 761ae0b8cc fix typo 2009-11-27 17:51:12 +00:00
Martin v. Löwis 50ea4565bd Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}. 2009-11-27 13:56:01 +00:00
Antoine Pitrou acbe3bdbab Issue #6845: Add restart support for binary upload in ftplib. The
`storbinary()` method of FTP and FTP_TLS objects gains an optional `rest`
argument.  Patch by Pablo Mouzo.

(note: the patch also adds a test for the rest argument in retrbinary())
2009-11-27 13:18:34 +00:00
Georg Brandl 2600a33219 #7400: typo. 2009-11-26 20:48:25 +00:00
Antoine Pitrou e236c3c8c2 Forgot to add a `versionadded` tag 2009-11-25 23:03:22 +00:00
Antoine Pitrou bcfaf8007d Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method returning
the total number of seconds in the duration.  Patch by Brian Quinlan.
2009-11-25 22:59:36 +00:00
Mark Dickinson 6b87f117ca Fix some documentation examples involving the repr of a float. 2009-11-24 14:27:02 +00:00
Mark Dickinson 9dd5e16c5d Issue #7117, continued: Remove substitution of %g-style formatting for
%f-style formatting, which used to occur at high precision.  Float formatting
should now be consistent between 2.7 and 3.1.
2009-11-23 20:54:09 +00:00
Georg Brandl faa25999a3 #7345: fix arguments of formatyear(). 2009-11-23 19:53:19 +00:00
Mark Dickinson f058d2dc08 Issue #7369: Fibonacci series should start at 0 in tutorial example. 2009-11-23 16:39:05 +00:00
Jesse Noller 6c3767445c issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing. 2009-11-21 14:01:56 +00:00
R. David Murray 4823961596 Issue 7363: fix indentation in socketserver udpserver example. 2009-11-20 13:29:43 +00:00
Raymond Hettinger 9eac119ba8 Fix docstrings for itertools combinatoric functions. 2009-11-19 01:22:04 +00:00
Antoine Pitrou c029942ea0 Mention Giampolo R's new FTP TLS support in the what's new file 2009-11-18 20:20:46 +00:00
Georg Brandl 1136ff541e Fix markup. 2009-11-18 20:05:15 +00:00
Georg Brandl 8c18a47e77 upcase Python 2009-11-18 19:39:14 +00:00
Georg Brandl 0516f81386 Make separate section for deprecations in 2.7 whatsnew. 2009-11-18 18:52:35 +00:00
Georg Brandl a17f60242f Make separate section for deprecations in 2.6 whatsnew. 2009-11-18 18:52:23 +00:00
Georg Brandl d3571c8d59 #7302: fix link. 2009-11-16 16:44:05 +00:00
Antoine Pitrou ccd5e02d2b Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP using
TLS or SSL.  Patch by Giampaolo Rodola'.
2009-11-15 17:22:09 +00:00
Mark Dickinson 82864d1ab1 Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,
PyFormat_FromStringV and PyErr_Format.
2009-11-15 16:18:58 +00:00
Antoine Pitrou d5b34d4597 Issue #4969: The mimetypes module now reads the MIME database from
the registry under Windows.  Patch by Gabriel Genellina.
2009-11-15 14:10:48 +00:00
Nick Coghlan 49868cb686 Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation. 2009-11-15 07:30:34 +00:00
Georg Brandl b6fb8dcbce Fix terminology. 2009-11-14 11:50:51 +00:00
Benjamin Peterson cde5115f26 use Sphinx 0.6.3 2009-11-13 23:11:54 +00:00
Benjamin Peterson 2fb77bd6f5 revert r76243; I was right, actually :) 2009-11-13 22:56:00 +00:00
Benjamin Peterson c4a346cc55 never mind about eval mode in this case 2009-11-13 22:17:17 +00:00
Benjamin Peterson e36199b49d fix several compile() issues by translating newlines in the tokenizer 2009-11-12 23:39:44 +00:00
Ezio Melotti c4cd6d3765 fix highlight in the datetime example 2009-11-12 09:10:02 +00:00
Georg Brandl 7232d41569 Give the profile module a module directive. 2009-11-12 08:29:46 +00:00
Raymond Hettinger 610326d48a Show example of how to make a sorted dictionary 2009-11-10 19:35:55 +00:00
R. David Murray 890643843d Update the FAQ entry that explains that assignments in the local scope
shadow variables in the outer scope (issue 7290).
2009-11-10 18:58:02 +00:00
R. David Murray a5dcf2125f Remove redundant sentence. 2009-11-09 14:18:14 +00:00
Benjamin Peterson 0ac6942a76 discuss how to use -p 2009-11-09 04:10:53 +00:00
Georg Brandl 1a22e87a30 #7271: fix typo. 2009-11-07 08:26:07 +00:00
Georg Brandl efc285880c #7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs. 2009-11-04 07:38:12 +00:00
Georg Brandl a6714b2887 #7256: add versionadded tags for functions copied from cgi. 2009-11-03 18:34:27 +00:00
Mark Dickinson 5b54432b1d Fix doc typo reported by Arfrever. 2009-11-03 16:26:14 +00:00
Skip Montanaro 6418577bb5 typo (space-o?) 2009-11-03 02:43:59 +00:00
Mark Dickinson 09823a2e21 Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double. 2009-10-31 09:42:39 +00:00
Antoine Pitrou 2c970a2ba2 Remove official documentation entry for thread._count() and make the
docstring more descriptive instead.
2009-10-30 22:19:09 +00:00
Antoine Pitrou 59c44f36e0 Issue #7222: Make thread "reaping" more reliable so that reference
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:hread._count().
2009-10-30 17:07:08 +00:00
Vinay Sajip a7d44001b1 Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration. 2009-10-28 23:28:16 +00:00
Tarek Ziadé 40b998b05d Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils 2009-10-27 23:06:10 +00:00
Georg Brandl 5098bc9448 Fix a strange mis-edit. 2009-10-27 15:10:22 +00:00
Mark Dickinson da8652d920 Issue #7117 (backport py3k float repr) continued:
Add sys.float_repr_style attribute ('short' if short float
repr is in used;  'legacy' otherwise).
2009-10-24 14:01:08 +00:00
Mark Dickinson bb28285ea2 Issue #7117: Prepare for backport of py3k float repr.
Add the Python/dtoa.c file containing the main algorithms;
add corresponding include file and include in Python.h;
include license information for Python/dtoa.c;
add dtoa.c and dtoa.h to Makefile.
2009-10-24 12:13:30 +00:00
Georg Brandl 5460ff9d9f Fix markup. 2009-10-24 10:04:19 +00:00
Fred Drake d617cba62d add further note about what's passed to optionxform 2009-10-23 13:04:51 +00:00