Commit graph

34359 commits

Author SHA1 Message Date
Fred Drake
017e68c413 SF #1479988: add methods to allow access to weakrefs for the
weakref.WeakKeyDictionary and weakref.WeakValueDictionary
2006-05-02 06:53:59 +00:00
Neal Norwitz
a6d01cec3f Try to fix breakage caused by patch #1479181, r45850 2006-05-02 06:23:22 +00:00
Neal Norwitz
c4edb0ec81 SF #1479181: split open() and file() from being aliases for each other. 2006-05-02 04:43:14 +00:00
Andrew M. Kuchling
4bbf66e852 Markup fixes 2006-05-01 17:06:54 +00:00
Andrew M. Kuchling
6849488914 Add item 2006-05-01 16:32:49 +00:00
Andrew M. Kuchling
edbe657174 Markup fixes; add some XXX comments noting problems 2006-05-01 16:30:25 +00:00
Fred Drake
d22c6dbdfa add dependency 2006-05-01 16:28:54 +00:00
Martin v. Löwis
a07fbce451 Rename parameters to match the documentation (which
in turn matches Microsoft's documentation).
Drop unused parameter in CAB.append.
2006-05-01 16:14:16 +00:00
Martin v. Löwis
5f4307491e Add msilib documentation. 2006-05-01 16:12:44 +00:00
Martin v. Löwis
594855c2d3 Rename uisample to text, drop all non-text tables. 2006-05-01 15:56:03 +00:00
Gerhard Häring
82560ebb8d Further integration of the documentation for the sqlite3 module. There's still
quite some content to move over from the pysqlite manual, but it's a start now.
2006-05-01 15:14:48 +00:00
Andrew M. Kuchling
e3c958c33b Some ElementTree fixes: import from xml, not xmlcore; fix case of module name; mention list() instead of getchildren() 2006-05-01 12:45:02 +00:00
Martin v. Löwis
8672519ac0 Work around deadlock risk. Will backport. 2006-05-01 06:28:01 +00:00
Fred Drake
6550f03216 - minor clarification in section title
- markup adjustments
(there is clearly much to be done in this section)
2006-05-01 06:25:58 +00:00
Barry Warsaw
dbcc8d9b24 Port forward from 2.4 branch:
Patch #1464708 from William McVey: fixed handling of nested comments in mail
addresses.  E.g.

"Foo ((Foo Bar)) <foo@example.com>"

Fixes for both rfc822.py and email package.  This patch needs to be back
ported to Python 2.3 for email 2.5.
2006-05-01 03:03:02 +00:00
Andrew M. Kuchling
09612281ef Add item 2006-04-30 21:19:49 +00:00
Andrew M. Kuchling
4b5caae8b9 Add urllib2 HOWTO from Michael Foord 2006-04-30 21:19:31 +00:00
Georg Brandl
3c1983face Patch #1479438: add \keyword markup for "with". 2006-04-30 19:34:19 +00:00
Georg Brandl
3583cff5a9 Patch #1472854: make the rlcompleter.Completer class usable on non-
UNIX platforms.
2006-04-30 18:14:54 +00:00
Georg Brandl
208badda27 Fix another problem in inspect: if the module for an object cannot be found, don't try to give its __dict__ to linecache. 2006-04-30 17:42:26 +00:00
Phillip J. Eby
72ae6c80d4 Fix infinite regress when inspecting <string> or <stdin> frames. 2006-04-30 15:59:26 +00:00
Georg Brandl
de9b624fb9 Bug #1473625: stop cPickle making float dumps locale dependent in protocol 0.
On the way, add a decorator to test_support to facilitate running single
test functions in different locales with automatic cleanup.
2006-04-30 11:13:56 +00:00
Georg Brandl
44a118af50 Patch #1470976: don't NLST files when retrieving over FTP. 2006-04-30 09:23:59 +00:00
Georg Brandl
bffb0bc064 In stdlib, use hashlib instead of deprecated md5 and sha modules. 2006-04-30 08:57:35 +00:00
Georg Brandl
fa42bd7af4 Patch #1470846: fix urllib2 ProxyBasicAuthHandler. 2006-04-30 07:06:11 +00:00
George Yoshida
5085fe2bcc Use \versionchanged instead of \versionadded for new parameter support. 2006-04-30 03:49:56 +00:00
Andrew M. Kuchling
c9236111ed Add two items 2006-04-30 01:07:09 +00:00
Gerhard Häring
eb2e1926ac This is the start of documentation for the sqlite3 module. Please feel free to
find a better place for the link to it than alongside bsddb & friends.
2006-04-29 23:12:41 +00:00
Brett Cannon
1e01397533 Fix docstring for contextfactory; mentioned old contextmanager name. 2006-04-29 21:29:50 +00:00
Martin v. Löwis
b75d43d374 Further changes for #1471883: Edit Misc/NEWS, and
add expat_config.h.
2006-04-29 12:37:25 +00:00
Andrew M. Kuchling
aa013da0b3 Add item 2006-04-29 12:10:43 +00:00
Andrew M. Kuchling
18db487692 Make case of 'ZIP' consistent 2006-04-29 12:10:28 +00:00
Andrew M. Kuchling
b37bcb59bc Add item 2006-04-29 11:53:15 +00:00
Ronald Oussoren
988117fd63 Patch 1471883: --enable-universalsdk on Mac OS X 2006-04-29 11:31:35 +00:00
George Yoshida
f674939a2b grammar fix 2006-04-29 02:43:30 +00:00
Georg Brandl
6d78a582ec Bug #1478429: make datetime.datetime.fromtimestamp accept every float,
possibly "rounding up" to the next whole second.
2006-04-28 19:09:24 +00:00
Thomas Heller
6a907d8b8e Remove a duplicated test (the same test is in test_incomplete.py). 2006-04-28 17:02:18 +00:00
Georg Brandl
0f45a078a3 Bug #1478326: don't allow '/' in distutils.util.get_platform machine names
since this value is used to name the build directory.
2006-04-28 16:58:52 +00:00
Georg Brandl
7a3fd89994 Bug #1472949: stringify IOErrors in shutil.copytree when appending
them to the Error errors list.
2006-04-28 16:54:25 +00:00
George Yoshida
d77167286f correct a dead link 2006-04-28 16:40:14 +00:00
Georg Brandl
677800723a Bug #1475009: clarify ntpath.join behavior with absolute components 2006-04-28 16:36:55 +00:00
Georg Brandl
314acacb52 Add SeaMonkey to the list of Mozilla browsers. 2006-04-28 16:31:17 +00:00
George Yoshida
9dea97a224 fix markup glitch 2006-04-28 16:09:45 +00:00
Neal Norwitz
abab1d44bb Fix a warning on ppc (debian) 2006-04-28 05:28:54 +00:00
Neal Norwitz
237bf40746 Fix a warning on alpha 2006-04-28 05:28:30 +00:00
Neal Norwitz
82d4cc27c6 Fix some warnings on Mac OS X 10.4 2006-04-28 05:28:05 +00:00
Neal Norwitz
dd28d1c6c2 Try to really fix the slow buildbots this time.
Printing to stdout, doesn't mean the data was actually written.
It depends on the buffering, so we need to flush.  This will hopefully
really fix the buildbots getting killed due to no output on the slow bots.
2006-04-28 04:34:43 +00:00
Neal Norwitz
0bbbb005c5 Add some whitespace to be more consistent. 2006-04-28 04:32:20 +00:00
Thomas Wouters
076ba2129b Add more ignores of ImportWarnings; these are all just potential triggers
(since they won't trigger if zlib is already sucessfully imported); they
were found by grepping .py files, instead of looking at warning output :)
2006-04-27 23:41:27 +00:00
Thomas Wouters
9df4e6f673 - Add new Warning class, ImportWarning
- Warn-raise ImportWarning when importing would have picked up a directory
   as package, if only it'd had an __init__.py. This swaps two tests (for
   case-ness and __init__-ness), but case-test is not really more expensive,
   and it's not in a speed-critical section.

 - Test for the new warning by importing a common non-package directory on
   sys.path: site-packages

 - In regrtest.py, silence warnings generated by the build-environment
   because Modules/ (which is added to sys.path for Setup-created modules)
   has 'zlib' and '_ctypes' directories without __init__.py's.
2006-04-27 23:13:20 +00:00