- 07 Jul, 2003 6 commits
-
-
Gregory P. Smith authored
return a tuple. (this also implies that nobody uses this method; the bug has been here for a long time)
-
Fred Drake authored
newline
-
Fred Drake authored
PyObject_HEAD, not PyObject_VAR_HEAD.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Neal Norwitz authored
-
- 06 Jul, 2003 2 commits
-
-
Tim Peters authored
-
Martin v. Löwis authored
-
- 05 Jul, 2003 1 commit
-
-
Neal Norwitz authored
-
- 04 Jul, 2003 7 commits
-
-
Just van Rossum authored
- added bundle_id/--bundle-id option, to specify the CFBundleIndentifier #765615: - in the appropriate situation, prepend $PATH with our path instead of setting it.
-
Jack Jansen authored
strings, non-standard naming of things in bundles, etc.
-
Jack Jansen authored
- 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.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
line also use this as the executable in the bundle.
-
Tim Peters authored
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.
-
- 03 Jul, 2003 2 commits
-
-
Jack Jansen authored
-
Brett Cannon authored
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.
-
- 02 Jul, 2003 20 commits
-
-
Jack Jansen authored
default application" but doesn't give a clue on how to do this. Refer to Apple Help.
-
Jack Jansen authored
by Skip.
-
Skip Montanaro authored
longer. Pointed out by Alex Martelli.
-
Just van Rossum authored
-
Just van Rossum authored
Use isinstance() instead of comparing types directly, to enable subclasses of str and unicode to be used as patterns. Blessed by /F.
-
Skip Montanaro authored
mode. Note that the only restriction on the csvfile passed to writer objects is that it have a write method.
-
Raymond Hettinger authored
Clarify parameter name.
-
Raymond Hettinger authored
-
Fred Drake authored
-
Fred Drake authored
this in SF patch #732174.
-
Just van Rossum authored
-
Fred Drake authored
elsewhere (lines between columns).
-
Fred Drake authored
(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.
-
Fred Drake authored
Some of this is still pretty iffy.
-
Andrew MacIntyre authored
because it was still looking in the ossaudiodev module namespace for this symbol. As the symbol has already been rebound as a global, use that instead.
-
Andrew MacIntyre authored
scope of the _XOPEN_SOURCE and _POSIX_C_SOURCE symbols, including: - getloadavg() - typedefs for u_int, u_long, u_char, u_short, ushort & uint These are now all defined under the control of a __BSD_VISIBLE symbol. The lack of the typedefs causes several extension modules to build incorrectly or not at all, and is the cause of failures reported for test_socket and test_tempfile on this platform (see python-dev: 29/6/03, pieterb@gewis.nl, "Running tests on freebsd5") This change does not appear to be needed in the 2.2 branch.
-
Fred Drake authored
implementation, so remove this decoy (it break formatting of the GNU info version of the docs).
-
Fred Drake authored
-
Jack Jansen authored
name was giving problems with some tar implementations.
-
Neal Norwitz authored
-
- 01 Jul, 2003 2 commits
-
-
Neal Norwitz authored
Tk 8.4 may return different values than 8.3. This fix should handle either version.
-
Just van Rossum authored
version of plistlib.py (r1.2)
-