Fred Drake
355b98a9ba
Do not mask the name of a built-in function in example code.
...
Based on comment sent to python-docs.
2002-01-05 04:04:56 +00:00
Ka-Ping Yee
c608fb6389
Give a slightly better explanation of excepthook.
2001-03-23 05:17:41 +00:00
Ka-Ping Yee
b5c5132d1a
Add sys.excepthook.
...
Update docstring and library reference section on 'sys' module.
New API PyErr_Display, just for displaying errors, called by excepthook.
Uncaught exceptions now call sys.excepthook; if that fails, we fall back
to calling PyErr_Display directly.
Also comes with sys.__excepthook__ and sys.__displayhook__.
2001-03-23 02:46:52 +00:00
Moshe Zadka
f68f2fec7d
Implementation of PEP-0217.
...
This closes the PEP, and patch 103170
2001-01-11 05:41:27 +00:00
Barry Warsaw
b6a54d2a2c
_getframe(): New sys module function for getting at the stack frame.
...
Implements and closes SF patch #102106 , with Guido's suggested
documentation changes.
2000-12-06 21:47:46 +00:00
Fred Drake
8940fafabd
Additions from Marc-Andre Lemburg <mal@lemburg.com>, documenting
...
getdefaultencoding() and setdefaultencoding().
2000-10-25 21:02:55 +00:00
Fred Drake
65faf118b6
Fix markup error and minor consistency nit.
2000-08-31 19:35:56 +00:00
Jeremy Hylton
ee5adfbae6
add user-modifiable recursion_limit
...
ceval.c:
define recurion_limit (static), default value is 2500
define Py_GetRecursionLimit and Py_SetRecursionLimit
raise RuntimeError if limit is exceeded
PC/config.h:
remove plat-specific definition
sysmodule.c:
add sys.(get|set)recursionlimit
2000-08-31 19:23:01 +00:00
Fred Drake
a2b6ad6e27
Guido pointed out that all names in the sys module have no underscore,
2000-08-15 04:24:43 +00:00
Fred Drake
68e2915fc7
Document the byte_order value in the sys module.
2000-08-14 15:47:30 +00:00
Fred Drake
30f76ffd00
Update version numbering from 1.6 to 2.0.
2000-06-30 16:06:19 +00:00
Fred Drake
c19425d520
Added the atexit module and documentation from Skip Montanaro
...
<skip@mojam.com >. Revisions to the markup to make it pass LaTeX, added
an index entry and a reference from the sys.exitfunc documentation.
This closes SourceForge patch #100620 .
2000-06-28 15:07:31 +00:00
Fred Drake
9cf7587fdc
Update change to version_info structure.
2000-04-13 17:51:58 +00:00
Fred Drake
4d65d73686
Document hexversion (incompletely explained) and version_info (easily
...
explained).
2000-04-13 16:54:17 +00:00
Fred Drake
ee775a194c
Make use of \longprogramopt where appropriate.
2000-04-11 19:46:40 +00:00
Fred Drake
38e5d27cae
Merged changes from the 1.5.2p2 release.
...
(Very rough.)
2000-04-03 20:13:55 +00:00
Fred Drake
268df27c9a
Use the new markup as apporpriate.
1999-11-09 19:45:59 +00:00
Fred Drake
ffbe68723a
Make internal module references hyperlinks wherever it makes sense.
1999-04-22 21:23:22 +00:00
Guido van Rossum
5fc9c869dd
SIGTERM is no longer caught to call sys.exitfunc.
...
This change was made long ago but the documentation was never updated.
1999-03-25 20:30:00 +00:00
Guido van Rossum
04307ce789
Rewrote the section on sys.exit(), documenting other argument types
...
than integers and recommending sys.exit("message").
(I see this as Python's answer to Perls ``die "message";''.)
1998-11-23 17:49:53 +00:00
Fred Drake
295da24eaf
New section header style.
...
Fix up a few synopses.
1998-08-10 19:42:37 +00:00
Fred Drake
b91e934cf1
Adjusted to use the new module synopsis support macros.
1998-07-23 17:59:49 +00:00
Guido van Rossum
3e5fe422cc
Document several variables that were previously undocumented,
...
including the new __stdin__, __stdout__ and __stderr__.
Also moved setttrace around to its proper place in the alphabet.
1998-06-10 17:57:44 +00:00
Fred Drake
3a0351cf85
Remove all uses of \sectcode; we can now use logical markup everywhere.
1998-04-04 07:23:21 +00:00
Fred Drake
82143348aa
Remove obsolete \setindexsubitem macro.
1998-04-04 06:28:14 +00:00