- 24 Feb, 2003 6 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Neal Norwitz authored
This improves speed by about 5.6% for me.
-
Guido van Rossum authored
The problem is in sre_compile.py: the call to _compile_charset near the end of _compile_info forgets to pass in the flags, so that the info charset is not compiled with re.U. (The info charset is used when searching to find the first character at which a match could start; it is not generated for patterns beginning with a repeat like '\w{1}'.)
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 23 Feb, 2003 13 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
Need to make sure that preprocessor directives start in first column. This means we can't indent code which has preprocessor directives, nor have a space between [ #include for example.
-
Jack Jansen authored
packages can check that extension modules are built for the right type of python. Current values can be static, framework, shared and cfm (for completeness, for MacPyton-OS9). Closes bug #691889. The reporter suggests backporting this to 2.2.3 and I think I agree.
-
Neal Norwitz authored
-
Neal Norwitz authored
On a 64-bit machine, a dictionary could contain duplicate int/long keys if the value was > 2**32.
-
Jack Jansen authored
a serious slowdown when loading dynamic modules that depend on large shared libraries or frameworks.
-
Jack Jansen authored
-
Neal Norwitz authored
Don't bother testing os.getlogin() if we aren't running from a tty (terminal) It fails when run without a tty (e.g., when run from cron).
-
Neal Norwitz authored
-
Neal Norwitz authored
(patch provided by Greg Chapman)
-
Neal Norwitz authored
-
Neal Norwitz authored
Also use True/False instead of 1/0 for symlink flag.
-
Raymond Hettinger authored
Subsumed times() into repeat(). Added cycle() and chain().
-
- 22 Feb, 2003 1 commit
-
-
Michael W. Hudson authored
called to find tb_lineno -- even if Py_OptimizeFlag is true. So don't call it again when printing the traceback.
-
- 21 Feb, 2003 20 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Guido van Rossum authored
-
Jack Jansen authored
-
Guido van Rossum authored
This still falls back to helpers in copy_reg for: - pickle protocols < 2 - calculating the list of slot names (done only once per class) - the __newobj__ function (which is used as a token but never called)
-
Tim Peters authored
test_nonrecursive_deep(): Reduced nesting depth to 60. Not a bugfix candidate. 2.3 increased the number of stack frames needed to pickle a list (in order to get implement the "list batching" unpickling memory optimization new in 2.3).
-
Michael W. Hudson authored
seconds making the doc for get_completer marginally less minimal :)
-
Neal Norwitz authored
-
Walter Dörwald authored
is required for the chosen internal encoding in the init function, as this seems to have a better chance of working under Irix and Solaris. Also change the test character from '\x01' to '0'. This might fix SF bug #690309.
-
Tim Peters authored
on the boxes I use.
-
Jack Jansen authored
is a window manager and we can connect to it, i.e. if it is safe to try and put up windows. As a side effect the first call will make the current process frontmost.
-
Walter Dörwald authored
between str, unicode, UserString and the string module as possible. This increases code coverage in stringobject.c from 83% to 86% and should help keep the string classes in sync in the future. From SF patch #662807
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
time.sleep(1) sometimes delays for fractionally less than a second resulting in too short of an interval for C's time.time() function to create a distinct seed.
-
Neal Norwitz authored
-