- 05 Tem, 2001 5 kayıt (commit)
-
-
Guido van Rossum yazdı
fewer arguments.
-
Guido van Rossum yazdı
contains, tolist(), and the start/stop/step attributes. This includes removing the 4th ('repeat') argument to PyRange_New().
-
Just van Rossum yazdı
- make method reload handle __private attrs correctly - fixed whole word search
-
Just van Rossum yazdı
-
Tim Peters yazdı
Probable fix (the bug report doesn't have enough info to say for sure). find_init_module(): Insist on a case-sensitive match for __init__ files. Given __INIT__.PY instead, find_init_module() thought that was fine, but the later attempt to do find_module("__INIT__.PY") didn't and its caller silently suppressed the resulting ImportError. Now find_init_module() refuses to accept __INIT__.PY to begin with. Bugfix candidate; specific to platforms with case-insensitive filesystems.
-
- 04 Tem, 2001 12 kayıt (commit)
-
-
unknown yazdı
-
unknown yazdı
-
unknown yazdı
Return a reasonable name for the general macos exception (MacOS.Error).
-
unknown yazdı
solver. In conjunction, they easily found a tour of a 200x200 board: that's 200**2 == 40,000 levels of backtracking. Explicitly resumable generators allow that to be coded as easily as a recursive solver (easier, actually, because different levels can use level-customized algorithms without pain), but without blowing the stack. Indeed, I've never written an exhaustive Tour solver in any language before that can handle boards so large ("exhaustive" == guaranteed to find a solution if one exists, as opposed to probabilistic heuristic approaches; of course, the age of the universe may be a blip in the time needed!).
-
unknown yazdı
-
unknown yazdı
We should not depend on two spaces between words, so use the white space after the to-be-encoded word only as lookahead and don't actually consume it in the regular expression.
-
unknown yazdı
-
unknown yazdı
-
Fred Drake yazdı
getElementsByTagNameNS() consistent in form as well as functionality (cosmetic).
-
Fred Drake yazdı
This closes SF patch #419459.
-
Kurt B. Kaiser yazdı
-
Kurt B. Kaiser yazdı
-
- 03 Tem, 2001 3 kayıt (commit)
-
-
Fred Drake yazdı
path (with no profile/trace function) through eval_code2() and eval_frame() avoids several checks. In the common cases of calls, returns, and exception propogation, eval_code2() and eval_frame() used to test two values in the thread-state: the profiling function and the tracing function. With this change, a flag is set in the thread-state if either of these is active, allowing a single check to suffice when both are NULL. This also simplifies the code needed when either function is in use but is already active (to avoid profiling/tracing the profiler/tracer); the flag is set to 0 when the profile/trace code is entered, allowing the same check to suffice for "already in the tracer" for call/return/ exception events.
-
Fredrik Lundh yazdı
added copy/deepcopy support to SRE (still not enabled, since it's not covered by the test suite)
-
Fredrik Lundh yazdı
ch is unsigned, so testing for negative values doesn't make sense (as noticed by the OpenVMS compiler)
-
- 02 Tem, 2001 12 kayıt (commit)
-
-
Fred Drake yazdı
This closes SF bug #438032.
-
Fredrik Lundh yazdı
sure about this one, but test #133283 now works even with the fix in place, and so does the test suite. we'll see what comes up...
-
Fred Drake yazdı
-
Fredrik Lundh yazdı
-
Fredrik Lundh yazdı
speedups for certain unicode character ranges.
-
Fred Drake yazdı
to be presented in an unfamiliar case on case-preserving filesystems. This closes SF patch #436173.
-
Fredrik Lundh yazdı
-
Jack Jansen yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
tabnanny.py.
-
Tim Peters yazdı
-
Tim Peters yazdı
This is another one that leaks memory without an explict clear! Time to bite this bullet.
-
- 01 Tem, 2001 2 kayıt (commit)
-
-
Jack Jansen yazdı
Added WeakLink...Generator classes (should have done that ages ago). These check the c-function pointer for being NULL before calling it and raise UnimplementedError if it is. This allows system libs to be weak-linked, thereby allowing us to generate functions that are only available on some OS versions without getting a NULL dereference if the function isn't available.
-
Jack Jansen yazdı
- Convert CFString to/from Python strings. Currently always MacRoman, to be fixed later (as is unicode support). Python->CFString conversion is automatic.
-
- 30 Haz, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
and fiddle the conjoin tests to exercise all the new possible paths.
-
- 29 Haz, 2001 5 kayıt (commit)
-
-
Tim Peters yazdı
committed. tokenize.py: I like these changes, and have tested them extensively without even realizing it, so I just updated the docstring and the docs. tabnanny.py: Also liked this, but did a little code fiddling. I should really rewrite this to *exploit* generators, but that's near the bottom of my effort/benefit scale so doubt I'll get to it anytime soon (it would be most useful as a non-trivial example of ideal use of generators; but test_generators.py has already grown plenty of food-for-thought examples). inspect.py: I'm sure Ping intended for this to continue running even under 1.5.2, so I reverted this to the last pre-gen-branch version. The "bugfix" I checked in in-between was actually repairing a bug *introduced* by the conversion to generators, so it's OK that the reverted version doesn't reflect that checkin.
-
Fred Drake yazdı
example. It actually confused a reader.
-
Fred Drake yazdı
Reported by Milan Zamazal <pdm@zamazal.org>.
-
Fred Drake yazdı
consistency errors (mostly omitted "()" at the end of function and method names). Reported by Milan Zamazal <pdm@zamazal.org>.
-
Fred Drake yazdı
-