| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Use Py_AtExit instead of atexit so we are called during Py_Finalize()
rather than during DLL teardown.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
"Break or continue outside loop causes crash"
|
| |
|
|
|
|
| |
to have genuwine Windows line ends.
|
|
|
|
| |
the Perl requirement to 5.6.0 or later.
|
|
|
|
| |
Remove obsolete reference to deprecated exit_thread() function
|
| |
|
|
|
|
|
| |
markup. Not currently needed, but easier to save this now than to
have to figure it out when we do.
|
|
|
|
|
| |
- don't use \constant for literals; it's for "defined" constants
- fix various consistency issues
|
| |
|
| |
|
|
|
|
| |
example to show how to log to a file.
|
| |
|
| |
|
|
|
|
|
| |
detail
- fix minor markup nit
|
|
|
|
|
| |
return a tuple. (this also implies that nobody uses this method; the
bug has been here for a long time)
|
|
|
|
| |
newline
|
|
|
|
| |
PyObject_HEAD, not PyObject_VAR_HEAD.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- added bundle_id/--bundle-id option, to specify the CFBundleIndentifier
#765615:
- in the appropriate situation, prepend $PATH with our path instead of
setting it.
|
|
|
|
| |
strings, non-standard naming of things in bundles, etc.
|
|
|
|
|
|
|
|
|
| |
- In the top level Makefile, the argument to -install_name should be
prepended with /System/Library/Frameworks/, so it is an absolute path.
- In the top level Makefile, because of 2), RUNSHARED needs to be set to
DYLD_FRAMEWORK_PATH=<path to local framework> and $(RUNSHARED) prepended
to the $(MAKE) lines in the frameworkinstallmaclib and
frameworkinstallapps targets.
|
| |
|
| |
|
|
|
|
| |
line also use this as the executable in the bundle.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
behavior, creating many threads very quickly. A long debugging session
revealed that the Windows implementation of PyThread_start_new_thread()
was choked with "laziness" errors:
1. It checked MS _beginthread() for a failure return, but when that
happened it returned heap trash as the function result, instead of
an id of -1 (the proper error-return value).
2. It didn't consider that the Win32 CreateSemaphore() can fail.
3. When creating a great many threads very quickly, it's quite possible
that any particular bootstrap call can take virtually any amount of
time to return. But the code waited for a maximum of 5 seconds, and
didn't check to see whether the semaphore it was waiting for got
signaled. If it in fact timed out, the function could again return
heap trash as the function result. This is actually what confused
the test program, as the heap trash usually turned out to be 0, and
then multiple threads all got id 0 simultaneously, confusing the
hell out of threading.py's _active dict (mapping id to thread
object). A variety of baffling behaviors followed from that.
WRT #1 and #2, error returns are checked now, and "thread.error: can't
start new thread" gets raised now if a new thread (or new semaphore)
can't be created. WRT #3, we now wait for the semaphore without a
timeout.
Also removed useless local vrbls, folded long lines, and changed callobj
to a stack auto (it was going thru malloc/free instead, for no discernible
reason).
Bugfix candidate.
|
| |
|
|
|
|
|
|
|
| |
time.tzname[1] and not time.daylight`` is true when it should only when
time.daylight is true. Tests are also fixed.
Closes bug #763047 and its cohort #763052.
|
|
|
|
|
| |
default application" but doesn't give a clue on how to do this. Refer to
Apple Help.
|
|
|
|
| |
by Skip.
|
|
|
|
| |
longer. Pointed out by Alex Martelli.
|
| |
|
|
|
|
|
|
| |
Use isinstance() instead of comparing types directly, to enable
subclasses of str and unicode to be used as patterns.
Blessed by /F.
|
|
|
|
|
| |
mode. Note that the only restriction on the csvfile passed to writer
objects is that it have a write method.
|
|
|
|
| |
Clarify parameter name.
|
| |
|
| |
|
|
|
|
| |
this in SF patch #732174.
|
| |
|
|
|
|
| |
elsewhere (lines between columns).
|
|
|
|
|
|
|
|
| |
(which is not to say it's right), so re-enable it.
Documenting Python and Installing Python Modules still have problems
when converting to GNU info, so we'll continue to leave them out for
now.
|
|
|
|
| |
Some of this is still pretty iffy.
|