- 21 Haz, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 18 Haz, 2002 3 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
In a fresh interpreter, type.mro(tuple) would segfault, because PyType_Ready() isn't called for tuple yet. To fix, call PyType_Ready(type) if type->tp_dict is NULL.
-
- 17 Haz, 2002 1 kayıt (commit)
-
-
http://www.python.org/sf/566999Walter Dörwald yazdı
This patch enhances Python/import.c/find_module() so that unicode objects found in sys.path will be treated as legal directory names (The current code ignores anything that is not a str). The unicode name is converted to str using Py_FileSystemDefaultEncoding.
-
- 14 Haz, 2002 4 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
These built-in functions are replaced by their (now callable) type: slice() buffer() and these types can also be called (but have no built-in named function named after them) classobj (type name used to be "class") code function instance instancemethod (type name used to be "instance method") The module "new" has been replaced with a small backward compatibility placeholder in Python. A large portion of the patch simply removes the new module from various platform-specific build recipes. The following binary Mac project files still have references to it: Mac/Build/PythonCore.mcp Mac/Build/PythonStandSmall.mcp Mac/Build/PythonStandalone.mcp [I've tweaked the code layout and the doc strings here and there, and added a comment to types.py about StringTypes vs. basestring. --Guido]
-
Skip Montanaro yazdı
library. Since multiple versions can be installed simultaneously, it's crucial that you only select libraries and header files which are compatible with each other. Version checking is done from highest version to lowest. Building using version 1 of Berkeley DB is disabled by default because of the hash file bugs people keep rediscovering. It can be enabled by uncommenting a few lines in setup.py. Closes patch 553108.
-
Neal Norwitz yazdı
Handle negative indices similar to slices.
-
- 13 Haz, 2002 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
string with a [::-1] slice.
-
- 12 Haz, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This was a simple typo. Strange that the compiler didn't catch it! Instead of WHY_CONTINUE, two tests used CONTINUE_LOOP, which isn't a why_code at all, but an opcode; but even though 'why' is declared as an enum, comparing it to an int is apparently not even worth a warning -- not in gcc, and not in VC++. :-( Will fix in 2.2 too.
-
- 11 Haz, 2002 2 kayıt (commit)
-
-
Michael W. Hudson yazdı
[ 400998 ] experimental support for extended slicing on lists somewhat spruced up and better tested than it was when I wrote it. Includes docs & tests. The whatsnew section needs expanding, and arrays should support extended slices -- later.
-
Martin v. Löwis yazdı
-
- 10 Haz, 2002 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
The WeakKeyDictionary constructor didn't work when a dict arg was given. Fixed by moving a line. Also adding a unit test. Bugfix candidate.
-
- 09 Haz, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 07 Haz, 2002 2 kayıt (commit)
-
-
Guido van Rossum yazdı
timeout socket patch design.
-
Guido van Rossum yazdı
-
- 06 Haz, 2002 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Martin v. Löwis yazdı
-
- 04 Haz, 2002 5 kayıt (commit)
-
-
Guido van Rossum yazdı
While I was at it, I added a tp_clear handler and changed the tp_dealloc handler to use the clear_slots helper for the tp_clear handler. Also tightened the rules for slot names: they must now be proper identifiers (ignoring the dirty little fact that <ctype.h> is locale sensitive). Also set mp->flags = READONLY for the __weakref__ pseudo-slot. Most of this is a 2.2 bugfix candidate; I'll apply it there myself.
-
Michael W. Hudson yazdı
-
Neal Norwitz yazdı
Make Tkinter.TclError derive from Exception, it was a string.
-
Walter Dörwald yazdı
BOM_UTF32, BOM_UTF32_LE and BOM_UTF32_BE that represent the Byte Order Mark in UTF-8, UTF-16 and UTF-32 encodings for little and big endian systems. The old names BOM32_* and BOM64_* were off by a factor of 2. This closes SF bug http://www.python.org/sf/555360
-
Guido van Rossum yazdı
Change the module constructor (module_init) to have the signature __init__(name:str, doc=None); this prevents the call from type_new() to succeed. While we're at it, prevent repeated calling of module_init for the same module from leaking the dict, changing the semantics so that __dict__ is only initialized if NULL. Also adding a unittest, test_module.py. This is an incompatibility with 2.2, if anybody was instantiating the module class before, their argument list was probably empty; so this can't be backported to 2.2.x.
-
- 31 May, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 30 May, 2002 3 kayıt (commit)
-
-
Fred Drake yazdı
-
Michael W. Hudson yazdı
Now we just need to make sure people know about it...
-
Guido van Rossum yazdı
-
- 29 May, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
-
- 27 May, 2002 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
[ 559250 ] more POSIX signal stuff Adds support (and docs and tests and autoconfery) for posix signal mask handling -- sigpending, sigprocmask and sigsuspend.
-
- 24 May, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
for 'str' and 'unicode', and can be used instead of types.StringTypes, e.g. to test whether something is "a string": isinstance(x, string) is True for Unicode and 8-bit strings. This is an abstract base class and cannot be instantiated directly.
-
- 23 May, 2002 2 kayıt (commit)
-
-
Tim Peters yazdı
"power" was formally ambiguous. Here's his fix.
-
Barry Warsaw yazdı
string with text in column zero. Skip that stuff when looking for the "first statement following the statement containing point".
-
- 21 May, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 20 May, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
-
- 16 May, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
for his service on the Python-Help maillist.
-
- 13 May, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 12 May, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
save-excursion so that when the function is complete, point is preserved.
-