Raymond Hettinger
92f21b13ea
Document Jim Fulton's docttest extensions.
2003-07-11 22:32:18 +00:00
Jeremy Hylton
b6d2f3e07d
Don't include slash in search string; it's OS-specific.
2003-07-11 20:22:55 +00:00
Jeremy Hylton
fff093fa7f
The Unpickler forget about its find_class attribute.
2003-07-11 19:42:49 +00:00
Raymond Hettinger
fa6cce1fdd
Minor fixups and added sections for iterators and generators.
2003-07-11 18:58:11 +00:00
Jeremy Hylton
6d3e0186d6
Add whitespace.
2003-07-11 17:02:39 +00:00
Jeremy Hylton
8501466c7f
Change warnings to avoid importing re module during startup.
...
Add API function simplefilter() that does not create or install
regular expressions to match message or module. Extend the filters
data structure to store None as an alternative to re.compile("").
Move the _test() function to test_warnings and add some code to try
and avoid disturbing the global state of the warnings module.
2003-07-11 15:37:59 +00:00
Fred Drake
1e5fc55c4d
- fix typo
...
- there's a weird variable name here (zimpimport), but I'll leave that
for someone that's familiar with the ZIP import support
2003-07-11 15:01:02 +00:00
Andrew MacIntyre
a1e93e8dfc
patch #766650 - whichdb not identifying dbm DBs when dbm linked with gdbm
...
At this point, the problem appears particular to the OS/2 EMX port of
gdbm (which is at v1.7.3) - this combination produces a .pag file but
no .dir file.
A more sophisticated patch which checks magic numbers when dbm.library
indicates that dbm is linked to gdbm, and there is no .dir file, is
still attached to the above patch entry for reconsideration after 2.3
is released.
This checkin applies a workaround specific to the known failure case.
2003-07-11 12:16:48 +00:00
Just van Rossum
c4bf893952
[ 767645 ] correctly set the os.path.supports_unicode_filenames flag for OSX
2003-07-11 07:36:49 +00:00
Tim Peters
ef6573e529
__setitem__: Use integer division for computing # of blocks.
2003-07-11 04:09:55 +00:00
Tim Peters
663d1b61cb
Added a new randomized test.
2003-07-11 04:09:09 +00:00
Fred Drake
e7f343d0f1
normalize whitespace
2003-07-11 03:36:15 +00:00
Fred Drake
192b95bb6c
update the reference to the Apple Publications Style Guide
2003-07-11 03:34:17 +00:00
Raymond Hettinger
9de3c21865
SF #767592 : unittest docs don't suggest "unittest.main()"
...
Expanded docs to have a quick start example showing how
to create and run tests.
2003-07-10 22:14:41 +00:00
Skip Montanaro
d8d39a00c4
avoid testing for -Kthread or -pthread if the default build environment
...
supports pthreads
2003-07-10 20:44:10 +00:00
Fred Drake
7adcfad4c2
fix stupid typo
2003-07-10 17:04:45 +00:00
Kurt B. Kaiser
d02d305b64
SF Patch 763681
...
"Support IDLE Edit of .py/.pyw from idlelib"
2003-07-10 16:20:58 +00:00
Raymond Hettinger
8ccf4d751d
Missing markup.
2003-07-10 15:48:33 +00:00
Just van Rossum
ed8bfce002
Fixed a bug that's been there from the beginning but wasn't noticed
...
until now: the inheritance of default values was the wrong way around.
This caused app bundles to get a type of "BNDL" instead of "APPL".
Apparently this is not a problem until you try to drag your app to
the dock.
----------------------------------------------------------------------
2003-07-10 14:53:27 +00:00
Just van Rossum
87316ec962
don't optimize empty strings
2003-07-10 14:26:06 +00:00
Jeremy Hylton
aefae5570d
Fix wrong header name. The framework looks for auth_header.
2003-07-10 13:30:12 +00:00
Andrew MacIntyre
b0f5e5a70c
update OS/2 EMX port notes
2003-07-10 12:55:30 +00:00
Andrew MacIntyre
71d74e87cb
Extend the pwd & grp emulations to support accessing the pwd/grp
...
record tuple by name as well as index, to match the behaviour of
the pwd/grp extension modules for Unix. These emulation modules
now pass test_pwd & test_grp.
2003-07-10 12:52:54 +00:00
Andrew MacIntyre
28df64ac47
patch #764612 - find DB 4.1/4.0/3.x on FreeBSD and systems with similar
...
installation location policies.
2003-07-10 12:48:39 +00:00
Raymond Hettinger
931237e2e6
SF patch #768187 : replace apply(f, args, kwds) with f(*args, **kwds)
2003-07-09 18:48:24 +00:00
Neal Norwitz
a4d2b869b9
Add versionadded. Remove duplicate "to"
2003-07-09 12:41:55 +00:00
Gregory P. Smith
ad30fa03a4
fix to work on python <= 2.1
2003-07-09 05:33:14 +00:00
Gregory P. Smith
df35beed40
bugfix: proper import bsddb exists below
2003-07-09 05:29:24 +00:00
Mark Hammond
14350ab006
Fix [ 766669 ] Consistent GPF on exit
...
Use Py_AtExit instead of atexit so we are called during Py_Finalize()
rather than during DLL teardown.
2003-07-09 04:57:46 +00:00
Gregory P. Smith
455d46f0d9
bsddb 4.1.6:
...
* Extended DB & DBEnv set_get_returns_none functionality to take a
"level" instead of a boolean flag. The boolean 0 and 1 values still
have the same effect. A value of 2 extends the "return None instead
of raising an exception" behaviour to the DBCursor set methods.
This will become the default behaviour in pybsddb 4.2.
* Fixed a typo in DBCursor.join_item method that made it crash instead
of returning a value. Obviously nobody uses it. Wrote a test case
for join and join_item.
2003-07-09 04:45:59 +00:00
Kurt B. Kaiser
bea57c6c35
SF Bug 767794
...
"Break or continue outside loop causes crash"
2003-07-09 04:27:24 +00:00
Skip Montanaro
bd2de3a65b
typo
2003-07-08 21:17:25 +00:00
Tim Peters
e6f7f9a824
I "cvs admin -kb"'ed these files to close a bug report. Now they need
...
to have genuwine Windows line ends.
2003-07-08 20:53:38 +00:00
Kurt B. Kaiser
39c3bdc022
Adding "use warnings" to .../Doc/perl/python.perl raises
...
the Perl requirement to 5.6.0 or later.
2003-07-08 18:05:26 +00:00
Kurt B. Kaiser
0b1782f7c0
Document interrupt_main()
...
Remove obsolete reference to deprecated exit_thread() function
2003-07-08 17:07:20 +00:00
Neal Norwitz
dd3afa75b3
add missing '
2003-07-08 16:26:34 +00:00
Fred Drake
7898ccdd63
Improve compatibility with more versions of LaTeX2HTML and more LaTeX
...
markup. Not currently needed, but easier to save this now than to
have to figure it out when we do.
2003-07-08 15:57:52 +00:00
Fred Drake
9a5b6a6f08
- clean up table markup for readability
...
- don't use \constant for literals; it's for "defined" constants
- fix various consistency issues
2003-07-08 15:38:40 +00:00
Fred Drake
8120995b56
Update Tkinter3000 notes based on text from Fredrik Lundh.
2003-07-08 13:44:27 +00:00
Jeremy Hylton
121d34af19
Fix SF bug 764095: Don't use network in test_httplib.
2003-07-08 12:36:58 +00:00
Anthony Baxter
a6b7d3411f
Fixed a table that wasn't in a tableii block, and added a very simple
...
example to show how to log to a file.
2003-07-08 08:40:20 +00:00
Fred Drake
b5aa407196
Use Boolean values for the capturestderr flag.
2003-07-07 21:36:19 +00:00
Martin v. Löwis
70fedcd583
Use -fno-strict-aliasing if available. Fixes #766696 . Will backport to 2.2.
2003-07-07 21:26:19 +00:00
Fred Drake
dfda8d79ee
- explain about making Python scripts executable on Unix in more
...
detail
- fix minor markup nit
2003-07-07 21:00:29 +00:00
Gregory P. Smith
84261d2f13
Fix a typo/cut-n-paste error in DBCursor.join_item so that it doesn't
...
return a tuple. (this also implies that nobody uses this method; the
bug has been here for a long time)
2003-07-07 19:06:45 +00:00
Fred Drake
8851c62b81
removed trailing tabs in several places, including after the final
...
newline
2003-07-07 17:38:26 +00:00
Fred Drake
b93b3e790e
Error noted in email to python-docs: PyObject corresponds to
...
PyObject_HEAD, not PyObject_VAR_HEAD.
2003-07-07 17:20:40 +00:00
Jeremy Hylton
5ec79681d2
This file was moved to Lib/.
2003-07-07 16:09:24 +00:00
Jeremy Hylton
d7ce86dcab
Patch from Zooko to remove an experimental feature.
2003-07-07 16:08:47 +00:00
Neal Norwitz
7cb229df18
add versionadded for getcheckinterval
2003-07-07 14:11:53 +00:00