- 30 Eyl, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
but also for functions. (backport from rev. 52069)
-
- 29 May, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 02 Agu, 2004 1 kayıt (commit)
-
-
Anthony Baxter yazdı
"@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728.
-
- 17 Ara, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
sorted() becomes a regular function instead of a classmethod.
-
- 01 Ara, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 03 Ara, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
and classes. Also add a mini main program that dumps the results for a given file or module.
-
- 02 Ara, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
- The _modules cache now uses the full module name. - The meaning of the (internal!!!) inpackage argument is changed: it now is the parent package name, or None. readmodule() doesn't support this argument any more. - The meaning of the path argument is changed: when inpackage is set, the module *must* be found in this path (as is the case for the real package search). - Miscellaneous cleanup, e.g. fixed __all__, changed some comments and doc strings, etc. - Adapted the unit tests to the new semantics (nothing much changed, really). Added some debugging code to the unit tests that print helpful extra info to stderr when a test fails (interpreting the test failures turned out to be hard without these).
-
- 16 Eyl, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
"import" statement, catch and ignore all exceptions. add/fix some comments about this.
-
- 23 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
rather than a number of approximating regular expressions. Alas, it is 3-4 times slower. Let that be a challenge for the tokenize module.
-
- 03 Haz, 2002 1 kayıt (commit)
-
-
Walter Dörwald yazdı
x in string.whitespace => x.isspace() type(x) in types.StringTypes => isinstance(x, basestring) isinstance(x, types.StringTypes) => isinstance(x, basestring) type(x) is types.StringType => isinstance(x, str) type(x) == types.StringType => isinstance(x, str) string.split(x, ...) => x.split(...) string.join(x, y) => y.join(x) string.zfill(x, ...) => x.zfill(...) string.count(x, ...) => x.count(...) hasattr(types, "UnicodeType") => try: unicode except NameError: type(x) != types.TupleTuple => not isinstance(x, tuple) isinstance(x, types.TupleType) => isinstance(x, tuple) type(x) is types.IntType => isinstance(x, int) Do not mention the string module in the rlcompleter docstring. This partially applies SF patch http://www.python.org/sf/562373 (with basestring instead of string). (It excludes the changes to unittest.py and does not change the os.stat stuff.)
-
- 02 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 01 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 24 Eki, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
As the comments in the module implied, pyclbr was easily confused by "strange stuff" inside single- (but not triple-) quoted strings. It isn't anymore. Its behavior remains flaky in the presence of nested functions and classes, though. Bugfix candidate.
-
- 13 Agu, 2001 2 kayıt (commit)
-
-
Fred Drake yazdı
This is part of SF patch #440292.
-
Guido van Rossum yazdı
-
- 02 Agu, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 12 Şub, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 09 Şub, 2001 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Eric S. Raymond yazdı
-
- 15 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 04 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
*this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
-
- 16 Haz, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
confusing to end users of IDEs.
-
- 10 Haz, 1999 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Hammond: record top-level functions (as Function instances, a simple subclass of Class). You must use the new interface readmodule_ex() to get these, though.
-
- 09 Haz, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
__init__.py it isn't read. (Sjoerd just came up with this, so it's not heavily tested.) Other (yet unsolved) package problems noted by Sjoerd: - If you have a package and a module inside that or another package with the same name, module caching doesn't work properly since the key is the base name of the module/package. - The only entry that is returned when you readmodule a package is a __path__ whose value is a list which confuses certain class browsers that I wrote. (Hm, this could be construed as a feature.)
-
- 08 Haz, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
appreciably. Triple-quoted strings no longer confuse it, nor nested classes or defs, nor comments starting in column 1. Chews thru Tkinter.py in < 3 seconds for me; doctest.py no longer confuses it; no longer missing methods in PyShell.py; etc. Also captures defs starting in column 1 now, but ignores them; an interface should be added so that IDLE's class browser can show the top-level functions too.
-
- 07 Haz, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
It wasn't hard to speed pyclbr by a factor of 3, and I'll attach an experimental patch for that (experimental because barely tested). Uncomment the new "String" stuff and it will deal with strings correctly (pyclbr currently ignores the possibility), but that slows it down a lot. Still faster in the end than current pyclbr, but-- frankly --I'd rather have the dramatic speedup!
-
- 18 Şub, 1999 1 kayıt (commit)
-
-
Fred Drake yazdı
off. Make sure the path paramter to readmodule() is a list before adding it with sys.path, or the addition could fail.
-
- 13 Eki, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
statements now also stop at ';' (formerly they only stopped at '#').
-
- 12 Eki, 1998 2 kayıt (commit)
-
-
Guido van Rossum yazdı
from a.b import c import a . b
-
Guido van Rossum yazdı
-
- 24 Eki, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 10 Eki, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 02 Kas, 1995 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
-
- 28 Tem, 1995 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
method definitions. See __doc__ string for more information.
-