Jack Jansen
c9713874ba
Updated the doc strings to refer to PyArg_Parse and Py_BuildValue in stead
...
of getargs() and mkvalue().
2003-01-24 09:23:13 +00:00
Raymond Hettinger
96bf0d75e2
Kurt pointed out another method affected by the changes to pyclbr.py.
2003-01-22 13:29:00 +00:00
Jack Jansen
2cf08ab4c2
Sigh, due to sloppiness on my part bgen has become pretty mixed up wrt. tabs
...
and spaces. Detabbed the lot.
2003-01-19 21:53:57 +00:00
Raymond Hettinger
18acea7c8e
SF bug #668906 : class browser raises AttributeError
...
The Py2.3 updates to the pyclbr module return both Class and Function
objects. The IDLE ClassBrowser module only knew about Class and could
not handle objects which did not define "super".
Fixed by adding a guard.
2003-01-18 22:53:36 +00:00
Martin v. Löwis
2206cd17ce
Properly find and install icons even if calling setup.py from the build dir.
2003-01-16 11:03:33 +00:00
Guido van Rossum
8b7b345328
Use regular expressions for branch matching, to avoid including
...
changes on a sub-branch into output for a given branch.
2003-01-07 16:46:24 +00:00
Raymond Hettinger
a9cfa5501f
SF bug #652933 (for IdleFork): Open Module "math" Fails
...
When a module doesn't have a __path__ attribute, trigger a dialog box
rather than dumping a traceback to the console.
2003-01-07 09:55:03 +00:00
Guido van Rossum
bf1b1fdb9e
Add byext.py
2003-01-02 02:24:22 +00:00
Guido van Rossum
6a8f7b741c
Silly little script to print statistics (files, lines, words) by
...
extension. Could use some work, but already very useful.
2003-01-01 14:41:25 +00:00
Just van Rossum
41c554fbec
moving modulefinder.py to the standard library
2002-12-31 16:27:33 +00:00
Jack Jansen
15721c5c45
Oops, old-style types don't have a tp_free slot. Call PyObject_Free
...
directly in that case.
2002-12-23 22:33:49 +00:00
Jack Jansen
77e8ad4684
Always use self->ob_type->tp_free when freeing an object.
2002-12-19 23:34:40 +00:00
Jack Jansen
5bb2f6497f
Always output an inheritance-aware version of the xxxx_Check() macro. Also
...
fixed that macro to actually work:-)
2002-12-19 20:37:32 +00:00
Jack Jansen
ff38505f1a
Added an optional longname argument to Module, which gives the full,
...
externally visible name of the module. This is so that type names can be
shown as "Carbon.File.FSSpec" even though the real name of the module is
"_File".
2002-12-17 22:08:48 +00:00
Jeremy Hylton
6bf45c6752
Correct buggy module docstring.
...
Replace use of homebrew boolean with True/False.
Reflow lots more long lines.
2002-12-11 21:43:13 +00:00
Jeremy Hylton
89f1d6c04e
Fix one bug and reformat lots of code.
...
The bug is a reference to co_first_lineno that should be
co_firstlineno. The only other substantial change is to speed up
localtrace_count() by avoiding *costly* calls to inspect module.
It's trivial to get the filename and lineno directly from the frame.
Otherwise, delete commented out debug code and reflow very long lines.
2002-12-11 21:28:32 +00:00
Jack Jansen
dd888a6cff
Fixed typo.
2002-12-05 23:20:12 +00:00
Skip Montanaro
7bc2e1dad7
add logmerge.py (pydoc is already installed)
2002-12-05 21:12:34 +00:00
Skip Montanaro
da760c488f
simple setup.py to install some interesting scripts in $(prefix)/bin.
2002-12-05 02:58:36 +00:00
Skip Montanaro
a5f8c42268
* when given, port should be converted to int
...
* when connecting, if the port is non-standard, display it as well
2002-12-05 02:43:14 +00:00
Skip Montanaro
7dfb02d09a
allow optional port specified as part of the hostname, e.g.,
...
"www.zope.org:8021".
2002-12-05 02:37:23 +00:00
Jack Jansen
99899b92b8
Added PEP253 support.
2002-12-03 23:35:22 +00:00
Guido van Rossum
a1962d6efd
Get rid of 1.5.2 compatibility hack. :-)
2002-12-03 09:28:36 +00:00
Jack Jansen
27a4450239
Fixed two silly bugs in the PEP252 support code, added an assert
...
that basechain isn't set, and made the output a bit prettier.
2002-11-28 23:23:14 +00:00
Just van Rossum
5d0bd1ebdf
refactor universal line endings detection
2002-11-26 09:53:16 +00:00