]>
granicus.if.org Git - python/log
Barry Warsaw [Sun, 27 Jan 2002 06:48:02 +0000 (06:48 +0000)]
_parsebody(): When adding subparts to a multipart container, make sure
that the first subpart added makes the payload a list object.
Otherwise, a multipart/* with only one subpart will not have the
proper structure.
Martin v. Löwis [Sat, 26 Jan 2002 20:21:50 +0000 (20:21 +0000)]
Encode Unicode arguments to split/splitlist as UTF-8. Fixes #507962.
2.2.1 bugfix candidate.
Martin v. Löwis [Sat, 26 Jan 2002 20:11:50 +0000 (20:11 +0000)]
Document that get_referrers can return unreachable but uncollected objects.
Fixes #505453.
Martin v. Löwis [Sat, 26 Jan 2002 20:03:48 +0000 (20:03 +0000)]
Test for error status of shl_findsym. Fixes #505417. 2.2.1 candiate.
Tim Peters [Sat, 26 Jan 2002 17:58:02 +0000 (17:58 +0000)]
Removed an XXX question (the answer is "yes" <wink>).
Jack Jansen [Fri, 25 Jan 2002 16:13:38 +0000 (16:13 +0000)]
Added contributors.
Jack Jansen [Fri, 25 Jan 2002 15:28:39 +0000 (15:28 +0000)]
Some modifications and clarifications (by me) to Michael's mods.
Jack Jansen [Fri, 25 Jan 2002 15:06:19 +0000 (15:06 +0000)]
Rewritten, clarified, corrected and cleaned up by Michael J. Barber.
Jack Jansen [Thu, 24 Jan 2002 22:44:07 +0000 (22:44 +0000)]
Get rid of keyword list and use keyword.iskeyword() function (which I wasn't aware of previously).
Fred Drake [Thu, 24 Jan 2002 16:38:53 +0000 (16:38 +0000)]
Add keyword.kwlist to the public API.
Fred Drake [Thu, 24 Jan 2002 16:38:08 +0000 (16:38 +0000)]
libkeyword.tex was missing from the list of dependencies for the
Library Reference.
Jack Jansen [Thu, 24 Jan 2002 12:36:51 +0000 (12:36 +0000)]
"yield" is also a keyword. Spotted by Neal Norwitz.
Steven M. Gava [Thu, 24 Jan 2002 06:02:50 +0000 (06:02 +0000)]
further work on saving configs
Steven M. Gava [Thu, 24 Jan 2002 05:59:05 +0000 (05:59 +0000)]
dialog for getting a new config file section name
Tim Peters [Thu, 24 Jan 2002 00:04:37 +0000 (00:04 +0000)]
Removed #include of obsolete ver.h. VC6 doesn't need it, and David Ascher
reports it doesn't exist anymore under .NET.
Steven M. Gava [Wed, 23 Jan 2002 23:56:41 +0000 (23:56 +0000)]
staying current with python idle fixes
Jack Jansen [Wed, 23 Jan 2002 22:49:48 +0000 (22:49 +0000)]
(Much) better list of Python keywords, supplied by Michael J. Barber.
Jack Jansen [Wed, 23 Jan 2002 22:46:30 +0000 (22:46 +0000)]
Rename the routine to start the target running _start(), with a compatibility
routine start() calling it.
Some suites declare an event start(), which obscures this method, which
causes the class initializer to fail when called with start=1.
Based on bug report and fix suggestion by Jacob Kaplan-Moss.
Tim Peters [Wed, 23 Jan 2002 16:57:55 +0000 (16:57 +0000)]
smart_backspace_event(): remove now-pointless int() call.
Bugfix candidate: the current state of AutoIdent.py should be in 2.2.1.
Michael W. Hudson [Wed, 23 Jan 2002 15:51:12 +0000 (15:51 +0000)]
Fix for
[ #496154 ] Typos in dynload_beos.c
as suggested in the report. A little embarassing; 2.2.1 candidate for sure.
Guido van Rossum [Wed, 23 Jan 2002 15:15:13 +0000 (15:15 +0000)]
Properly fix SF bug #507298 (Gregor Lingl): shellpython2.2 -Qnew smart
indent error
Use // where int division is intended. (This breaks IDLE for use with
previous Python versions -- I don't care.)
Michael W. Hudson [Wed, 23 Jan 2002 15:07:46 +0000 (15:07 +0000)]
Fix for
[ #433775 ] module build dir first in test import
though not in the way the summary would suggest; use imp.load_dynamic()
in setup.py to ensure we're testing the dynamic object we think we are.
Michael W. Hudson [Wed, 23 Jan 2002 15:04:41 +0000 (15:04 +0000)]
Sjoerd Mullender pointed out that setup.py contained some tabs,
so I threw reindent.py at it and look what happened!
Did setup.py escape Tim's regular whitespace normalizations?
Skip Montanaro [Wed, 23 Jan 2002 10:54:41 +0000 (10:54 +0000)]
PyDict_Next: update doc to indicate that pkey and pvalue return values are
borrowed references.
Skip Montanaro [Wed, 23 Jan 2002 08:18:30 +0000 (08:18 +0000)]
add missing return value info for PyDict_DelItem
Steven M. Gava [Wed, 23 Jan 2002 05:15:17 +0000 (05:15 +0000)]
fix for python2.2 -Qnew division error,
thanks Tim!
Tim Peters [Wed, 23 Jan 2002 05:02:20 +0000 (05:02 +0000)]
classifyws(): Fix a "/" to work under -Qnew (as well as without it).
Bugfix candidate!
Jack Jansen [Tue, 22 Jan 2002 23:25:12 +0000 (23:25 +0000)]
Newer names for various error include files.
Jack Jansen [Tue, 22 Jan 2002 23:24:41 +0000 (23:24 +0000)]
Build _tkinter for Carbon too.
Jack Jansen [Tue, 22 Jan 2002 23:24:03 +0000 (23:24 +0000)]
Identify() enum values. This was changed in 1.14, but I don't think it is a good idea.
Jack Jansen [Tue, 22 Jan 2002 23:22:32 +0000 (23:22 +0000)]
Regenerated to take advantage of new _builtinSuites package.
Jack Jansen [Tue, 22 Jan 2002 23:20:12 +0000 (23:20 +0000)]
A "magic" suite that is the base suite for StdSuites. This solves a problem with the required events open/openapp/reopen/print/quit officially being part of Required but being defined (by Apple) in Standard.
Most of the code and ideas contributed by Michael j. Barber.
Steven M. Gava [Tue, 22 Jan 2002 11:35:50 +0000 (11:35 +0000)]
more on config saving
Steven M. Gava [Tue, 22 Jan 2002 05:56:40 +0000 (05:56 +0000)]
further work on config saving
Jack Jansen [Mon, 21 Jan 2002 23:10:36 +0000 (23:10 +0000)]
Mac _Scrap module is now carbon-compliant, so build it on OSX.
Jack Jansen [Mon, 21 Jan 2002 23:02:03 +0000 (23:02 +0000)]
Get rid of fsspec type initializer, it wasn't used anyway.
Jack Jansen [Mon, 21 Jan 2002 23:01:24 +0000 (23:01 +0000)]
Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
MachoPython. Mainly making sure we don't call routines that don't exist.
Jack Jansen [Mon, 21 Jan 2002 23:00:52 +0000 (23:00 +0000)]
Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
MachoPython. Mainly making sure we don't call routines that don't exist
and representing pathnames in a os.separator-neutral format.
These shouldn't interfere too much with Just's work on the next generation IDE,
I hope.
Jack Jansen [Mon, 21 Jan 2002 22:51:55 +0000 (22:51 +0000)]
Also install the Tools directory on "make installmacsubtree".
Fred Drake [Mon, 21 Jan 2002 16:09:18 +0000 (16:09 +0000)]
Fix typo reported by François Pinard.
Steven M. Gava [Mon, 21 Jan 2002 06:38:21 +0000 (06:38 +0000)]
extension config reading by configDialog and
beginning of configuration saving
Fred Drake [Sat, 19 Jan 2002 22:02:55 +0000 (22:02 +0000)]
Remove the unused & broken PyThread_*_sema() functions and related constants.
This closes SF patch #504215.
Steven M. Gava [Sat, 19 Jan 2002 10:41:51 +0000 (10:41 +0000)]
changeover to new keybinding configuration implementation
Steven M. Gava [Sat, 19 Jan 2002 10:33:21 +0000 (10:33 +0000)]
further work on keybinding configuration
Steven M. Gava [Sat, 19 Jan 2002 01:30:56 +0000 (01:30 +0000)]
keybinding configuration
Steven M. Gava [Sat, 19 Jan 2002 00:29:54 +0000 (00:29 +0000)]
keybinding configuration
Thomas Heller [Fri, 18 Jan 2002 20:56:28 +0000 (20:56 +0000)]
Another name.
Thomas Heller [Fri, 18 Jan 2002 20:30:53 +0000 (20:30 +0000)]
SWIGing a source file <name>.i silently overwrites <name>.c if it is
present - at least the swigged file should be named <name>_wrap.c as
this is also SWIG's default. (Even better would be to generate the
wrapped sources in a different location, but I'll leave this for
later).
Newer versions of SWIG don't accept the -dnone flag any more.
Since virtually nobody uses SWIG with distutils, this should do no
harm.
Suggested be Martin Bless on c.l.p.
Jack Jansen [Fri, 18 Jan 2002 16:13:15 +0000 (16:13 +0000)]
Added as_pathname() method to FSRef objects.
Jack Jansen [Fri, 18 Jan 2002 16:12:27 +0000 (16:12 +0000)]
Added a note that you have to add Mac/Lib to sys.path after doing
a "make installmacsubtree".
Martin v. Löwis [Thu, 17 Jan 2002 23:15:58 +0000 (23:15 +0000)]
Patch #477750: Use METH_ constants in Modules.
Martin v. Löwis [Thu, 17 Jan 2002 23:08:27 +0000 (23:08 +0000)]
Patch #477752: Drop old-style getargs from curses.
Fred Drake [Thu, 17 Jan 2002 21:27:00 +0000 (21:27 +0000)]
Updated GNU info dir segment from Milan Zamazal.
Fred Drake [Thu, 17 Jan 2002 21:05:14 +0000 (21:05 +0000)]
Update email address.
Fred Drake [Thu, 17 Jan 2002 12:35:20 +0000 (12:35 +0000)]
Update the list of output formats.
Martin v. Löwis [Thu, 17 Jan 2002 12:30:12 +0000 (12:30 +0000)]
Use BLDLIBRARY to build extension modules. Fixes #504252.
2.2.1 candidate.
Fred Drake [Thu, 17 Jan 2002 04:51:55 +0000 (04:51 +0000)]
Consistency nits.
Fred Drake [Thu, 17 Jan 2002 04:44:34 +0000 (04:44 +0000)]
Minor consistency nit.
Mark Hammond [Thu, 17 Jan 2002 00:44:26 +0000 (00:44 +0000)]
Allow abspath to still do something sensisble if the nt module can not be imported.
Michael W. Hudson [Wed, 16 Jan 2002 15:26:48 +0000 (15:26 +0000)]
Apply a variant of patch
[ #420565 ] makes setup.py search sys.prefix
I think this also fixes some bug in the tracker about not searching
directories that don't exist, but I can't find the report :(
Michael W. Hudson [Wed, 16 Jan 2002 15:18:09 +0000 (15:18 +0000)]
Change some spaces to tabs. I don't *think* that was me, but it
might have been...
Michael W. Hudson [Wed, 16 Jan 2002 15:14:49 +0000 (15:14 +0000)]
Fix for
[ #504284 ] Last build problems on AIX
I'm ignoring the suggestion that this should be an autoconf test in the
interests of having a fix today. Feel free to quibble.
Michael W. Hudson [Wed, 16 Jan 2002 14:55:05 +0000 (14:55 +0000)]
That hasn't been my email address for a while!
Martin v. Löwis [Wed, 16 Jan 2002 11:04:06 +0000 (11:04 +0000)]
Patch #504225: add plan9 ifdef to timemodule floatsleep.
Martin v. Löwis [Wed, 16 Jan 2002 10:53:24 +0000 (10:53 +0000)]
Updated patch #487906: Revise inline docs.
Jack Jansen [Tue, 15 Jan 2002 23:20:40 +0000 (23:20 +0000)]
Include errors.rsrc in the Python.app resource file, so the error strings
are available in MacOS API exceptions.
Tim Peters [Tue, 15 Jan 2002 22:24:37 +0000 (22:24 +0000)]
Update master Windows buildno list for 2.1.2final.
Guido van Rossum [Tue, 15 Jan 2002 21:25:51 +0000 (21:25 +0000)]
Disable code intended for PEP 277.
Guido van Rossum [Tue, 15 Jan 2002 21:06:07 +0000 (21:06 +0000)]
A tentative fix for SF bug #503837 (Roeland Rengelink):
type.__module__ problems (again?)
This simply initializes the __module__ local in a class statement from
the __name__ global. I'm not 100% sure that this is the correct fix,
although it usually does the right thing. The problem is that if the
class statement executes in a custom namespace, the __name__ global
may be taken from __builtins__, in which case it would have the value
__builtin__, or it may not exist at all (if the custom namespace also
has a custom __builtins__), in which case the class statement will
fail.
Nevertheless, unless someone finds a better solution, this is a 2.2.1
bugfix too.
Jack Jansen [Tue, 15 Jan 2002 20:36:14 +0000 (20:36 +0000)]
Workaround for what is probably a problem in Apple's gcc: <pthread.h> fails
on a function pointer formal argument called "destructor", which is typedeffed
as a different function pointer type in object.h.
Guido van Rossum [Tue, 15 Jan 2002 19:21:05 +0000 (19:21 +0000)]
There's no need for typechecks on the second and third argument of
new.instancemethod() -- the instancemethod object is now a perfectly
general container.
This fixes SF bug ##503091 (Pedro Rodriquez): new.instancemethod fails
for new classes
This is a 2.2.1 candidate.
Fred Drake [Tue, 15 Jan 2002 03:46:43 +0000 (03:46 +0000)]
Only test ntpath.abspath() on Windows. This allows the rest of the module to
be tested regardless of the host platform.
Thomas Heller [Mon, 14 Jan 2002 08:37:39 +0000 (08:37 +0000)]
Fix a simple typo. Has this to be fixed also in other branches?
Jack Jansen [Sun, 13 Jan 2002 23:18:00 +0000 (23:18 +0000)]
Fixed to work under MachoPython, doing the expected unpacking for applesingle files. The IDE still doesn't work, though, because it uses :-style pathnames.
Jack Jansen [Sun, 13 Jan 2002 23:16:32 +0000 (23:16 +0000)]
In MachoPython expect Unix-style pathnames for both FSSpec and FSRef initializers. TBD: Do the reverse for MacPython, and also handle as_pathname().
Jack Jansen [Sun, 13 Jan 2002 22:59:49 +0000 (22:59 +0000)]
Regenerated from UH 3.4. Candidate for 2.2.1.
Martin v. Löwis [Sat, 12 Jan 2002 11:43:25 +0000 (11:43 +0000)]
Export SIGINFO. Fixes #502077.
Martin v. Löwis [Sat, 12 Jan 2002 11:27:42 +0000 (11:27 +0000)]
Patch #414775: Add --skip-build option to bdist command.
Martin v. Löwis [Sat, 12 Jan 2002 11:05:12 +0000 (11:05 +0000)]
Include <unistd.h> in Python.h. Fixes #500924.
Steven M. Gava [Sat, 12 Jan 2002 09:48:02 +0000 (09:48 +0000)]
key binding handling dialog
Jack Jansen [Fri, 11 Jan 2002 12:41:01 +0000 (12:41 +0000)]
Removed references to download of Waste.
Jack Jansen [Fri, 11 Jan 2002 12:39:03 +0000 (12:39 +0000)]
CodeWarrior includes Waste and Internet Config nowadays, obviating the need for separate downloads.
Jack Jansen [Fri, 11 Jan 2002 12:38:08 +0000 (12:38 +0000)]
Internet Config is now part of official Apple interfaces, so use the new
headers and libraries.
Jack Jansen [Fri, 11 Jan 2002 12:37:15 +0000 (12:37 +0000)]
- Updated to Waste 2.0.
- Use waste included with CW in stead of separate package.
Jack Jansen [Fri, 11 Jan 2002 10:24:23 +0000 (10:24 +0000)]
Don't call PyMac_OutputSeen if we have a custom console. Fix by Alexandre Parenteau.
Martin v. Löwis [Fri, 11 Jan 2002 06:58:49 +0000 (06:58 +0000)]
Add a per-message fallback mechanism for translations.
Martin v. Löwis [Fri, 11 Jan 2002 06:33:28 +0000 (06:33 +0000)]
Add fallback argument to translation(). Request fallbacks on install.
Fixes #500595.
Tim Peters [Thu, 10 Jan 2002 19:53:49 +0000 (19:53 +0000)]
Update master Windows build-number list for 2.1.2c1.
Fred Drake [Thu, 10 Jan 2002 13:50:31 +0000 (13:50 +0000)]
Added item about the webbrowser security fix.
Jack Jansen [Thu, 10 Jan 2002 00:07:00 +0000 (00:07 +0000)]
Updated for CW7 and Tcl/Tk 8.3.4.
Jack Jansen [Thu, 10 Jan 2002 00:05:54 +0000 (00:05 +0000)]
Added the modules I missed first time around. Still not good enough, though: bgerror does a "package require msgcat" and I don't see a way to put packages into resources. Off to the mactcl list for help...
Just van Rossum [Wed, 9 Jan 2002 18:54:16 +0000 (18:54 +0000)]
Fixed TrackMouseRegion() argument: ioWasInRgn is an in/out parameter.
Marc-André Lemburg [Wed, 9 Jan 2002 16:21:27 +0000 (16:21 +0000)]
Fixed "u#" parser marker to pass through Unicode objects as-is without
going through the buffer interface API.
Added tests for this to the _testcapi module and updated docs.
Jack Jansen [Tue, 8 Jan 2002 23:03:45 +0000 (23:03 +0000)]
Updated for CW7 and Tcl/Tk 8.3.4. Also added a few other things
that were changed but not yet reflected in this document.
Jack Jansen [Tue, 8 Jan 2002 22:11:51 +0000 (22:11 +0000)]
Upgraded _tkinter to Tcl/Tk 8.3.4.
Just van Rossum [Tue, 8 Jan 2002 11:49:31 +0000 (11:49 +0000)]
Today's Carbon Toolbox addition: CarbonEvt.TrackMouseLocation() and friends.
Fred Drake [Mon, 7 Jan 2002 15:29:01 +0000 (15:29 +0000)]
Fix webbrowser.py security bug: be more careful about what we pass to
os.system().
This closes Python bug #500401, Debian bug #127507.
Just van Rossum [Mon, 7 Jan 2002 14:15:02 +0000 (14:15 +0000)]
Today's Carbon Toolbox addition: QDTextBounds()
Mark Hammond [Mon, 7 Jan 2002 02:11:43 +0000 (02:11 +0000)]
Ensure Unicode filenames work with glob - they already do, but the test seems worth keeping.
Just van Rossum [Sun, 6 Jan 2002 23:03:39 +0000 (23:03 +0000)]
Added support for DrawThemeButton() and friends.