Benjamin Peterson
4fad6fa560
better grammar
2008-09-28 01:51:36 +00:00
Andrew M. Kuchling
7a4a93b8e9
#1415508 : Document two functions
2008-09-28 01:08:47 +00:00
Andrew M. Kuchling
ac77166e90
#1579477 : mention necessity to flush output before exec'ing
2008-09-28 00:15:27 +00:00
Andrew M. Kuchling
e6896050a3
#3510 : future-proof text
2008-09-27 22:54:08 +00:00
Benjamin Peterson
7f8f6605e2
2to3's api should be considered unstable
2008-09-27 16:23:55 +00:00
Andrew M. Kuchling
8798c90df2
Improve wording
2008-09-24 17:27:55 +00:00
Georg Brandl
1379ae02e3
Indentation normalization.
2008-09-24 09:47:55 +00:00
Benjamin Peterson
3e876fd146
clean up docs for platform's linux_distribution and dist functions
2008-09-22 22:13:29 +00:00
Georg Brandl
afeea0711a
#3918 : note that uniform() args can be swapped.
2008-09-21 08:03:21 +00:00
Georg Brandl
4517323df8
#3912 : document default for *places* arg.
2008-09-21 07:15:59 +00:00
Georg Brandl
2f3bd8364a
#3852 : fix some select.kqueue and kevent docs.
2008-09-21 07:14:44 +00:00
Raymond Hettinger
3134f14b1a
Improve docs for super().
2008-09-19 08:07:48 +00:00
Josiah Carlson
5aaa3e579d
Fix for documentation bug. Fixes issue 3904.
2008-09-19 02:07:22 +00:00
Benjamin Peterson
b8966ab753
document compileall command flags
2008-09-17 21:54:56 +00:00
Skip Montanaro
b40890db07
usage
2008-09-17 11:50:36 +00:00
Benjamin Peterson
6be425c85f
be less wordy
2008-09-16 21:20:28 +00:00
Benjamin Peterson
881c4878cb
clarify that radix for int is not 'guessed'
2008-09-14 16:02:22 +00:00
Georg Brandl
9af9498c6e
Remove things specific to the old Macintosh, and spell "Mac OS X" consistently.
2008-09-13 17:41:16 +00:00
Andrew M. Kuchling
09e80938b0
#3288 : Document as_integer_ratio
2008-09-13 02:11:51 +00:00
Andrew M. Kuchling
bf64c0411f
Remove extra 'the'; the following title includes it
2008-09-13 02:09:15 +00:00
Benjamin Peterson
b535d32952
fix typo
2008-09-11 22:04:02 +00:00
Nick Coghlan
d2e0938362
Issue #3781 : Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
2008-09-11 12:11:06 +00:00
Martin v. Löwis
24329ba176
Issue #3811 : The Unicode database was updated to 5.1.
...
Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
2008-09-10 13:38:12 +00:00
Brett Cannon
672237dc6c
warnings.catch_warnings() now returns a list or None instead of the custom
...
WarningsRecorder object. This makes the API simpler to use as no special object
must be learned.
Closes issue 3781.
Review by Benjamin Peterson.
2008-09-09 00:49:16 +00:00
Bill Janssen
61c001a939
incorporate fixes from issue 3162; SSL doc patch
2008-09-08 16:37:24 +00:00
Mark Summerfield
ffde3cfcb1
Added xrefs to each other.
2008-09-08 14:45:37 +00:00
Andrew M. Kuchling
fe38e44123
#1317 : describe the does_esmtp, ehlo_resp, esmtp_features, and helo_resp attributes
2008-09-06 21:26:02 +00:00
Andrew M. Kuchling
cd52023e6f
#3669 from Robert Lehmann: simplify use of iterator in example
2008-09-06 20:28:01 +00:00
Benjamin Peterson
6ac7d7c80b
#1638033 : add support for httponly on Cookie.Morsel
...
Reviewer: Benjamin
2008-09-06 19:28:11 +00:00
Andrew M. Kuchling
810f807b1b
#3040 : include 'dest' argument in example; trim some trailing whitespace
2008-09-06 13:04:02 +00:00
Benjamin Peterson
ad2a9e72f1
actually tell the name of the flag to use
2008-09-06 03:00:00 +00:00
Jesse Noller
d5ff5b2ec4
Fix typo in multiprocessing doc, cancel_join_thread was missing _thread
2008-09-06 01:20:11 +00:00
Brett Cannon
32476fc5a8
Deprecate bsddb for removal in Python 3.0.
...
Closes issue 3776.
Review by Nick Coghlan.
2008-09-05 18:33:51 +00:00
Brett Cannon
3dffcd1a72
Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only.
2008-09-05 03:52:59 +00:00
Benjamin Peterson
15ad6c0f2b
flesh out the documentation on using 2to3
2008-09-04 23:31:27 +00:00
Facundo Batista
c585df9476
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
...
to the urlparse one. Added a PendingDeprecationWarning in the old
module, it will be deprecated in the future. Docs and tests updated.
2008-09-03 22:35:50 +00:00
Benjamin Peterson
eb55fd8d2f
Merged revisions 66173 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r66173 | benjamin.peterson | 2008-09-02 18:57:48 -0500 (Tue, 02 Sep 2008) | 8 lines
A little 2to3 refactoring #3637
This moves command line logic from refactor.py to a new file called
main.py. RefactoringTool now merely deals with the actual fixers and
refactoring; options processing for example is abstracted out.
This patch was reviewed by Gregory P. Smith.
........
2008-09-03 00:21:32 +00:00
Andrew M. Kuchling
2dd647b8fc
typo fix
2008-09-02 01:39:18 +00:00
Brett Cannon
1eaf0742d8
Move test.test_support.catch_warning() to the warnings module, rename it
...
catch_warnings(), and clean up the API.
While expanding the test suite, a bug was found where a warning about the
'line' argument to showwarning() was not letting functions with '*args' go
without a warning.
Closes issue 3602.
Code review by Benjamin Peterson.
2008-09-02 01:25:16 +00:00
Benjamin Peterson
973e6c2cf3
remove py3k warnings about the threading api; update docs
...
Reviewer: Benjamin Peterson
2008-09-01 23:12:58 +00:00
Vinay Sajip
aa5f873980
Bug #3738 : Documentation is now more accurate in describing handler close methods.
2008-09-01 17:44:14 +00:00
Vinay Sajip
34bfda55d2
Added section about configuring logging in a library. Thanks to Thomas Heller for the idea.
2008-09-01 15:08:07 +00:00
Georg Brandl
2ba93210e2
#3749 : fix c'n'p errors.
2008-09-01 14:15:55 +00:00
Georg Brandl
9481ba33ff
Fix markup.
2008-08-30 22:00:28 +00:00
Andrew M. Kuchling
bf0a5951c9
Tidy up some sentences
2008-08-30 15:21:23 +00:00
Georg Brandl
f5a3fb730f
super() actually returns a super object.
2008-08-30 13:17:39 +00:00
Georg Brandl
6140651d93
#3569 : eval() also accepts "exec"able code objects.
2008-08-30 10:03:09 +00:00
Georg Brandl
cff0b46edc
#3730 : mention "server" attribute explicitly.
2008-08-30 09:49:36 +00:00
Brett Cannon
971f10210e
Clarify that some attributes/methods are listed somewhat separately because they are not part of the threading API.
2008-08-24 23:15:19 +00:00
Benjamin Peterson
21d2ab7fe8
fix warning
2008-08-23 21:40:15 +00:00
Georg Brandl
7161cbfcba
Small updates to types member docs, backport from r65994.
2008-08-23 15:15:31 +00:00
Benjamin Peterson
73641d7eb4
fix up the multiprocessing docs a little
2008-08-20 14:07:59 +00:00
Benjamin Peterson
e977ad4d7b
deprecate some useless, noop methods in symtable
2008-08-20 01:42:01 +00:00
Jesse Noller
5bc9f4c09c
issue3352: clean up the multiprocessing API to remove many get_/set_ methods and convert them to properties. Update the docs and the examples included.
2008-08-19 19:06:19 +00:00
Georg Brandl
25c3408556
Fix grammar.
2008-08-18 23:09:49 +00:00
Benjamin Peterson
facdd6ee9e
update the threading docs to account for recent changes
2008-08-18 22:29:19 +00:00
Benjamin Peterson
d8a8972ca9
change threading.getIdent to a property
...
This is new in 2.6 so now need to worry about backwards compatibility :)
2008-08-18 16:40:03 +00:00
Benjamin Peterson
e3444c8b59
a few improvements
2008-08-17 01:17:15 +00:00
Georg Brandl
765812f1ff
Review symtable docs.
2008-08-16 22:37:05 +00:00
Benjamin Peterson
1e296cc858
add some documentation for symtable
2008-08-16 21:04:16 +00:00
Benjamin Peterson
5b02ef3e1b
note how os.utime should be used for emulating touch
2008-08-16 03:13:07 +00:00
Gregory P. Smith
59de7f5733
document that waitpid raises OSError
2008-08-15 23:14:00 +00:00
Bill Janssen
5bfbd763f3
update ssl documentation
2008-08-12 17:09:57 +00:00
Georg Brandl
ac014e9255
#3540 : fix exception name.
2008-08-11 10:27:31 +00:00
Skip Montanaro
a032bf41f6
accept issue 3436
2008-08-08 22:52:51 +00:00
Gregory P. Smith
33ede08cdd
more cleanup ups of the recently added warnings in the subprocess docs.
2008-08-04 18:34:07 +00:00
Georg Brandl
e7829a5b1b
Clarify the meaning of the select() parameters and sync
...
names with docstring.
2008-08-04 07:31:50 +00:00
Georg Brandl
40df8ecdd5
Template is always "tmp".
2008-08-04 07:23:29 +00:00
Georg Brandl
143de623e7
Fix markup.
2008-08-04 06:29:36 +00:00
Gregory P. Smith
0879250284
issue1606: Add warnings to the subprocess documentation about common pitfalls
...
of using pipes that cause deadlocks.
2008-08-04 01:03:50 +00:00
Georg Brandl
1113803c5a
#3495 : use current version.
2008-08-03 09:21:18 +00:00
Lars Gustäbel
727bd0b687
Issue #3039 : Fix TarFileCompat.writestr() which always raised an
...
AttributeError since __slots__ were added to zipfile.ZipInfo in
r46967 two years ago.
Add a warning about the removal of TarFileCompat in Python 3.0.
2008-08-02 11:26:39 +00:00
Mark Dickinson
dadcd1fd50
Tone down math.fsum warning.
2008-08-01 09:13:07 +00:00
Raymond Hettinger
f080e6d7e0
Alter recipe to show how to call izip_longest() with
...
both a keyword argument and star arguments.
2008-07-31 01:19:50 +00:00
Mark Dickinson
23957cb8fb
Add note about problems with math.fsum on x86 hardware.
2008-07-30 20:23:15 +00:00
Mark Dickinson
fef6b13c32
Rename math.sum to math.fsum
2008-07-30 16:20:10 +00:00
Benjamin Peterson
f2eb2b44fc
getrandombits is actually getrandbits
2008-07-30 13:46:53 +00:00
Raymond Hettinger
efdf706a9f
Neaten-up the itertools recipes.
2008-07-30 07:27:30 +00:00
Benjamin Peterson
66b14de7bb
the from __future__ import with_statement isn't needed in 2.6
2008-07-29 19:28:49 +00:00
Andrew M. Kuchling
5d2841f28f
Clarify wording
2008-07-28 17:04:48 +00:00
Benjamin Peterson
fff5cf67d0
clarify Popen argument
2008-07-27 15:22:14 +00:00
Andrew M. Kuchling
cd48d8ae8b
Remove extra words
2008-07-26 13:09:06 +00:00
Andrew M. Kuchling
feeee750b0
This sentence continues to bug me; rewrite it for the second time
2008-07-26 13:08:19 +00:00
Benjamin Peterson
3ac2f24f25
fix indentation
2008-07-25 21:59:53 +00:00
Benjamin Peterson
5255cba4bc
document default value for fillvalue
2008-07-25 17:02:11 +00:00
Georg Brandl
340739e216
Fix indentation.
2008-07-24 07:09:21 +00:00
Benjamin Peterson
4020221838
add some documentation for 2to3
2008-07-24 02:45:37 +00:00
Benjamin Peterson
415ce062bc
fix spacing
2008-07-24 02:27:46 +00:00
Georg Brandl
8c81fdad33
Use correct indentation.
2008-07-23 16:00:44 +00:00
Georg Brandl
f9efabb6d2
3k-warn about parser's "ast" aliases.
2008-07-23 15:16:45 +00:00
Raymond Hettinger
f1f46f0350
Clean-up itertools docs and recipes.
2008-07-19 23:58:47 +00:00
Raymond Hettinger
39e0eb766f
Fix compress() recipe in docs to use itertools.
2008-07-19 23:21:57 +00:00
Georg Brandl
b46d6ff279
Add ordering info for findall and finditer.
2008-07-19 13:48:44 +00:00
Raymond Hettinger
3369167089
Add recipe to the itertools docs.
2008-07-19 00:43:00 +00:00
Brett Cannon
1e8fba729e
Deprecate the sunaudio module for removal in Python 3.0. The sunau module can provide similar functionality.
2008-07-18 19:30:22 +00:00
Georg Brandl
bf89981839
Document the different meaning of precision for {:f} and {:g}.
...
Also document how inf and nan are formatted. #3404 .
2008-07-18 11:15:06 +00:00
Vinay Sajip
2a649f93b0
Issue #3389 : Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
2008-07-18 09:00:35 +00:00
Eric Smith
d6c393ab2b
Backed out r65069, pending fixing it in Windows.
2008-07-17 19:49:47 +00:00
Eric Smith
454816d8bd
Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.
2008-07-17 17:48:39 +00:00
Eric Smith
a5fa5a218d
Complete issue 3083: add alternate (#) formatting to bin, oct, hex in str.format().
2008-07-16 00:11:49 +00:00
Georg Brandl
e2efba4730
Move label to correct heading.
2008-07-15 23:59:15 +00:00
Mark Dickinson
7103aa42c0
Issue #3008 : add instance method float.hex and class method float.fromhex
...
to convert floats to and from hexadecimal strings respectively.
2008-07-15 19:08:33 +00:00
Andrew M. Kuchling
8ea605c204
Typo fix
2008-07-14 01:18:16 +00:00
Andrew M. Kuchling
a2478d9fa0
Typo fix
2008-07-14 00:40:55 +00:00
Andrew M. Kuchling
ded01d1bf0
Typo fixes
2008-07-14 00:35:32 +00:00
Andrew M. Kuchling
00f34c69b3
Re-word
2008-07-13 21:43:25 +00:00
Martin v. Löwis
060cd1e1ea
Add turtle into the module index.
2008-07-13 20:31:49 +00:00
Nick Coghlan
12c8660cc6
Correct a couple of errors in the updated catch_warning documentation (the Py3k version was fixed before being checked in)
2008-07-13 12:36:42 +00:00
Nick Coghlan
38469e2719
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
2008-07-13 12:23:47 +00:00
Alexandre Vassalotti
24122593f0
Fixed typo.
2008-07-12 22:06:53 +00:00
Benjamin Peterson
90f36730e2
fix various doc typos #3320
2008-07-12 20:16:19 +00:00
Brett Cannon
963ffdb9c9
Doc that robotparse has been renamed urllib.robotparser in Python 3.0.
2008-07-11 00:48:57 +00:00
Brett Cannon
f6afa334b9
Doc that urlparse is named urllib.parse in Python 3.0.
2008-07-11 00:16:30 +00:00
Brett Cannon
97aa1aeebd
Document the fact that urllib2 spans multiple modules with new names in Python
...
3.0.
2008-07-11 00:12:52 +00:00
Robert Schuppenies
4762902998
Added garbage collector overhead and optional default return value to
...
sys.getsizeof.
2008-07-10 17:13:55 +00:00
Georg Brandl
dbc5987e2f
Add missing ABCs to list.
2008-07-08 07:05:23 +00:00
Andrew M. Kuchling
c40608491c
Wording fix
2008-07-06 17:43:16 +00:00
Gregory P. Smith
2fe77060eb
- Issue #2862 : Make int and float freelist management consistent with other
...
freelists. Changes their CompactFreeList apis into ClearFreeList apis and
calls them via gc.collect().
2008-07-06 03:35:58 +00:00
Georg Brandl
e78fbcce3e
#2663 : support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade.
...
This is a new feature, but Barry authorized adding it in the beta period.
2008-07-05 10:13:36 +00:00
Georg Brandl
66ef83bd9d
Give the pickle special methods a signature.
2008-07-04 17:22:53 +00:00
Benjamin Peterson
4e47680060
let the term be linked
2008-07-03 13:01:17 +00:00
Martin v. Löwis
8c43641271
Patch #1622 : Correct interpretation of various ZIP header fields.
...
Also fixes
- Issue #1526 : Allow more than 64k files to be added to Zip64 file.
- Issue #1746 : Correct handling of zipfile archive comments (previously
archives with comments over 4k were flagged as invalid). Allow writing
Zip files with archives by setting the 'comment' attribute of a ZipFile.
2008-07-03 12:51:14 +00:00
Andrew M. Kuchling
f5d2b4ce93
Tweak wording
2008-07-03 12:50:03 +00:00
Facundo Batista
66c527755d
Issue #449227 : Now with the rlcompleter module, callable objects are
...
added a '(' when completed.
2008-07-02 16:52:55 +00:00
Brett Cannon
8bb8fa5dd6
Handle urllib's renaming for Python 3.0:
...
* Deprecate urllib.urlopen() in favor of urllib2.urlopen() for 3.0.
* Update docs to mention split/rename of the module and deprecation of
urlopen().
Changes to lib2to3 are in a separate commit. Work is for issue #2885 .
2008-07-02 01:57:08 +00:00
Benjamin Peterson
aac51b8a69
add ABC to the glossary
2008-07-01 23:33:06 +00:00
Georg Brandl
1e0eefc4a1
#1523853 : add note about fread().
2008-07-01 20:45:09 +00:00
Georg Brandl
dbd0ae383d
#3216 : fix Execute's parameter description.
2008-07-01 20:18:10 +00:00
Georg Brandl
68b4e74a8d
Add a link to PEP 324.
2008-07-01 19:59:00 +00:00
Bill Janssen
934b16d0c2
various SSL fixes; issues 1251, 3162, 3212
2008-06-28 22:19:33 +00:00
Benjamin Peterson
910c2ab674
edit multiprocessing docs
2008-06-27 23:22:06 +00:00
Raymond Hettinger
ee51cffc95
Fix whitespace in example code.
2008-06-27 21:34:24 +00:00
Mark Dickinson
df90ee6c5f
Issue #3197 : rework documentation for fractions module.
2008-06-27 16:49:27 +00:00
Georg Brandl
910df2fc4e
Add a version tag for shutdown().
2008-06-26 18:55:37 +00:00
Mark Dickinson
cab7e56e84
Remove references to Py3k in __floor__, __ceil__ and __round__ documentation.
2008-06-24 15:35:14 +00:00
Georg Brandl
3e8bb4e9b0
Write out "phi" consistently.
2008-06-22 19:07:59 +00:00
Georg Brandl
8bd05191fa
#3085 : Fix syntax error.
2008-06-22 18:11:52 +00:00
Georg Brandl
0ba92b24b7
Turn section references into proper cross-references.
2008-06-22 09:05:29 +00:00
Facundo Batista
74a6ba8f70
In the deprecated functions I added an alert to review
...
specially a section of the subprocess documentation
that helps with the replacing of those functionss.
2008-06-21 19:48:19 +00:00
Facundo Batista
a6a4d50efe
Now a from submitted via POST that also has a query string
...
will contain both FieldStorage and MiniFieldStorage items.
Fixes #1817 .
2008-06-21 18:58:04 +00:00
Facundo Batista
2da91c375b
Fixed issue #2888 . Now the behaviour of pprint when working with nested
...
structures follows the common sense (and works like in 2.5 and 3.0).
2008-06-21 17:43:56 +00:00
Facundo Batista
8e1c52ac0e
Reviewed and updated the documentation. Fixes #3017 .
2008-06-21 17:30:06 +00:00
Georg Brandl
924b823a60
Documentation fix.
2008-06-21 14:26:19 +00:00
Andrew M. Kuchling
db53c1eb68
Correct two versionchanged directives, to improve the 'changes' output
2008-06-21 00:17:22 +00:00
Andrew M. Kuchling
f839b66cf5
Grammar fixes
2008-06-20 23:14:32 +00:00
Andrew M. Kuchling
c2e3270dcb
Remove request for e-mail; it's unlikely these classes will be saved
2008-06-20 23:13:58 +00:00
Benjamin Peterson
fc7f493738
rephrase
2008-06-20 20:33:33 +00:00
Andrew M. Kuchling
8e5cd75b73
Put threading in front of thread
2008-06-19 20:33:31 +00:00
Andrew M. Kuchling
be504f1795
Remove some standalone material from the introduction; various markup and typo fixes
2008-06-19 19:48:42 +00:00
Georg Brandl
5da652e374
Add versionadded tags to new math functions.
2008-06-18 09:28:22 +00:00