Commit Graph

7450 Commits

Author SHA1 Message Date
Neal Norwitz 26f4c23074 Make consistent with 2.4 2005-11-03 04:39:09 +00:00
Brett Cannon 076b7325a8 Add an import line to a code fragment.
Closes bug #1346395.
2005-11-02 22:58:12 +00:00
Martin v. Löwis ab0f947a21 Remove .cvsignore files, as they live in svn:ignore
properties now.
2005-10-30 22:01:41 +00:00
Fred Drake 59c61911ac add missing "and" 2005-10-30 04:29:49 +00:00
Hye-Shik Chang 8c147c3386 SF Bug #1341934: Fix a representation of "\n" to use a proper tag. 2005-10-30 03:05:27 +00:00
Vinay Sajip 00b5c932f3 Minor update to HTTPHandler documentation to indicate that host:port can be used. 2005-10-29 00:40:15 +00:00
Martin v. Löwis 466e5b336e Update instructions according to Dave Abrahams
instructions.
2005-10-27 18:56:22 +00:00
Andrew M. Kuchling db85ed548a Add paragraphs on AST branch. AST'ers, please suggest corrections 2005-10-23 21:52:59 +00:00
Andrew M. Kuchling 4fe4eb221b Add convenience makefile to check the latest what's new.
The invocation of Python is MacOS-specific; not sure how to make it platform indepedent (but maybe it doesn't matter)
2005-10-23 21:49:32 +00:00
Fred Drake 9984e706ff add missing word 2005-10-20 17:52:05 +00:00
Neal Norwitz 94832209d1 SF bug #1328915, try to word kill a bit more generically. Backport candidate. 2005-10-18 05:07:49 +00:00
Neal Norwitz 98fcaaf48e SF bug #1323739, C API doc for PySequence_Tuple duplicated 2005-10-12 03:58:14 +00:00
Fred Drake 34fed3a3b7 fix stupid typo 2005-10-11 20:26:05 +00:00
Neal Norwitz 116078f0bb SF bug #1323294, Minor error in the Library Reference doc. Will backport 2005-10-11 03:23:45 +00:00
Marc-André Lemburg df4f6e9fa6 Clarify the docs for Py_UNICODE. 2005-10-10 19:08:41 +00:00
Walter Dörwald 007f8dfde2 Bug #1245379: Add "unicode-1-1-utf-7" as an alias for "utf-7" as specified
by RFC 1642.
2005-10-09 19:42:27 +00:00
Walter Dörwald d1c1e10f70 Part of SF patch #1313939: Speedup charmap decoding by extending
PyUnicode_DecodeCharmap() the accept a unicode string as the mapping
argument which is used as a mapping table.

This code isn't used by any of the codecs yet.
2005-10-06 20:29:57 +00:00
Neal Norwitz c0d11250af Make close brace a paren to match open. 2005-10-04 03:43:43 +00:00
Neal Norwitz 19f6b86955 Armin caught this mistake in bug #973103. 2005-10-04 03:37:29 +00:00
Neal Norwitz 178f9068c4 open_new_win does not exist. use UNIX consistently, add autoraise parameter to open(). add versionadded tags to open_new_tab 2005-10-04 03:31:01 +00:00
Raymond Hettinger bee0d467a1 Correct docs for empty raise when no exception is active. 2005-10-03 16:39:51 +00:00
Fred Drake 4094d04457 fix link to subsection (SF bug #1311674) 2005-10-03 14:25:40 +00:00
Georg Brandl e8f244305e Patch #754022: Greatly enhanced webbrowser.py. 2005-10-03 14:16:44 +00:00
Neal Norwitz 7ecbc19e09 SF Bug #1008310, os.major() os.minor() example and description change. Will backport. 2005-10-03 05:47:38 +00:00
Neal Norwitz 92ff693eb1 Fix SF bug #991735, os.access reports true for read-only directories. Will backport 2005-10-03 05:13:46 +00:00
Neal Norwitz d157b1d237 SF Bug #1308042, platform dependent behaviour (Windoze of course) in UDP sockets. Will backport 2005-10-03 00:44:06 +00:00
Neal Norwitz 58d118be4e SF patch #1227568, bug #1219273, Expression AST node not documented. Backport candidate if anyone cares. 2005-10-03 00:36:16 +00:00
Georg Brandl 1aa74ee5c5 bug [ 1298120 ] shlex does not support unicode 2005-09-29 20:24:06 +00:00
Georg Brandl e53475ddd1 bug [ 1306449 ] PyString_AsStringAndSize() return value documented wrong 2005-09-28 12:53:12 +00:00
Vinay Sajip d1c0239862 Minor clarification of effective level calculation 2005-09-26 00:14:46 +00:00
Neal Norwitz 02cfa0bae5 SF #1297059, doc incorrect return type for search() method. (There is a description of returned values at the top, so just remove the sentance and correct an example.) 2005-09-23 04:26:24 +00:00
Fred Drake 5a13e91f72 update URL into the Python wiki
(forward port revision 1.10.4.1)
2005-09-22 19:37:52 +00:00
Georg Brandl 532dacffd8 patch [ 1277677 ] tkinter hello world example bug 2005-09-15 16:02:13 +00:00
Georg Brandl ff52837445 fix typo 2005-09-15 11:16:28 +00:00
Georg Brandl 3225242a39 bug [ 1274828 ] splitunc not documented 2005-09-14 20:42:00 +00:00
Georg Brandl 3fbf3204c5 comma nit 2005-09-14 17:25:02 +00:00
Andrew M. Kuchling 14f4fd0a9e Add more links to the 'What Next?' section; rewrite to be briefer 2005-09-13 19:56:06 +00:00
Georg Brandl d430726b82 Better wording for integer ref entry. 2005-09-12 12:49:38 +00:00
Andrew M. Kuchling ef369cd9cb Shorten run-on sentence 2005-09-12 12:45:37 +00:00
Andrew M. Kuchling b5d21183b4 Update link 2005-09-12 12:44:20 +00:00
Andrew M. Kuchling 8e13af3f7a Update link 2005-09-12 12:43:57 +00:00
Raymond Hettinger 1166638be5 Add FAQ entry regarding non-expoential representation. 2005-09-11 18:21:52 +00:00
Fred Drake b6e1c11004 note that the return and yield statements cannot be used at the top level in
exec statements; people coming from certain other languages seem to be
confused by this on a regular basis
2005-09-07 05:17:07 +00:00
Fred Drake b3dfc0ae5e - fix typo report by email, only 1.5 years late
- fix several consistency nits relating to \method{...()}
2005-09-07 04:57:56 +00:00
Georg Brandl 7da4edac28 Clarify what is meant with "whole numbers". 2005-09-04 18:30:19 +00:00
Georg Brandl 99363b6a19 - Correct PyBool_FromLong's return type and its description.
- Unify function description mode ("Return X" vs "Returns X")
2005-09-03 07:27:26 +00:00
Andrew M. Kuchling c1c956b281 Remove statement about meaning of constants; arguably it's incorrect 2005-09-01 14:08:38 +00:00
Andrew M. Kuchling c28dd1faa5 Typo fix 2005-08-31 17:49:38 +00:00
Andrew M. Kuchling 2330e9eed9 From c.l.py comments: link to zlib manual, and disclaim completeness 2005-08-31 16:52:40 +00:00
Andrew M. Kuchling 8230df3992 Update URLs 2005-08-31 14:43:10 +00:00
Andrew M. Kuchling e1a385ab40 Explain what file descriptors are; this change has been sitting in my tree for a while 2005-08-31 13:50:17 +00:00
Walter Dörwald ff9ca5e39b SF bug #1277016: Turn sentence fragment into a complete sentence. 2005-08-31 11:03:12 +00:00
Neal Norwitz 523c9f0709 SF #1275796, fix distutils typo "sortcut" -> "shortcut" 2005-08-30 03:34:46 +00:00
Andrew M. Kuchling 9922a63a59 Add to-do list 2005-08-30 01:28:15 +00:00
Andrew M. Kuchling b88f774ed8 Remove rexec howto; it's kind of pointless now 2005-08-30 01:27:40 +00:00
Andrew M. Kuchling e8f44d683e Commit the howto source to the main Python repository, with Fred's approval 2005-08-30 01:25:05 +00:00
Andrew M. Kuchling c203370769 Add missing \end, noted by George Yoshida 2005-08-29 13:30:12 +00:00
Andrew M. Kuchling 0738206e79 Write section on PEP 342 2005-08-27 18:45:47 +00:00
Georg Brandl 9a19e5cce6 patch [ 1274550 ] libtarfile.tex: external URL changed 2005-08-27 17:10:35 +00:00
Georg Brandl 7f26a62f09 patch [ 1274630 ] documentation fixes 2005-08-27 17:04:58 +00:00
Georg Brandl 375f83cfd2 patch [ 1274630 ] documentation fixes 2005-08-27 17:04:58 +00:00
Georg Brandl 15ad935568 __new__ is a static method 2005-08-26 12:56:22 +00:00
Georg Brandl bd77da6dab bug [ 1248199 ] shelve .sync operation not documented 2005-08-25 22:40:16 +00:00
Georg Brandl 8fc18a2010 bug [ 1261229 ] __new__ is class method 2005-08-25 21:56:45 +00:00
Georg Brandl 36be8be7f5 Once upon a time, I used to know TeX... 2005-08-25 12:51:16 +00:00
Georg Brandl 532efabf1d patch #848017: make Cookie more RFC-compliant. 2005-08-24 22:34:21 +00:00
Georg Brandl b925602f16 Patch [ 1062060 ] fix for 1016880 urllib.urlretrieve silently truncates dwnld 2005-08-24 18:46:39 +00:00
Martin v. Löwis 56066d2e55 Return complete lines from codec stream readers
even if there is an exception in later lines, resulting in
correct line numbers for decoding errors in source code. Fixes #1178484.
Will backport to 2.4.
2005-08-24 07:38:12 +00:00
Georg Brandl 79c122f568 bug [ 1190204 ] 3.29 site is confusing re site-packages on Windows 2005-08-24 07:31:33 +00:00
Georg Brandl 6f2bbd353b bug [ 1193849 ] os.path.expanduser documentation wrt. empty $HOME 2005-08-24 07:26:55 +00:00
Georg Brandl 38387b8b91 bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix 2005-08-24 07:17:40 +00:00
Raymond Hettinger 76fb6d84d0 SF bug #1100368: Wrong "type()" syntax in docs
Docs were missing the name/bases/dict form of type().

(Much of the wording contributed by Steven Bethard.)
2005-08-24 07:06:25 +00:00
Raymond Hettinger 2e8665ae43 More tutorial nits. 2005-08-23 18:26:00 +00:00
Raymond Hettinger 71da38b1a7 SF bug #1168135: Python 2.5a0 Tutorial errors and observations (Contributed by Michael R Bax.) 2005-08-23 18:02:28 +00:00
Raymond Hettinger e66d437139 SF bug #1168135: Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)
2005-08-23 15:00:45 +00:00
Andrew M. Kuchling 5c419a9fe4 In an e-mail to the webmaster alias, some suggested adding this text. Windows users, please correct/expand as necessary. 2005-08-23 13:48:21 +00:00
Fred Drake b406905f33 ord() documentation update; this is what remains applicable from
SF patch #1057588; other changes make the rest of the patch out of date
or otherwise unnecessary
2005-08-23 04:33:29 +00:00
Andrew M. Kuchling 150e349be1 Note various items; write some shorter sections 2005-08-23 00:56:06 +00:00
Georg Brandl f33d01d304 bug [ 1266296 ] Mistakes in decimal.Context.subtract documentation 2005-08-22 19:35:18 +00:00
Gregory P. Smith 7208af47f8 whoops, missed adding this last night in my hashlib commit 2005-08-22 18:31:41 +00:00
Gregory P. Smith f21a5f7739 [ sf.net patch # 1121611 ]
A new hashlib module to replace the md5 and sha modules.  It adds
support for additional secure hashes such as SHA-256 and SHA-512.  The
hashlib module uses OpenSSL for fast platform optimized
implementations of algorithms when available.  The old md5 and sha
modules still exist as wrappers around hashlib to preserve backwards
compatibility.
2005-08-21 18:45:59 +00:00
Raymond Hettinger f755432f41 SF bug #1168135: Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)
2005-08-21 12:35:29 +00:00
Georg Brandl 6cd5377c72 Empty sets and frozensets are also false. 2005-08-21 12:22:58 +00:00
Raymond Hettinger 1823ae7e36 SF bug #1121416: zip incorrectly and incompletely documented
sequences ==> iterables
2005-08-21 11:58:06 +00:00
Raymond Hettinger a30616a88d SF bug #1249837: container methods raise KeyError not IndexError
Minor clarification.
2005-08-21 11:26:14 +00:00
Georg Brandl b285974c00 Mention explicitly the False is considered false. 2005-08-21 09:41:21 +00:00
Raymond Hettinger 7638249646 Fix PySet_Pop() notes. 2005-08-21 00:08:36 +00:00
Raymond Hettinger 0cbf400419 Add info about the set API. 2005-08-20 23:52:30 +00:00
Andrew M. Kuchling e0245143af Typo fix 2005-08-18 21:45:31 +00:00
Raymond Hettinger 1a663911d2 Fix markup. 2005-08-18 21:27:11 +00:00
Walter Dörwald cca3af3b71 Fix typo (fixes SF bug #1263086). 2005-08-18 19:40:39 +00:00
Raymond Hettinger 94fedf9bfd Expand the API notes. 2005-08-17 12:23:45 +00:00
Raymond Hettinger 0c230b9dac Note that the PyNumber protocol can access most set methods directly. 2005-08-17 10:05:22 +00:00
Raymond Hettinger c47e01d020 Numerous fix-ups to C API and docs. Added tests for C API. 2005-08-16 10:44:15 +00:00
Raymond Hettinger beb3101b05 Add a C API for sets and frozensets. 2005-08-16 03:47:52 +00:00
Andrew M. Kuchling ba7d95e215 Document 'istext' parameter 2005-08-12 14:02:32 +00:00
Fred Drake 9f3ae3e69d fix minor markup errors 2005-08-09 15:24:05 +00:00
Martin v. Löwis ebd9d5ba1a Patch #1180695: Implement nanosecond stat resolution on FreeBSD,
add st_gen, st_birthtime.
2005-08-09 15:00:59 +00:00
Georg Brandl 2772c679e9 bug [ 1252706 ] poplib list() docstring fix (and docs too) 2005-08-05 21:01:58 +00:00
Georg Brandl b370059233 bug [ 1250306 ] incorrect description of range function 2005-08-03 07:17:33 +00:00