- 24 Mar, 2004 1 kayıt (commit)
-
-
Nicholas Bastin yazdı
-
- 20 Kas, 2003 1 kayıt (commit)
-
-
Jack Jansen yazdı
-
- 25 Eki, 2003 1 kayıt (commit)
-
-
Armin Rigo yazdı
-
- 12 Eki, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a)
-
- 15 Tem, 2003 1 kayıt (commit)
-
-
Mark Hammond yazdı
If the initial import of warnings fails, clear the error. When the module is actually needed, if the original import failed, see if it has managed to find its way to sys.modules yet and if so, remember it.
-
- 10 Nis, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
return. Setting an exception can mess with the exception state, and continuing is definitely wrong (since type is dereferenced later on). Some code that calls this seems to be prepared for a NULL exception type, so let's be safe rather than sorry and simply assume there's nothing to normalize in this case.
-
- 19 Şub, 2003 1 kayıt (commit)
-
-
Mark Hammond yazdı
-
- 11 Ara, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 04 Eki, 2002 2 kayıt (commit)
-
-
Mark Hammond yazdı
Ensure that even if FormatMessage fails we (a) don't crash, and (b) provide something useful. Bugfix candidate.
-
Mark Hammond yazdı
-
- 03 Eki, 2002 1 kayıt (commit)
-
-
Mark Hammond yazdı
-
- 29 Tem, 2002 1 kayıt (commit)
-
-
Thomas Heller yazdı
PyErr_SetExcFromWindowsErr(), PyErr_SetExcFromWindowsErrWithFilename(). Similar to PyErr_SetFromWindowsErrWithFilename() and PyErr_SetFromWindowsErr(), but they allow to specify the exception type to raise. Available on Windows. See SF patch #576458.
-
- 30 Haz, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
-
- 14 Nis, 2002 1 kayıt (commit)
-
-
Jack Jansen yazdı
Highlights: import and friends will understand any of \r, \n and \r\n as end of line. Python file input will do the same if you use mode 'U'. Everything can be disabled by configuring with --without-universal-newlines. See PEP278 for details.
-
- 09 Mar, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 03 Mar, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
- recognize "SyntaxError"s by the print_file_and_line attribute. - add the syntaxerror attributes to all exceptions in compile.c. Fixes #221791
-
- 02 Eki, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
Unknown whether this fixes it. - stringobject.c, PyString_FromFormatV: don't assume that va_list is of a type that can be copied via an initializer. - errors.c, PyErr_Format: add a va_end() to balance the va_start().
-
- 26 Eyl, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
If a new exception occurs while an exception instance is being created, try harder to make sure there is a traceback. If the original exception had a traceback associated with it and the new exception does not, keep the old exception. Of course, callers to PyErr_NormalizeException() must still be prepared to have tb set to NULL. XXX This isn't an ideal solution, but it's better than no traceback at all. It occurs if, for example, the exception occurs when the call to the constructor fails before any Python code is executed. Guido suggests that it there is Python code that was about to be executed -- but wasn't, say, because it was called with the wrong number of arguments -- then we should point at the first line of the code object anyway.
-
- 24 Agu, 2001 1 kayıt (commit)
-
-
Barry Warsaw yazdı
PyString_FromFormat() since it's much more generally useful than just for exceptions.
-
- 30 May, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
in release builds. Suggested by Martin v. Loewis. I'm half tempted to macroize PyErr_Occurred too, as the whole thing could collapse to just _PyThreadState_Current->curexc_type
-
- 06 Mar, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 28 Şub, 2001 2 kayıt (commit)
-
-
Guido van Rossum yazdı
explicit filename, lineno etc. arguments.
-
Jeremy Hylton yazdı
for errors raised in future.c. Move some helper functions from compile.c to errors.c and make them API functions: PyErr_SyntaxLocation() and PyErr_ProgramText().
-
- 15 Ara, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 24 Eki, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Changes to error messages to increase consistency & clarity. This (mostly) closes SourceForge patch #101839.
-
- 10 Eki, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
these computations are required for their side effects in traversing the variable arguments list. Reported by Marc-Andre Lemburg <mal@lemburg.com>.
-
- 01 Eyl, 2000 3 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
Jeremy Hylton yazdı
PyErr_Format computes size of buffer needed rather than relying on static buffer.
-
Jeremy Hylton yazdı
add sanity check to gc: if an exception occurs during GC, call PyErr_WriteUnraisable and then call Py_FatalEror.
-
- 24 Agu, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
filename and line number of the call site to allow esier debugging. This closes SourceForge patch #101214.
-
- 18 Agu, 2000 1 kayıt (commit)
-
-
Vladimir Marangozov yazdı
thus preserving the first one that has been raised.
-
- 07 Agu, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
an exception set. This shouldn't happen, but we see it at times...
-
- 22 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
declarations yet, those come later.
-
- 12 Tem, 2000 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 09 Tem, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 30 Haz, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 02 May, 2000 1 kayıt (commit)
-
-
Barry Warsaw yazdı
return 0 (exceptions don't match). This means that if an ImportError is raised because exceptions.py can't be imported, the interpreter will exit "cleanly" with an error message instead of just core dumping. PyErr_SetFromErrnoWithFilename(), PyErr_SetFromWindowsErrWithFilename(): Don't test on Py_UseClassExceptionsFlag.
-
- 02 Mar, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
in PyErr_SetFromWindowsErrWithFilename() like he intended to... :-)
-
- 21 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
enough, it could be negative. Add i > 0 test. (Not i >= 0; zero isn't a valid error number.)
-