- 02 Agu, 2002 6 kayıt (commit)
-
-
Jack Jansen yazdı
one .app nowadays) and fixed it to work.
-
Jack Jansen yazdı
during startup of a program. This module will replace the C code in macgetargv.c so we can get rid of the special macmain.c for OSX Python.app.
-
Jack Jansen yazdı
-
Tim Peters yazdı
at random, and replaces the elements at those positions with new random values. I was pleasantly surprised by how fast this goes! It's hard to conceive of an algorithm that could special-case for this effectively. Plus it's exactly what happens if a burst of gamma rays corrupts your sorted database on disk <wink>. i 2**i *sort ... %sort 15 32768 0.18 ... 0.03 16 65536 0.24 ... 0.04 17 131072 0.53 ... 0.08 18 262144 1.17 ... 0.16 19 524288 2.56 ... 0.35 20 1048576 5.54 ... 0.77
-
Mark Hammond yazdı
for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
-
Skip Montanaro yazdı
and age of rampant computer breakins I imagine there are plenty of systems with telnet disabled. Successful check of at least one getservbyname() call is required for success
-
- 01 Agu, 2002 12 kayıt (commit)
-
-
Jack Jansen yazdı
us to completely decouple the framework from the executable, so we can use a two-level namespace. - Do framework builds with a twolevel namespace. - Reorganized the code that creates the minimal framework in the build directory, to make it more robust against incomplete frameworks (from earlier aborted builds, or builds of previous Python versions).
-
Jack Jansen yazdı
be invoked by PythonLauncher when needed. Also changed the names of various variables in the Makefile to match what the main Makefile has.
-
Jack Jansen yazdı
PythonLauncher.app has taken that responsibility over.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
longer to run than normal. A profiler run showed that this was due to PyFrame_New() taking up an unreasonable amount of time. A little thinking showed that this was due to the while loop clearing the space available for the stack. The solution is to only clear the local variables (and cells and free variables), not the space available for the stack, since anything beyond the stack top is considered to be garbage anyway. Also, use memset() instead of a while loop counting backwards. This should be a time savings for normal code too! (By a probably unmeasurable amount. :-)
-
Jack Jansen yazdı
dragging or double-clicking the script.
-
Guido van Rossum yazdı
The __delete__ method wrapper for descriptors was not supported (I added a test, too.) 2.2 bugfix candidate.
-
Tim Peters yazdı
using sort() with comparison functions (it made reference to the non- existent "builtin-in function sort()"). BTW, I changed list.sort's docstring to contain the word "stable" -- the easiest way to tell whether a particular Python version's sort *is* stable is to look for "stable" in the docstring. I'm not sure whether to advertise this <wink>.
-
Tim Peters yazdı
-
Tim Peters yazdı
in the stability tests. Bizarre: this takes 11x longer to run if and only if test_longexp is run before it, on my box. The bigger REPS is in test_longexp, the slower this gets. What happens on your box? It's not gc on my box (which is good, because gc isn't a plausible candidate here). The slowdown is massive in the parts of test_sort that implicitly invoke a new-style class's __lt__ or __cmp__ methods. If I boost REPS large enough in test_longexp, even the test_sort tests on an array of size 64 visibly c-r-a-w-l. The relative slowdown is even worse in a debug build. And if I reduce REPS in test_longexp, the slowdown in test_sort goes away. test_longexp does do horrid things to Win98's management of user address space, but I thought I had made that a whole lot better a month or so ago (by overallocating aggressively in the parser).
-
Tim Peters yazdı
-
Tim Peters yazdı
stuff into code comments, and lots of it is going to be useful again (but hard to predict exactly which parts of it ...).
-
- 31 Tem, 2002 11 kayıt (commit)
-
-
Tim Peters yazdı
arguments correctly too.
-
Tim Peters yazdı
+ Don't change the arglist requirements. + Give the wrapper the same docstring as _socket.socket (it didn't have any docstring).
-
Tim Peters yazdı
1.6, and pierslauder didn't respond to email about it on Monday.
-
Guido van Rossum yazdı
thinking that he was running his new test by running "make test". Also, I can't get this to fail any more. Your turn. :-)
-
Jeremy Hylton yazdı
If the long is large enough, the return value will be a negative int. In this case, calling the function a second time won't return the original value passed in.
-
Jack Jansen yazdı
- Build PythonLauncher.app and PythonIDE.app as well as Python.app.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
optimal, especially if Terminal wasn't running yet, but it works.
-
Michael W. Hudson yazdı
[ 561724 ] README additions for Cray T3E Lightly edited by me.
-
Michael W. Hudson yazdı
-
Mark Hammond yazdı
-
- 30 Tem, 2002 11 kayıt (commit)
-
-
Barry Warsaw yazdı
imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
pass -DHAVE_CONFIG_H to CC, and that symbol isn't used any more.
-
Fred Drake yazdı
The "Matching vs. Searching" Info node is unreachable from the Info program (but is fine in Emacs's Info mode). This patch seems to fix it. This is the only occurrence where the info reader fails, so probably it could be addressed in the python docs as a workaround. Forwarded the report to the info maintainer.
-
Michael W. Hudson yazdı
Clarify LLTRACE description. It was introduced in 1992, revision 2.20 of ceval.c, well before Python 1.0!
-
Neal Norwitz yazdı
Revert changes to use PyArg_Parse(), so any sequence will continue to work -- Spotted by Just van Rossum
-
Thomas Heller yazdı
-
Thomas Heller yazdı
See there for a description. Added test case. Bugfix candidate for 2.2.x, not sure about previous versions: probably low priority, because virtually no one runs debug builds.
-
Michael W. Hudson yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-