summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix SF bug #766288, property() example gives syntax errorNeal Norwitz2003-07-051-1/+1
|
* #765903:Just van Rossum2003-07-041-5/+22
| | | | | | | - added bundle_id/--bundle-id option, to specify the CFBundleIndentifier #765615: - in the appropriate situation, prepend $PATH with our path instead of setting it.
* Fixed lots of minor issues found by Edward Moy: incorrect versionJack Jansen2003-07-047-22/+26
| | | | strings, non-standard naming of things in bundles, etc.
* Fixed two bugs in MacOSX framework handling spotted by Edward Moy:Jack Jansen2003-07-043-10/+10
| | | | | | | | | - 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.
* Added missing newline at end of file.Jack Jansen2003-07-041-1/+2
|
* Files used for 2.3b2 macpython binary distribution.Jack Jansen2003-07-042-3/+4
|
* If a --python option is used to specify the Python to use in the #!Jack Jansen2003-07-041-1/+4
| | | | line also use this as the executable in the bundle.
* An Anonymous Coward on c.l.py posted a little program with bizarreTim Peters2003-07-042-23/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Moved two sentences around to make them clearer.Jack Jansen2003-07-031-4/+5
|
* Fixes bug of timezone value being left as -1 when ``time.tzname[0] ==Brett Cannon2003-07-032-7/+8
| | | | | | | 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.
* Skip noticed that the document talks about "setting PythonLauncher as theJack Jansen2003-07-021-3/+5
| | | | | default application" but doesn't give a clue on how to do this. Refer to Apple Help.
* Tooltip for tab/space consistency check was the wrong way around. SpottedJack Jansen2003-07-023-6/+2
| | | | by Skip.
* Correct documentation of check interval - it's 100 by default, not 10 anySkip Montanaro2003-07-023-4/+4
| | | | longer. Pointed out by Alex Martelli.
* Addendum to #764548: restore 2.1 compatibility.Just van Rossum2003-07-022-3/+9
|
* Fix and test for bug #764548:Just van Rossum2003-07-023-7/+17
| | | | | | Use isinstance() instead of comparing types directly, to enable subclasses of str and unicode to be used as patterns. Blessed by /F.
* Note that csv files (when they are actual files) must be opened in 'b'inarySkip Montanaro2003-07-021-4/+9
| | | | | mode. Note that the only restriction on the csvfile passed to writer objects is that it have a write method.
* SF bug #764616: execfile(filename,...) not execfile(file,...)Raymond Hettinger2003-07-021-1/+1
| | | | Clarify parameter name.
* Grammar nit. SF bug #757822Raymond Hettinger2003-07-021-1/+1
|
* Revert the previous change; this is now dealt with in a better way.Fred Drake2003-07-021-0/+54
|
* There's a better way to deal with the "comment" environment; I foundFred Drake2003-07-021-0/+1
| | | | this in SF patch #732174.
* fixed typo in commentJust van Rossum2003-07-021-1/+1
|
* Make the "install schema" tables follow the same table style we useFred Drake2003-07-021-1/+1
| | | | elsewhere (lines between columns).
* The Macintosh Modules Reference now formats to GNU info without errorsFred Drake2003-07-021-2/+2
| | | | | | | | (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.
* Fill out the set of macros and environments supported somewhat.Fred Drake2003-07-021-0/+10
| | | | Some of this is still pretty iffy.
* On those systems lacking the AFMT_S16_NE symbol, the test was failingAndrew MacIntyre2003-07-021-1/+1
| | | | | | | 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.
* FreeBSD 5.x has moved some library routines and typedefs outside theAndrew MacIntyre2003-07-023-3/+20
| | | | | | | | | | | | | | | 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.
* The datetime C API really isn't usable outside the datetime moduleFred Drake2003-07-021-54/+0
| | | | | implementation, so remove this decoy (it break formatting of the GNU info version of the docs).
* Fix a variety of small markup nits.Fred Drake2003-07-026-20/+21
|
* Moved the IDE tutorial to a directory with a shorter name. The longJack Jansen2003-07-0215-3/+3
| | | | name was giving problems with some tar implementations.
* SF #764121, docstring for spawnlp incorrectNeal Norwitz2003-07-021-1/+1
|
* Fix SF bug #763637, 2.3b2 unpack tuple of wrong size in after_cancelNeal Norwitz2003-07-012-2/+7
| | | | | Tk 8.4 may return different values than 8.3. This fix should handle either version.
* - added (c)StringIO tests; cStringIO usage failed in the previousJust van Rossum2003-07-011-0/+16
| | | | version of plistlib.py (r1.2)
* - replaced a couple of asserts with proper exceptionsJust van Rossum2003-07-011-4/+5
| | | | - use isinstance instead of flaky file-detection code
* Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macrosNeal Norwitz2003-07-014-5/+5
|
* Make the classes exposed by threading.py new-style classes. This isTim Peters2003-07-012-3/+10
| | | | mostly for convenience and to aid debugging.
* Resolved minor XXX question in the obvious way.Tim Peters2003-07-011-1/+1
|
* - note that super() only applies to new-style classes;Fred Drake2003-07-011-2/+4
| | | | | closes SF bug #764003 - fix markup for consistency
* normalize markup for consistencyFred Drake2003-07-011-15/+16
|
* Remove carriage returnsNeal Norwitz2003-07-010-0/+0
|
* Fix SF bug #763023, difflib.py: ratio() zero division not caughtNeal Norwitz2003-07-013-3/+23
| | | | Backport candidate
* connector(): You can't use an empty string as an argument to connect()Tim Peters2003-07-011-1/+1
| | | | on Windows.
* showwarning() calls formatwarning(), not showwarning().Tim Peters2003-07-011-1/+1
| | | | Bugfix candidate.
* Fix SF bug #763770, test_socket_ssl crashNeal Norwitz2003-07-011-2/+2
| | | | Don't run any tests if there is no ssl support.
* Improve the wording a bitRaymond Hettinger2003-07-011-1/+1
|
* Fix spelling, grammar, usage, and markup.Raymond Hettinger2003-07-011-2/+3
|
* SF #751062: Tutorial: remove string exceptions, add parnassus, #postsRaymond Hettinger2003-07-011-8/+9
| | | | | | | | (Contributed by Gerritt Holl) * Remove the last mentions of string exceptions * Reference a third-party repository of programs * Minor clarification of comp.lang.py posting volumes
* Test Brett's addition of __all__ to Queue.Raymond Hettinger2003-07-011-0/+1
|
* Add __all__ .Brett Cannon2003-07-011-0/+2
|
* Make temporary change of using _strptime for time.strptime permanent.Brett Cannon2003-07-013-49/+15
| | | | Flesh out docs to better explain time.strptime (closes bug #697990).
* SF bug 753592, websucker bugNeal Norwitz2003-07-012-1/+3
| | | | | Pass the proper variable when the user supplies a directory. Will backport.