Commit Graph

36865 Commits

Author SHA1 Message Date
Neal Norwitz a84dcd7546 Stop using METH_OLDARGS implicitly 2007-05-22 07:16:44 +00:00
Neal Norwitz e2e447b6fb Stop using METH_OLDARGS 2007-05-22 07:16:10 +00:00
Neal Norwitz 6f145fce06 Document new params to HTTPSConnection 2007-05-22 06:03:36 +00:00
Georg Brandl 2134e754f2 Patch #1686487: you can now pass any mapping after '**' in function calls. 2007-05-21 20:34:16 +00:00
Facundo Batista 70f996be24 Added timeout support to HTTPSConnection, through the
socket.create_connection function. Also added a small
test for this, and updated NEWS file.
2007-05-21 17:32:32 +00:00
Raymond Hettinger 767debb6aa Allow all alphanumeric and underscores in type and field names. 2007-05-21 16:40:10 +00:00
Raymond Hettinger 0d6a8ccfb7 Replace assertion with straight error-checking. 2007-05-21 08:13:35 +00:00
George Yoshida 5faa75f3c1 fix against r55474 [Remove the macfs module]
Remove "libmacfs.tex" from Makefile.deps and mac/mac.tex.
2007-05-21 04:41:21 +00:00
Martin v. Löwis 6f738162ae Add Alexandre Vassalotti. 2007-05-21 04:35:47 +00:00
Andrew M. Kuchling 0f852e2740 Note removed modules 2007-05-21 00:03:15 +00:00
Brett Cannon 41bf2fad62 Cause posixfile to raise a DeprecationWarning. Documented as deprecated since
Ptyhon 1.5.
2007-05-20 23:57:38 +00:00
Brett Cannon 49da0ead95 Move imgfile import to the global namespace to trigger an import error ASAP to
prevent creation of a test file.
2007-05-20 23:56:18 +00:00
Brett Cannon 5e2635103c Remove the macfs module. This led to the deprecation of macostools.touched();
it completely relied on macfs and is a no-op on OS X according to code
comments.
2007-05-20 23:17:38 +00:00
Brett Cannon 7e93587746 Try to remove rgbimg from Windows builds. 2007-05-20 19:05:06 +00:00
Neal Norwitz f8519c4d3d Update directories/files at the top-level. 2007-05-20 18:43:00 +00:00
Neal Norwitz 90340a183f rotor is long gone. 2007-05-20 18:06:27 +00:00
Nick Coghlan c568cc162a Fix typo in example (should be backported, but my maintenance branch is woefully out of date) 2007-05-20 11:12:49 +00:00
Brett Cannon dc48b74497 Remove the rgbimg module. It has been deprecated since Python 2.5. 2007-05-20 07:09:50 +00:00
Georg Brandl 8d76cca026 Fix docstring for add_package in site.py. 2007-05-19 18:09:26 +00:00
Neal Norwitz d410b320ec Give some clue as to what happened if the test fails. 2007-05-19 04:35:52 +00:00
Neal Norwitz 4868ef8832 Whoops, need to pay attention to those test failures.
Move the clear to *before* the first use, not after.
2007-05-19 04:34:55 +00:00
Neal Norwitz 59f58aaeed Clear data so random memory does not get freed. Will backport. 2007-05-19 03:48:47 +00:00
Raymond Hettinger f3241a3727 Fix beginner mistake -- don't mix spaces and tabs. 2007-05-19 01:50:11 +00:00
Raymond Hettinger 5a41daf096 Improvements to NamedTuple's implementation, tests, and documentation 2007-05-19 01:11:16 +00:00
Collin Winter 6290305e67 Backport PEP 3110's new 'except' syntax to 2.6. 2007-05-18 23:11:24 +00:00
Neal Norwitz 6eb7bede72 Verify neither dumps or loads overflow the stack and segfault. 2007-05-18 05:47:16 +00:00
Fred Drake 88d96ade59 fix argument name in documentation; match the implementation 2007-05-17 19:29:58 +00:00
Neal Norwitz f6b0e4dca8 Last try for tweaking the max stack depth. 5000 was the original value,
4000 didn't work either.  1000 does work on Windows.  If 2000 works,
that will hopefully be a reasonable balance.
2007-05-17 07:04:46 +00:00
Neal Norwitz 4f82bc3183 Set the depth to something very small to try to determine if the
crashes on Windows are really due to the stack size or possibly
some other problem.
2007-05-17 06:23:50 +00:00
Neal Norwitz 117ef0863b Reduce the max stack depth to see if this fixes the segfaults on
Windows and some other boxes.  If this is successful, this rev should
be backported.  I'm not sure how close to the limit we should push this.
2007-05-17 06:11:36 +00:00
Brett Cannon 5cd0fca9d8 Complete deprecation of BaseException.message. Some subclasses were directly
accessing the message attribute instead of using the descriptor.
2007-05-17 02:02:56 +00:00
Raymond Hettinger 72ef8daa88 calendar.py gets no benefit from xrange() instead of range() 2007-05-17 01:08:04 +00:00
Brett Cannon d75f043c33 Remove the gopherlib module. It has been raising a DeprecationWarning since
Python 2.5.

Also remove gopher support from urllib/urllib2.  As both imported gopherlib the
usage of the support would have raised a DeprecationWarning.
2007-05-16 22:42:29 +00:00
Neal Norwitz b1a9b37aa8 Fix bug in marshal where bad data would cause a segfault due to
lack of an infinite recursion check.

Contributed by Damien Miller at Google.
2007-05-16 20:05:11 +00:00
Georg Brandl f1135f30f8 Bug #1719995: don't use deprecated method in sets example. 2007-05-16 13:44:18 +00:00
Brett Cannon fa155111b4 Change the maintainer of the BeOS port. 2007-05-16 05:50:03 +00:00
Neal Norwitz e0e70a42fa Mention removal of some directories for obsolete platforms 2007-05-16 05:06:33 +00:00
Neal Norwitz d501d1fbc4 Port rev 55353 from Guido:
Add what looks like a necessary call to PyErr_NoMemory() when PyMem_MALLOC()
fails.

Will backport.
2007-05-16 04:33:50 +00:00
Georg Brandl a09a96a544 HTML-escape the plain traceback in cgitb's HTML output, to prevent
the traceback inadvertently or maliciously closing the comment and
injecting HTML into the error page.
2007-05-15 20:19:34 +00:00
Raymond Hettinger 8be9ab8497 Small speedup. 2007-05-14 20:52:31 +00:00
Neal Norwitz cd498be90e Remove support for freebsd[23] which haven't been released since 2000
or earlier.  http://www.freebsd.org/releases/index.html
2007-05-13 21:13:42 +00:00
Neal Norwitz 25e4461666 Remove references to stdwin which was removed long ago. 2007-05-13 20:54:19 +00:00
Neal Norwitz 7072559db9 Remove Amoeba doc which was removed in version 1.0! according to Misc/HISTORY.
Hopefully Guido won't shed a tear. :-)
2007-05-13 20:45:05 +00:00
Georg Brandl 0c1f6fcaac Add bz2 to content encodings. 2007-05-13 08:04:07 +00:00
Georg Brandl 2dd7d179de Bug #1046945: document SWIG options of distutils. 2007-05-12 21:06:41 +00:00
Raymond Hettinger a74b67e15e Better tests for posixpath.commonprefix 2007-05-11 17:59:59 +00:00
Georg Brandl e3e62b3783 Update DDJ link. 2007-05-11 11:43:56 +00:00
Georg Brandl c5207c8425 Patch #1714700: clarify os.linesep vs. tfiles opened in text mode.
(backport)
2007-05-11 11:04:26 +00:00
Georg Brandl bc1b5f1669 Remove an XXX that is unnecessary. 2007-05-11 09:41:37 +00:00
Neal Norwitz 6bf8fa66ff Deprecate os.popen* and popen2 module in favor of the subprocess module. (forgot the doc) 2007-05-11 07:13:30 +00:00