Skip Montanaro
0174dddc65
typo, use parens for continued expr
2005-12-30 05:01:26 +00:00
Fredrik Lundh
24f0fa97c5
SF#1391872
...
Floating point literals don't work in non-US locale in 2.5. Patch and
new locale tests by Hye-Shik Chang.
2005-12-29 20:35:52 +00:00
Armin Rigo
b9359c402b
SF patch #1379023 : document that a weakref callback is not invoked if the
...
weakref object itself is deleted first.
2005-12-29 17:43:08 +00:00
Armin Rigo
037d1e0ff3
SF bug #1153075 : "PyXxx_Check(x) trusts x->ob_type->tp_mro".
...
A patch by mwh to check that user-defined mro's are reasonable
enough.
2005-12-29 17:07:39 +00:00
Armin Rigo
f5bd3b442d
adding in-place operators to the operator module.
2005-12-29 16:50:42 +00:00
Armin Rigo
ecc275bcef
Typo.
2005-12-29 16:04:25 +00:00
Armin Rigo
fd163f92ce
SF patch #1390657 :
...
* set sq_repeat and sq_concat to NULL for user-defined new-style
classes, as a way to fix a number of related problems. See
test_descr.notimplemented()). One of these problems was fixed
in r25556 and r25557 but many more existed; this is a general
fix and thus reverts r25556-r25557.
* to avoid having PySequence_Repeat()/PySequence_Concat() failing
on user-defined classes, they now fall back to nb_add/nb_mul if
sq_concat/sq_repeat are not defined and the arguments appear to
be sequences.
* added tests.
Backport candidate.
2005-12-29 15:59:19 +00:00
Armin Rigo
c4308d5be6
two missing PyDoc_STR().
2005-12-29 14:39:28 +00:00
Skip Montanaro
8bdaac7f95
typo
2005-12-28 15:56:58 +00:00
Skip Montanaro
91bb70c5c0
Fix for problem with Sniffer class. If your delimiter is whitespace and the
...
last field was empty it would strip the delimiter and incorrectly guess that
"" was the delimiter. Reported in c.l.py by Laurent Laporte. Will
backport.
2005-12-28 15:37:25 +00:00
Georg Brandl
e08fa29d0e
Bug #999767 : make setup.py obey Setup.local wrt shared modules
2005-12-27 18:24:27 +00:00
Georg Brandl
cd4d1e8b46
[ 959576 ] Can't build Python on POSIX w/o $HOME
2005-12-27 17:37:07 +00:00
Georg Brandl
c6224db254
Revert checkin for bug #1386675 .
2005-12-27 17:25:33 +00:00
Georg Brandl
0cdcec548b
Bug #1386675 : winreg raises WindowsErrors
2005-12-27 00:03:18 +00:00
Georg Brandl
75400db251
Bug #1389673 : document correct return value of set methods
2005-12-26 23:55:56 +00:00
Georg Brandl
6c1908d556
Bug #489256 : remove note about Python 1.1 profiler
2005-12-26 23:44:29 +00:00
Georg Brandl
a2764add19
Bug #954981 : urllib2 example wont work w/o ssl
2005-12-26 23:36:32 +00:00
Georg Brandl
d90d1c1b8d
Bug #839075 : document that highly recursive data cannot be pickled
2005-12-26 23:27:49 +00:00
Georg Brandl
c47f1c194a
Bug #839585 : mention % string operator in language ref
2005-12-26 23:15:48 +00:00
Georg Brandl
10141742d5
Bug #756104 : document that bufsize in socket.recv() should be small
2005-12-26 23:07:46 +00:00
Georg Brandl
c0b24734e0
Bug #649974 : make docstrings for url2pathname consistent
2005-12-26 22:53:56 +00:00
Armin Rigo
ddddd2f7e6
Updating the short blob about old/new-style classes to reflect (IMHO) more
...
precisely the motivation and the differences.
Added links to www.python.org/doc/newstyle.html and a footnote to warn against
the statement "x[i] is equivalent to x.__getitem__(i)", which already caused
many invalid bug reports on SF.
2005-12-26 18:06:17 +00:00
Tim Peters
07cf5d4bb7
As reported on c.l.py, the _elementtree project
...
should depend on the pythoncore project.
2005-12-26 16:53:15 +00:00
Tim Peters
536cf99536
Whitespace normalization.
2005-12-25 23:18:31 +00:00
Tim Peters
83a8c393b0
test_bug_1333982(): This one must fail under -O.
...
All the --all test pass using -O on WinXP now.
2005-12-25 22:52:32 +00:00
Tim Peters
903a9444a8
Repair longstanding damage introduced by the AST merge:
...
- Get rid of pgen.c and tokenizer_pgen.c.
- Include tokenizer.c.
All the -uall tests pass on my WinXP VC7.1 box now.
2005-12-25 16:28:48 +00:00
Fredrik Lundh
bb2bf2c45a
fixed one more typo
2005-12-25 12:05:42 +00:00
Fredrik Lundh
c3389997d4
SF#1389809
...
cast first PyUnicode_Decode argument to proper type (why is
"char *" used for encoded byte streams, btw? shouldn't that
be "void *" or, if necessary, "unsigned char *"?)
2005-12-25 11:40:19 +00:00
Fredrik Lundh
428b413aaa
fixed two typos in pprint reference page
2005-12-25 11:36:43 +00:00
Tim Peters
35c3f4f249
do_mkvalue(), 'I' and 'k' cases: squash legitimate
...
compiler warnings about mixing signed and unsigned types
in comparisons.
2005-12-24 06:23:41 +00:00
Tim Peters
c3d12ac88c
const poisoning, spreading to fix new const warnings
...
in _winreg.c.
2005-12-24 06:03:06 +00:00
Neal Norwitz
dc297b4ef4
Ignore pyc files for building doc
2005-12-24 01:48:56 +00:00
Neal Norwitz
ab86f8eef5
Patch #1157027 , cookielib mis-handles RFC 2109 cookies in Netscape mode
2005-12-23 21:44:36 +00:00
Neal Norwitz
71dad72ebe
SF patch #1157027 , cookielib mis-handles RFC 2109 cookies in Netscape mode
2005-12-23 21:43:48 +00:00
Neal Norwitz
a2c110b13a
Add missing dep for cookielib doc
2005-12-23 21:42:39 +00:00
Neal Norwitz
338e7866e6
Patch #1117398 : fix cookielib LoadError
2005-12-23 21:27:46 +00:00
Neal Norwitz
3e7de59bd2
Fix SF #1117398 , cookielib LWPCookieJar and MozillaCookieJar exceptions
...
cookielib.LWPCookieJar and .MozillaCookieJar are documented to raise
cookielib.LoadError on attempt to load an invalid cookies file, but
raise IOError instead. Compromise by having LoadError subclass IOError.
2005-12-23 21:24:35 +00:00
Andrew M. Kuchling
b164dafebb
[Patch #1375417 ] Massive rearrangement of the Library Reference.
...
Fred approved just checking it in; he may make further fixes.
The change shrinks the 'Generic OS' and other OS chapters, which had become
something of a dumping ground for random modules. It differs from the
last version of the patch: 1) I've added introductions for the new chapters (still missing a few -- search for 'intro')
2) a few modules have been rearranged slightly from the version in the patch
2005-12-22 20:34:09 +00:00
Andrew M. Kuchling
a0b25e955f
Add more chapter intros
2005-12-22 20:27:43 +00:00
Andrew M. Kuchling
974730108a
Add markup
2005-12-22 20:12:54 +00:00
Andrew M. Kuchling
affd42dc50
Add some chapter introductions (not linked into the LibRef yet)
2005-12-22 20:12:39 +00:00
Andrew M. Kuchling
755c268600
Update text
2005-12-22 19:38:57 +00:00
Andrew M. Kuchling
509a41da9c
Typo fix
2005-12-22 19:31:21 +00:00
Andrew M. Kuchling
20be3c8a94
Typo fix
2005-12-22 18:55:43 +00:00
Georg Brandl
5e8d8f930d
[ 1388141 ] Minor error in md5 docs
2005-12-22 16:15:00 +00:00
Thomas Heller
7a9d1327db
Add Python\pyarena.c to the VC project file.
...
Fix the definition of BUILD in the VC project settings.
2005-12-21 15:46:29 +00:00
Barry Warsaw
ce3a9131c3
Revert most of r41765. Don't use $Revision$ in Py_GetBuildNumber(). Keep the
...
use of $(srcdir) in Makefile.pre.in so builds outside the source dir still
work.
2005-12-19 14:43:44 +00:00
Neal Norwitz
4ac13dfc3a
Remove extra parens
2005-12-19 06:10:07 +00:00
Neal Norwitz
9dbc7dd6f2
Remove extra parens
2005-12-19 06:08:59 +00:00
Neal Norwitz
c10978f43c
Bug #1072182 , fix some potential problems if characters are signed.
2005-12-19 06:07:16 +00:00