- 05 Eki, 2001 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 04 Eki, 2001 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Greg Ward yazdı
to make the SGI C compiler happier (bug #445960).
-
- 01 Eki, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
Patch from Steve Scott to add SIGBREAK support (unique to Windows).
-
- 30 Eyl, 2001 3 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
Decode and encode underscores for header style encoding. Fixes bug #463996.
-
Tim Peters yazdı
Generalize PyLong_AsLongLong to accept int arguments too. The real point is so that PyArg_ParseTuple's 'L' code does too. That code was undocumented (AFAICT), so documented it.
-
- 28 Eyl, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
#424002. Refactor init_path_from_argv0() and rename to copy_absolute(); add absolutize() which does the same in-place. Clean up whitespace (leading tabs -> spaces, delete trailing spaces/tabs).
-
- 26 Eyl, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
Add raise_exception() to the _testcapi module. It isn't a test, but the C API exists only to support test_exceptions. raise_exception() takes two arguments -- an exception class and an integer specifying how many arguments it should be called with. test_exceptions uses BadException() to test the interpreter's behavior when there is a problem instantiating the exception. test_capi1() calls it with too many arguments. test_capi2() causes an exception to be raised in the Python code of the constructor.
-
- 25 Eyl, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Also did some whitespace normalization.
-
- 24 Eyl, 2001 2 kayıt (commit)
-
-
Marc-André Lemburg yazdı
input to .write() too.
-
Martin v. Löwis yazdı
-
- 23 Eyl, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 22 Eyl, 2001 1 kayıt (commit)
-
-
Barry Warsaw yazdı
cStringIO's can participate in the iterator protocol. Fill the Itype.tp_iter slot with I_getiter()
-
- 20 Eyl, 2001 4 kayıt (commit)
-
-
Guido van Rossum yazdı
no backwards compatibility to worry about, so I just pushed the 'closure' struct member to the back -- it's never used in the current code base (I may eliminate it, but that's more work because the getter and setter signatures would have to change.) As examples, I added actual docstrings to the getset attributes of a few types: file.closed, xxsubtype.spamdict.state.
-
Guido van Rossum yazdı
compatibility, this required all places where an array of "struct memberlist" structures was declared that is referenced from a type's tp_members slot to change the type of the structure to PyMemberDef; "struct memberlist" is now only used by old code that still calls PyMember_Get/Set. The code in PyObject_GenericGetAttr/SetAttr now calls the new APIs PyMember_GetOne/SetOne, which take a PyMemberDef argument. As examples, I added actual docstrings to the attributes of a few types: file, complex, instance method, super, and xxsubtype.spamlist. Also converted the symtable to new style getattr.
-
Guido van Rossum yazdı
char *.
-
Marc-André Lemburg yazdı
-
- 19 Eyl, 2001 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 18 Eyl, 2001 2 kayıt (commit)
-
-
Fredrik Lundh yazdı
\g<x> group reference followed by a character escape (also restructured a few things on the way to fixing #449000)
-
Fredrik Lundh yazdı
#462270: sub-tle difference between pre.sub and sre.sub. PRE ignored an empty match at the previous location, SRE didn't. also synced with Secret Labs "sreopen" codebase.
-
- 17 Eyl, 2001 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
module on the Cygwin platform.
-
- 15 Eyl, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
and count exceed 255. Changed to preserve as much of the string as possible (instead of count%256 characters).
-
- 08 Eyl, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 07 Eyl, 2001 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
the module in multiple threads with a global lock.
-
Martin v. Löwis yazdı
-
- 06 Eyl, 2001 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
instead.
-
Tim Peters yazdı
Curious: the MS docs say stati64 etc are supported even on Win95, but Win95 doesn't support a filesystem that allows partitions > 2 Gb. test_largefile: This was opening its test file in text mode. I have no idea how that worked under Win64, but it sure needs binary mode on Win98. BTW, on Win98 test_largefile runs quickly (under a second).
-
- 05 Eyl, 2001 5 kayıt (commit)
-
-
Tim Peters yazdı
requires that errno ever get set, and it looks like glibc is already playing that game. New rules: + Never use HUGE_VAL. Use the new Py_HUGE_VAL instead. + Never believe errno. If overflow is the only thing you're interested in, use the new Py_OVERFLOWED(x) macro. If you're interested in any libm errors, use the new Py_SET_ERANGE_IF_OVERFLOW(x) macro, which attempts to set errno the way C89 said it worked. Unfortunately, none of these are reliable, but they work on Windows and I *expect* under glibc too.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
SCO_ATAN2_BUG, SCO_ACCEPT_BUG, and STRICT_SYSV_CURSES. Work aroudn a bug in the SCO UnixWare atan2() implementation.
-
Tim Peters yazdı
minimizes roundoff error.
-
Tim Peters yazdı
getting Infs, NaNs, or nonsense in 2.1 and before; in yesterday's CVS we were getting OverflowError; but these functions always make good sense for positive arguments, no matter how large).
-
- 04 Eyl, 2001 4 kayıt (commit)
-
-
Tim Peters yazdı
Repaired the ldexp docstring (said the name of the func was "ldexp_doc").
-
Andrew M. Kuchling yazdı
have used the attribute argument provided as a parameter
-
Guido van Rossum yazdı
division, and this makes sense. Add -Qwarnall to warn for all classic divisions, as required by the fixdiv.py tool.
-
Guido van Rossum yazdı
-
- 31 Agu, 2001 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
PEP 238. Changes: - add a new flag variable Py_DivisionWarningFlag, declared in pydebug.h, defined in object.c, set in main.c, and used in {int,long,float,complex}object.c. When this flag is set, the classic division operator issues a DeprecationWarning message. - add a new API PyRun_SimpleStringFlags() to match PyRun_SimpleString(). The main() function calls this so that commands run with -c can also benefit from -Dnew. - While I was at it, I changed the usage message in main() somewhat: alphabetized the options, split it in *four* parts to fit in under 512 bytes (not that I still believe this is necessary -- doc strings elsewhere are much longer), and perhaps most visibly, don't display the full list of options on each command line error. Instead, the full list is only displayed when -h is used, and otherwise a brief reminder of -h is displayed. When -h is used, write to stdout so that you can do `python -h | more'. Notes: - I don't want to use the -W option to control whether the classic division warning is issued or not, because the machinery to decide whether to display the warning or not is very expensive (it involves calling into the warnings.py module). You can use -Werror to turn the warnings into exceptions though. - The -Dnew option doesn't select future division for all of the program -- only for the __main__ module. I don't know if I'll ever change this -- it would require changes to the .pyc file magic number to do it right, and a more global notion of compiler flags. - You can usefully combine -Dwarn and -Dnew: this gives the __main__ module new division, and warns about classic division everywhere else.
-