32831 Commits

Author SHA1 Message Date
Barry Warsaw
6bfd8de9e6 SF bug #1395926: Also test for svnversion command on $PATH before using it to
calculate the build number.
2006-01-03 14:30:55 +00:00
Martin v. Löwis
64c33ddab1 Mention that zlib is now builtin on Windows. 2006-01-03 07:42:14 +00:00
Martin v. Löwis
532bc0375f Patch #1307806: Use project defaults where possible 2006-01-03 07:38:51 +00:00
Martin v. Löwis
4e6aff5e9b Make zlib builtin. 2006-01-03 07:10:14 +00:00
Martin v. Löwis
70cef449ca Remove unneeded directories. 2006-01-03 06:48:38 +00:00
Martin v. Löwis
d372aa8e37 Import zlib into Python tree. 2006-01-03 06:44:59 +00:00
Martin v. Löwis
9ca9f5676c Ignore .svn instead of CVS now. 2006-01-03 06:29:53 +00:00
Barry Warsaw
17e9863586 On the Mac, we have to ignore python.exe too. 2006-01-03 06:03:04 +00:00
Neal Norwitz
02c408d580 Dammit, who the hell spells build with ii?
Thanks to Tony Meyer for spotting my boo-boo.
2006-01-03 02:18:01 +00:00
Neal Norwitz
36cbdf9596 Updated doc from patch 1117398 2006-01-03 02:12:20 +00:00
Neal Norwitz
1a196b5db8 As discussed on python-dev, don't remove Python-ast.[ch] with distclean
even though they are generated.  Since these files require Python 2.2+,
it's possible they can't be created on a fresh system.
2006-01-03 01:38:53 +00:00
Neal Norwitz
a39f0572e6 install svn in /usr/local/bin and remove from ~/local/bin 2006-01-03 00:33:50 +00:00
Neal Norwitz
d3a5867c0b get the proper full pathname of the script. spell build properly 2006-01-02 23:22:41 +00:00
Neal Norwitz
d19a4d47c6 * Change tabs to spaces
* Enable network tests when hunting for leaks
* Disable curses and audio tests properly when running -u all
2006-01-02 22:10:10 +00:00
Georg Brandl
6bc6ed8b55 Bug #1395597: doc typo 2006-01-02 22:07:06 +00:00
Martin v. Löwis
5b43126e03 Regenerate. 2006-01-02 21:18:55 +00:00
Martin v. Löwis
94962615b7 Adjust usage of compiler_use_new_block to its return type. 2006-01-02 21:15:05 +00:00
Neal Norwitz
461aa5bbfc Script to automatically build and test python and doc. The results
are copied up to docs.python.org/dev

Needs lots more work.  Feel free to add code, fixes, or FIXME comments.
2006-01-02 20:07:16 +00:00
Fred Drake
aaa28df3ce update to reflect move to Subversion 2006-01-02 07:22:12 +00:00
Neal Norwitz
50bf51a3a9 Fix ref/memory leak introduced in rev 41845. 2006-01-02 02:46:54 +00:00
Barry Warsaw
538561e466 Ported from 2.4 branch:
Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.
2006-01-01 21:48:54 +00:00
Georg Brandl
0f194234dc Bug #1394868: doc typos 2006-01-01 21:35:20 +00:00
Tim Peters
60b29961dc Fixed English in a comment; trimmed trailing whitespace;
no code changes.
2006-01-01 01:19:23 +00:00
Tim Peters
0cdc3d884e test_main(): Restore the original root logger level after running
the tests.  This stops the confusing/annoying:

    No handlers could be found for logger "cookielib"

message we got whenever some test running after test_logging
happened to use cookielib.py (when not using regrtest's -r,
this happened during test_urllib2; when using -r, it varied).
2005-12-30 20:46:23 +00:00
Tim Peters
1b27f86411 Whitespace normalization. 2005-12-30 18:42:42 +00:00
Martin v. Löwis
4cfa136680 Work around test_locale failing on Solaris.
Will backport to 2.4.
2005-12-30 12:51:45 +00:00
Martin v. Löwis
d5845ec32e Use -xcode=pic32 for SunPro. Will backport to 2.4. 2005-12-30 12:31:38 +00:00
Skip Montanaro
39b29be8a6 Fix a delimiter detection problem in sniffer. Sniffing "a|b|c\r\n" was
returning 'a' as the delimiter.  It now returns '|', but not because I
understood better what the code was supposed to do.  Would someone that
understands the idea behind _guess_delimiter() (see its doc string) look to
see if my fallback choice is better than before or if it's just serendipity
that I picked the proper delimiter?
2005-12-30 05:09:48 +00:00
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