Martin v. Löwis
b71bcb6322
Patch #740301 : Add +s when linking shared libraries on HP-UX, use -L
...
for the library path.
2003-05-31 08:09:21 +00:00
Martin v. Löwis
19a5a710fc
Patch #744238 : Explain that different string types also may compare equal.
2003-05-31 08:05:49 +00:00
Martin v. Löwis
7472336444
Patch #744877 : Explain filter in terms of list comprehension. Remove
...
explanation of int in terms of string.atoi. Explain sum in terms of
reduce.
2003-05-31 08:02:38 +00:00
Martin v. Löwis
96ce805725
Modified Patch #745620 : build shared lib as ".so" for NetBSD.
2003-05-31 07:58:45 +00:00
Martin v. Löwis
3c120debef
Patch #744041 : Use only first two elements of address to support IPv6.
2003-05-31 07:55:43 +00:00
Raymond Hettinger
40174c358f
SF bug #733667 : kwargs handled incorrectly
...
The fast_function() inlining optimization only
applies when there are zero keyword arguments.
2003-05-31 07:04:16 +00:00
Neil Schemenauer
ca2a2f11d0
Don't use fast_next_opcode for JUMP_* opcodes. This fixes the problem
...
reported by Kurt B. Kaiser.
2003-05-30 23:59:44 +00:00
Tim Peters
98c20befa6
Updated Windows buildno for 2.2.3 final.
2003-05-30 15:23:21 +00:00
Kurt B. Kaiser
e394ef8b4a
Update for release
...
Modified Files:
CREDITS.txt INSTALL.txt LICENSE.txt aboutDialog.py setup.py
2003-05-30 02:42:02 +00:00
Greg Ward
84f8ecd072
Comment fix.
2003-05-29 23:44:44 +00:00
Jack Jansen
9f0c5754a6
- Get the database from a different place.
...
- Added support for multi-line descriptions. Doesn't look nice
yet in Package Manager.
2003-05-29 22:07:27 +00:00
Greg Ward
38c9266f42
Change _ssize() so it doesn't rely on sizeof(char) or sizeof(short):
...
8 bits is 1 byte, and that isn't about to change any time soon. (I hope!)
2003-05-29 21:55:41 +00:00
Greg Ward
d676906ab7
Completely change the interface to setparameters():
...
* it no longer takes ssize, which served no purpose apart from
scolding you if you got it wrong
* changed the order of the three remaining required arguments
to (format, channels, rate) to match the order in which they
must be set
* replaced the optional argument 'emulate' with 'strict': if strict
true, and the audio device does not accept the requested sampling
parameters, raise OSSAudioError
* return a tuple (format, channels, rate) reflecting the sampling
parameters that were actually set
Change the canonical name of ossaudiodev.error to
ossaudiodev.OSSAudioError (keep an alias for backwards compatibility).
Remove 'audio_types' list and 'n_audio_types' (no longer needed now that
setparameters() no longer has an 'ssize' argument to police).
2003-05-29 21:53:06 +00:00
Fred Drake
d691c42a38
Include both </tr> tags in the thead, not just the first.
2003-05-29 19:46:29 +00:00
Barry Warsaw
db6888b7df
_make_boundary(): Fix for SF bug #745478 , broken boundary calculation
...
in some locales. This code simplifies the boundary algorithm to use
randint() which is what we wanted anyway.
Bump package version to 2.5.3.
Backport candidate for Python 2.2.3
2003-05-29 19:39:33 +00:00
Guido van Rossum
65f8cedd4a
I saw errors from _fileobject.__del__ about missing self._sock. This
...
can happen if __init__ doesn't complete. Fix it by adding a
try/except to __del__.
2003-05-29 14:36:57 +00:00
Guido van Rossum
bb1861a996
Remove debug code from weakref_segfault().
2003-05-29 14:30:49 +00:00
Guido van Rossum
1987c6693b
Fix for SF 742911. We now clear the weakrefs *before* calling __del__
...
or emptying __dict__, just as we do for classic classes.
2003-05-29 14:29:23 +00:00
Guido van Rossum
aabe0b3e34
Add testcase for SF 742911.
2003-05-29 14:26:57 +00:00
Raymond Hettinger
b25a52aac0
Fix typo so that the test actually calls the tested function.
2003-05-29 07:20:29 +00:00
Raymond Hettinger
f0fa1c03a0
Test ability to handle various type of iterators.
2003-05-29 07:18:57 +00:00
Neal Norwitz
847207acff
SF bug #719367 , string exceptions are deprecated
...
Remove references to string based exceptions in the doc.
2003-05-29 02:17:23 +00:00
Neal Norwitz
d3d5768e5e
isdatadescriptor() was added recently.
2003-05-29 02:10:31 +00:00
Greg Ward
2748a4aa7e
Typo fix.
2003-05-29 01:41:51 +00:00
Greg Ward
fb1b5a164d
Rewrite the description of setparameters() so it actually reflects the
...
code (which has also been recently overhauled, so that it can be
documented without embarassment).
'error' has been renamed to 'OSSAudioError'.
Minor wordsmithing.
2003-05-29 01:39:32 +00:00
Greg Ward
29a1deff3a
Test script changed.
2003-05-29 01:29:28 +00:00
Greg Ward
4f12d4652d
Renamed test_errors() to test_setparameters() and completely rewrote it
...
to test the new setparameters() interface.
Modified play_sound_file() to print the elapsed time taken to play the
test sample (to the nearest 0.1 sec).
2003-05-29 01:27:39 +00:00
Greg Ward
080c110172
Order and number of arguments to setparameters() has changed.
...
Rename 'a' (the audio device) to 'dsp' everywhere.
2003-05-29 00:23:17 +00:00
Neal Norwitz
d1c5510b99
Fix SF #745055 , Memory leak in _tkinter.c/Tkapp_SplitList()
...
Also fix a memory leak in Tkapp_Split.
This needs to be backported. I'll leave it up to Barry whether this
is for 2.2.3 or 2.2.4.
2003-05-29 00:17:03 +00:00
Jack Jansen
20b15bbc56
Example database for Package Manager.
2003-05-28 18:57:52 +00:00
Jack Jansen
b789a060ee
- Added a scheme whereby pimp can update itself, by importing a module
...
pimp_update if it exists. Upped the version number to indicate this.
Fixes #731626 .
- Added -V (print version) and -u (specify database URL) options when run
as a command line tool.
2003-05-28 18:56:30 +00:00
Gregory P. Smith
dad58601a0
Remove the note about the BerkeleyDB license. Barry indicates that
...
sleepycat has told him that since python is OSS and berkeleydb is
being distributed with python for the bsddb library all is fine.
2003-05-28 16:20:03 +00:00
Raymond Hettinger
e509b2ad24
Add notes on use cases with paired accesses to the same key.
2003-05-28 14:10:46 +00:00
Raymond Hettinger
e8b0f0461b
* Beefed-up tests
...
* Allow tuple re-use
* Call tp_iternext directly
2003-05-28 14:05:34 +00:00
Jeremy Hylton
a95d3b78c8
Oops. License is still an appendix.
2003-05-28 12:12:55 +00:00
Jeremy Hylton
a8e71c13e9
Update dependencies.
2003-05-28 12:10:14 +00:00
Jeremy Hylton
2fb6124afd
Appendix was removed.
2003-05-28 12:04:38 +00:00
Jeremy Hylton
c428112d29
Rename lib__future__.tex to libfuture.tex and add link in lib.tex.
2003-05-28 11:57:52 +00:00
Jeremy Hylton
cf9c46719c
*** empty log message ***
2003-05-28 11:51:11 +00:00
Gregory P. Smith
bc6e94a0fa
Wrap the cursor functions with dbutils.DeadlockWrap to deal with the
...
expected DBLockDeadLockErrors.
2003-05-28 08:26:43 +00:00
Gregory P. Smith
5772513f0f
Include a link to the pybsddb web documentation for the modern object
...
oriented DbEnv & Db object BerkeleyDB interface.
Include a note about Sleepycat's BerkeleyDB license with regards to
distributing it within non-opensource applications and include a link
to their website for license details.
Document that 'r' is the default flag for the legacy bsddb btopen(),
hashopen(), and rnopen() functions. This is apparently different than the
dbm libraries in other languages according to Bug #732951 . Changing
the default from 'r' to 'c' would break backwards compatibility with
legacy bsddb applications; documenting the default should suffice.
2003-05-28 07:56:45 +00:00
Kurt B. Kaiser
62df044885
Added a config-main General option to delete sys.exitfunc. The default
...
is not to do that. VPython and student environment support.
M PyShell.py
M config-main.def
M run.py
2003-05-28 01:47:46 +00:00
Jack Jansen
f7c822073e
Alternate fix for #728744 : use OSA and Apple Help Indexing Tool's idleStatus
...
indicator to wait for the help indexing to finish.
2003-05-27 22:47:55 +00:00
Jack Jansen
4eb45e7804
Added functions CFObj_New and CFObj_Convert, general functions to convert
...
between CF objects and their Python representation. Fixes 734695.
2003-05-27 21:39:58 +00:00
Jeremy Hylton
893801efb6
Add more tests from RFC 2202.
2003-05-27 16:16:41 +00:00
Jack Jansen
31fa845c01
Added Help menu. Fixes #731635
2003-05-27 14:10:37 +00:00
Raymond Hettinger
68dcd34c0a
Fixup bare try/except.
2003-05-27 06:30:52 +00:00
Greg Ward
d0d592fd32
Oops, move the GIL release/reacquire from oss_sync() to _do_ioctl_0():
...
that way it applies to *only* the ioctl() call, and also happens for the
other blocking ioctls (POST, RESET).
2003-05-27 01:57:21 +00:00
Gustavo Niemeyer
7b4abbb2e2
modulefinder.py is not a freeze private module anymore.
2003-05-26 23:52:30 +00:00
Greg Ward
b804390ae3
Release the GIL in two more methods:
...
* sync(), because it waits for hardware buffers to flush, which
can take several seconds depending on cirumstances (according
to the OSS docs)
* close(), because it does an implicit sync()
2003-05-26 22:47:30 +00:00