Andrew M. Kuchling
fb10858fe7
[Patch #1479977 ] Revised version of urllib2 HOWTO, edited by John J. Lee
2006-05-07 17:12:12 +00:00
Martin v. Löwis
e93abb7ca6
Handle ERROR_ALREADY_EXISTS.
2006-05-06 20:04:08 +00:00
Martin v. Löwis
d4e3bb3d39
Port access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API.
2006-05-06 16:32:54 +00:00
George Yoshida
ce5933f582
Use \versionchanged for the feature change
2006-05-06 14:16:51 +00:00
George Yoshida
d3d8ecda15
describe optional arguments for DocFileSuite
2006-05-06 13:09:45 +00:00
Thomas Heller
9b83fc67ea
Clean up.
2006-05-05 19:14:24 +00:00
Thomas Heller
97a7b7fef3
oops - the function is exported as 'my_free', not 'free'.
2006-05-05 18:46:27 +00:00
Thomas Heller
748f6fbf2c
Fix memory leaks in the ctypes test suite, reported by valgrind, by
...
free()ing the memory we allocate.
2006-05-05 18:43:24 +00:00
Thomas Heller
21a929f5ab
Export the 'free' standard C function for use in the test suite.
2006-05-05 18:42:14 +00:00
Martin v. Löwis
08041d582b
Update checks to consider Windows error numbers.
2006-05-04 14:27:52 +00:00
Martin v. Löwis
4fc2bda8d9
Drop now-unnecessary arguments to posix_2str.
2006-05-04 12:04:27 +00:00
Martin v. Löwis
8e0d494e41
Implement os.{chdir,rename,rmdir,remove} using Win32 directly.
2006-05-04 10:08:42 +00:00
Martin v. Löwis
777367103c
Patch #1475845 : Raise IndentationError for unexpected indent.
2006-05-04 05:51:03 +00:00
Georg Brandl
61d168a55e
Bug #1481530 : allow "from os.path import ..." with imputil
2006-05-04 05:08:10 +00:00
Thomas Heller
14f3da7585
Don't fail the tests when libglut.so or libgle.so cannot be loaded.
2006-05-03 18:35:39 +00:00
Georg Brandl
1bb6230930
Bug #1385040 : don't allow "def foo(a=1, b): pass" in the compiler package.
2006-05-03 18:18:32 +00:00
Georg Brandl
23d9d45482
Bug #1472191 : convert breakpoint indices to ints before comparing them to ints
2006-05-03 18:12:33 +00:00
Georg Brandl
a2ac2ef44f
RFE #1472176 : In httplib, don't encode the netloc and hostname with "idna" if not necessary.
2006-05-03 18:03:22 +00:00
Georg Brandl
7377ad2ecd
Add seamonkey to list of Windows browsers too.
2006-05-03 17:46:13 +00:00
Nick Coghlan
d8accb32a5
Get rid of a couple more context object references, fix some markup and clarify what happens when a generator context function swallows an exception.
2006-05-03 13:17:49 +00:00
Nick Coghlan
afd5e63e24
Finish bringing SVN into line with latest version of PEP 343 by getting rid of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager()
2006-05-03 13:02:47 +00:00
Georg Brandl
1b06a1d4e3
Move network tests from test_urllib2 to test_urllib2net.
2006-05-03 05:15:10 +00:00
Georg Brandl
852bb00818
Patch #1480067 : don't redirect HTTP digest auth in urllib2
2006-05-03 05:05:02 +00:00
Martin v. Löwis
a3a13298b2
Correct some formulations, fix XXX comments.
2006-05-03 04:52:04 +00:00
Tim Peters
4511a713d5
Whitespace normalization.
2006-05-03 04:46:14 +00:00
Fred Drake
3053667d09
fix up whitespace in prompt strings
2006-05-03 02:29:39 +00:00
Fred Drake
5f1cca0a1d
one more place to avoid extra markup (how many will there be?)
2006-05-03 02:29:09 +00:00
Fred Drake
2de7a35e9a
one more place to avoid extra markup
2006-05-03 02:27:40 +00:00
Fred Drake
6b07be9d29
at least comment on why curly-quotes are not enabled
2006-05-03 02:12:47 +00:00
Fred Drake
f25fa6ddb9
avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to
...
guillemets; no need for magic here
2006-05-03 02:04:40 +00:00
Fred Drake
f863609cd6
tell LaTeX2HTML to:
...
- use UTF-8 output
- not mess with the >>> prompt!
2006-05-03 01:48:24 +00:00
Fred Drake
e10b21bd6f
remove unnecessary assignment
2006-05-03 01:46:52 +00:00
Andrew M. Kuchling
f322d68327
Update context manager section for removal of __context__
2006-05-02 22:47:49 +00:00
Andrew M. Kuchling
214db63df8
Use open() instead of file()
2006-05-02 21:44:33 +00:00
Guido van Rossum
b2045837b6
Hopefully this will fix the spurious failures of test_mailbox.py that I'm
...
experiencing. (This code and mailbox.py itself are full of calls to file()
that should be calls to open() -- but I'm not fixing those.)
2006-05-02 20:47:36 +00:00
Armin Rigo
a71fd71c3e
Documentation bug: PySet_Pop() returns a new reference (because the
...
caller becomes the owner of that reference).
2006-05-02 19:52:32 +00:00
Guido van Rossum
da5b701aee
Get rid of __context__, per the latest changes to PEP 343 and python-dev
...
discussion.
There are two places of documentation that still mention __context__:
Doc/lib/libstdtypes.tex -- I wasn't quite sure how to rewrite that without
spending a whole lot of time thinking about it; and whatsnew, which Andrew
usually likes to change himself.
2006-05-02 19:47:52 +00:00
Guido van Rossum
8f6cbe1502
Fix the formatting of KeyboardInterrupt -- a bad issubclass() call.
2006-05-02 17:36:09 +00:00
Andrew M. Kuchling
a883701dff
Provide encoding as keyword argument; soften warning paragraph about encodings
2006-05-02 11:30:03 +00:00
Vinay Sajip
4b4a63e30a
Replaced my dumb way of calculating seconds to midnight with Tim Peters' much more sensible suggestion. What was I thinking ?!?
2006-05-02 08:35:36 +00:00
Neal Norwitz
9652baaf44
Fix breakage from patch 1471883 (r45800 & r45808) on OSF/1.
...
The problem was that pyconfig.h was being included before some system headers
which caused redefinitions and other breakage. This moves system headers
after expat_config.h which includes pyconfig.h.
2006-05-02 07:27:47 +00:00
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