Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove casts to PyObject * when declaration is for PyObject * | Jeremy Hylton | 2002-06-06 | 1 | -3/+3 |
| | |||||
* | Add version info, and fix another typo and wording spotted by /F. I think ↵ | Neal Norwitz | 2002-06-06 | 1 | -2/+4 |
| | | | | this is what he meant. :-) | ||||
* | Fix typo spotted by Fredrik Lundh. | Fred Drake | 2002-06-06 | 1 | -1/+1 |
| | |||||
* | Fix some markup errors and adjust wording slightly. | Fred Drake | 2002-06-06 | 1 | -15/+15 |
| | |||||
* | SF patch 555085 (timeout socket implementation) by Michael Gilfix. | Guido van Rossum | 2002-06-06 | 1 | -0/+23 |
| | | | | | | | | | | | | | I've made considerable changes to Michael's code, specifically to use the select() system call directly and to store the timeout as a C double instead of a Python object; internally, -1.0 (or anything negative) represents the None from the API. I'm not 100% sure that all corner cases are covered correctly, so please keep an eye on this. Next I'm going to try it Windows before Tim complains. No way is this a bugfix candidate. :-) | ||||
* | Michael Gilfix of SF patch 555085 fame. | Guido van Rossum | 2002-06-06 | 1 | -0/+1 |
| | |||||
* | SF patch 555085 (timeout socket implementation) by Michael Gilfix. | Guido van Rossum | 2002-06-06 | 5 | -123/+690 |
| | | | | | | | | | | | | | I've made considerable changes to Michael's code, specifically to use the select() system call directly and to store the timeout as a C double instead of a Python object; internally, -1.0 (or anything negative) represents the None from the API. I'm not 100% sure that all corner cases are covered correctly, so please keep an eye on this. Next I'm going to try it Windows before Tim complains. No way is this a bugfix candidate. :-) | ||||
* | The insint() function is not used. Nuke it. | Guido van Rossum | 2002-06-06 | 1 | -15/+0 |
| | |||||
* | The tp_new implementation should initialize the errorhandler field, | Guido van Rossum | 2002-06-06 | 1 | -1/+3 |
| | | | | | | | | otherwise this code could segfault: from socket import socket s = socket.__new__(socket) s.recv(100) | ||||
* | Remove uses of string module and stat.ST_MODE | Neal Norwitz | 2002-06-06 | 3 | -11/+7 |
| | |||||
* | Remove another reference to stat.ST_MODE | Neal Norwitz | 2002-06-06 | 1 | -1/+1 |
| | |||||
* | Use isinstance for the type check, use booleans. | Martin v. Löwis | 2002-06-06 | 1 | -4/+4 |
| | |||||
* | Fix from SF patch 565085: copy._reduction doesn't __setstate__. | Guido van Rossum | 2002-06-06 | 1 | -0/+29 |
| | | | | | | Straightforward fix. Will backport to 2.2. If there's ever a new 2.1 release, this could be backported there too (since it's an issue with anything that's got both a __reduce__ and a __setstate__). | ||||
* | Fix from SF patch 565085: copy._reduction doesn't __setstate__. | Guido van Rossum | 2002-06-06 | 1 | -1/+4 |
| | | | | | | Straightforward fix. Will backport to 2.2. If there's ever a new 2.1 release, this could be backported there too (since it's an issue with anything that's got both a __reduce__ and a __setstate__). | ||||
* | Apply diff.txt from SF patch http://www.python.org/sf/561478 | Walter Dörwald | 2002-06-06 | 1 | -1/+2 |
| | | | | | | This uses cgi.parse_header() in Checker.checkforhtml(), so that webchecker recognises the mime type text/html even if options are specified. | ||||
* | Close SF bug 563740. complex() now finds __complex__() in new style classes. | Raymond Hettinger | 2002-06-06 | 3 | -28/+36 |
| | | | | | Made conversion failure error messages consistent between types. Added related unittests. | ||||
* | Pyrangeiter_Type && range_iter should be static | Neal Norwitz | 2002-06-06 | 1 | -5/+5 |
| | |||||
* | Change warning to debug level; it's a very minor issue. | Jeremy Hylton | 2002-06-06 | 1 | -2/+2 |
| | | | | | The specific warning is that clean didn't find a directory that should be removed if it exists. | ||||
* | Stop testing for sigprocmask. This is a stop gap measure until I work | Michael W. Hudson | 2002-06-06 | 3 | -7/+3 |
| | | | | | out how to just activate my code on platforms where I know it works (currently only linux/x86). | ||||
* | Patch 473512: add GNU style scanning as gnu_getopt. | Martin v. Löwis | 2002-06-06 | 5 | -2/+103 |
| | |||||
* | Patch #551911: Escape . properly. | Martin v. Löwis | 2002-06-06 | 1 | -1/+1 |
| | |||||
* | Replace obsolete stat module constants with | Walter Dörwald | 2002-06-06 | 2 | -5/+5 |
| | | | | | | equivalent attributes in a few more spots. This closes SF patch http://www.python.org/sf/562373 | ||||
* | CRLF -> LF | Guido van Rossum | 2002-06-06 | 0 | -0/+0 |
| | |||||
* | Skip Montanaro's patch, SF 559833, exposing xrange type in builtins. | Raymond Hettinger | 2002-06-05 | 4 | -46/+91 |
| | | | | | Also, added more regression tests to cover the new type and test its conformity with range(). | ||||
* | open method changed to use arguments and set instance host/port values ↵ | Piers Lauder | 2002-06-05 | 1 | -8/+12 |
| | | | | (instead of __init__) | ||||
* | SF 564601 adding rangeiterobject to make xrange() iterate like range(). | Raymond Hettinger | 2002-06-05 | 1 | -46/+91 |
| | |||||
* | SF bug 558179. | Guido van Rossum | 2002-06-05 | 3 | -9/+2 |
| | | | | | Change default for get() back to None. Will backport to 2.2.1. | ||||
* | fixed refcount leak in CreateNewWindow() and CreateWindowFromResource(). | Just van Rossum | 2002-06-05 | 2 | -2/+9 |
| | |||||
* | Better isinstance error message. | Thomas Heller | 2002-06-05 | 1 | -1/+2 |
| | | | | | | Closes SF patch # 560250. Bugfix candidate IMO. | ||||
* | Move warning about directory not on sys.path to debug level. | Jeremy Hylton | 2002-06-04 | 1 | -8/+10 |
| | | | | Fix a bunch of multiline string constants that used +. | ||||
* | Test changes before checking them in. | Jeremy Hylton | 2002-06-04 | 1 | -1/+1 |
| | |||||
* | Track extra arg to option_table to all uses of it | Jeremy Hylton | 2002-06-04 | 1 | -2/+2 |
| | |||||
* | Replace bogus bare variables with attribute access. | Jeremy Hylton | 2002-06-04 | 1 | -3/+4 |
| | |||||
* | Define DEBUG as early as possible to avoid import problems. | Jeremy Hylton | 2002-06-04 | 1 | -5/+5 |
| | |||||
* | Add missing import of log. | Jeremy Hylton | 2002-06-04 | 1 | -0/+1 |
| | |||||
* | Use module-level import of DEBUG instead of many function-level imports. | Jeremy Hylton | 2002-06-04 | 1 | -4/+1 |
| | |||||
* | Remove unused imports | Jeremy Hylton | 2002-06-04 | 2 | -2/+0 |
| | |||||
* | Make None return explicit | Jeremy Hylton | 2002-06-04 | 1 | -1/+1 |
| | |||||
* | import base64 at the top to avoid two different imports at other times | Jeremy Hylton | 2002-06-04 | 1 | -2/+2 |
| | |||||
* | ensure_filename() only takes one argument. | Jeremy Hylton | 2002-06-04 | 1 | -6/+4 |
| | | | | | Call ensure_string() with one arg too, since the second value passed was the default. | ||||
* | Reindent lines to improve readability | Jeremy Hylton | 2002-06-04 | 1 | -3/+3 |
| | |||||
* | Remove (commented out) options that have moved into the distribution. | Jeremy Hylton | 2002-06-04 | 1 | -13/+0 |
| | |||||
* | get_script() implicitly returned None and also had explicit returns. | Jeremy Hylton | 2002-06-04 | 1 | -26/+25 |
| | | | | | Make all returns explicit and rearrange logic to avoid extra indentation. | ||||
* | global _option_order is not used | Jeremy Hylton | 2002-06-04 | 1 | -6/+0 |
| | |||||
* | Fix bug in recent change to logging code. | Jeremy Hylton | 2002-06-04 | 1 | -1/+1 |
| | | | | | mode is not computed in dry_run mode, so it can't be included in the log message. | ||||
* | Fix unused local variables caught by pychecker. | Jeremy Hylton | 2002-06-04 | 6 | -22/+8 |
| | | | | | Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have prevented it from building subpackages. | ||||
* | Set repeat metadata for an option based on repeat local var not | Jeremy Hylton | 2002-06-04 | 1 | -1/+1 |
| | | | | constant. | ||||
* | Remove unused imports caught by pychecker | Jeremy Hylton | 2002-06-04 | 4 | -5/+2 |
| | |||||
* | Make setup.py less chatty by default. | Jeremy Hylton | 2002-06-04 | 32 | -313/+260 |
| | | | | | | | | | | | | | | | This is a conservative version of SF patch 504889. It uses the log module instead of calling print in various places, and it ignores the verbose argument passed to many functions and set as an attribute on some objects. Instead, it uses the verbosity set on the logger via the command line. The log module is now preferred over announce() and warn() methods that exist only for backwards compatibility. XXX This checkin changes a lot of modules that have no test suite and aren't exercised by the Python build process. It will need substantial testing. | ||||
* | A simple log mechanism styled after the proposed std library module | Jeremy Hylton | 2002-06-04 | 1 | -0/+56 |
| |