]>
granicus.if.org Git - python/log
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.
Marc-André Lemburg [Sun, 6 Jan 2002 17:15:05 +0000 (17:15 +0000)]
Restore Python 2.1 StringIO.py behaviour: support concatenating
Unicode string snippets to larger Unicode strings.
This fix should also go into Python 2.2.1.
Guido van Rossum [Sun, 6 Jan 2002 03:29:16 +0000 (03:29 +0000)]
Checked in Sean Reifschneider's RPM spec file and patches. Bugfix candidate.
Just van Rossum [Sat, 5 Jan 2002 23:44:33 +0000 (23:44 +0000)]
Whoops, it's late -- generated output now matches what's checked in...
Just van Rossum [Sat, 5 Jan 2002 23:37:19 +0000 (23:37 +0000)]
Q&D support for ThemeDrawingState objects.
Martin v. Löwis [Sat, 5 Jan 2002 21:40:08 +0000 (21:40 +0000)]
Initialize err_ret with filename if available. Fixes #498828.
Fred Drake [Sat, 5 Jan 2002 17:17:09 +0000 (17:17 +0000)]
Time2Internaldate(): Call isinstance() once for each of the type tests
instead of possibly twice by using a sequence of types to check for.
Add a message to the ValueError that can be raised.
Fred Drake [Sat, 5 Jan 2002 17:12:57 +0000 (17:12 +0000)]
Remove unused imports, clean up trailing whitespace.
Martin v. Löwis [Sat, 5 Jan 2002 11:31:49 +0000 (11:31 +0000)]
Check for time.struct_time in addition to tuples. Use 3 characters
for zone hours. Fixes #499169.
Martin v. Löwis [Sat, 5 Jan 2002 10:50:30 +0000 (10:50 +0000)]
Implement PyObject_DelItemString. Fixes #498915.
Fred Drake [Sat, 5 Jan 2002 04:00:03 +0000 (04:00 +0000)]
Do not mask the name of a built-in function in example code.
Based on comment sent to python-docs.
Fred Drake [Sat, 5 Jan 2002 03:56:54 +0000 (03:56 +0000)]
Fix indentation error in example from the Tkinter Life Preserver.
This closes SF bug #499505.
Fred Drake [Sat, 5 Jan 2002 01:52:41 +0000 (01:52 +0000)]
Fix minor typo reported in SF patch #497951.
Just van Rossum [Fri, 4 Jan 2002 19:45:15 +0000 (19:45 +0000)]
- added support for UserPaneKeyDownProc and UserPaneFocusProc
- clear error after failing PyArg_Parse()
Jack Jansen [Fri, 4 Jan 2002 16:01:23 +0000 (16:01 +0000)]
UH 3.4 checkin that I had forgotten about.
Jack Jansen [Fri, 4 Jan 2002 16:00:27 +0000 (16:00 +0000)]
Some of the new routines are carbon-only.
Jack Jansen [Fri, 4 Jan 2002 15:59:57 +0000 (15:59 +0000)]
Rephrased the OSX stack limit problem, after a complaint about it.
Just van Rossum [Fri, 4 Jan 2002 14:39:29 +0000 (14:39 +0000)]
Callback error handling improvements:
- print traceback
- don't use fprintf()
- clear exception (implied by PyErr_Print())
Just van Rossum [Fri, 4 Jan 2002 13:49:36 +0000 (13:49 +0000)]
Ugh, by all means, _do_ report exceptions somehow ;-)
Steven M. Gava [Fri, 4 Jan 2002 07:53:06 +0000 (07:53 +0000)]
loading core keybindings via new config system plus
further devel of highlight handling
Steven M. Gava [Fri, 4 Jan 2002 03:06:08 +0000 (03:06 +0000)]
move core functionality of SearchBindings.py into EditorWindow.py proper
adjust configuration sources accordingly
move SearchBindings.py into the attic now
Just van Rossum [Thu, 3 Jan 2002 20:45:47 +0000 (20:45 +0000)]
fixed SetEventParameter() signature: removed unneccesary length arg.
Just van Rossum [Thu, 3 Jan 2002 12:16:18 +0000 (12:16 +0000)]
The output MenuRef of GetMenuItemHierarchicalMenu() may be NULL.
Steven M. Gava [Thu, 3 Jan 2002 12:05:17 +0000 (12:05 +0000)]
further development of highlighting and editor preference handling,
plus misc fixes cleanups for new config system
Steven M. Gava [Thu, 3 Jan 2002 12:04:01 +0000 (12:04 +0000)]
remove futzing with text font
Steven M. Gava [Thu, 3 Jan 2002 12:02:37 +0000 (12:02 +0000)]
fixups and improvements
Steven M. Gava [Thu, 3 Jan 2002 11:51:07 +0000 (11:51 +0000)]
moving to new config system
Jack Jansen [Wed, 2 Jan 2002 22:53:38 +0000 (22:53 +0000)]
In MachoPython, don't simulate argc/argv unless we have argc=1 and argv[1]
starts with "-psn_". This means the drag-and-drop continues to work as
expected, but we can now also do
/Applications/Python.app/Contents/MacOS/python script.py
from the command line, which is a lot easier with debugging. Pressing <option>
at this point also has the expected effect of opening the options dialog!
Andrew M. Kuchling [Wed, 2 Jan 2002 16:38:19 +0000 (16:38 +0000)]
Fix typo in label
Just van Rossum [Wed, 2 Jan 2002 15:11:44 +0000 (15:11 +0000)]
- Added DrawThemeTextBox()
- fixed GetThemeTextDimensions(): it has an in/out Point arg, not just out.
Just van Rossum [Wed, 2 Jan 2002 14:59:03 +0000 (14:59 +0000)]
rectified copy/paste oversight in comment
Just van Rossum [Wed, 2 Jan 2002 14:48:36 +0000 (14:48 +0000)]
- Added support for optional MenuObj arguments
- Added a bunch of calls as functions with an optional
MenuObj first argument. The same calls already
exist as methods, but then the first arg isn't
optional... The method versions could go as far as I'm
concerned. Jack?
Jack Jansen [Tue, 1 Jan 2002 22:43:13 +0000 (22:43 +0000)]
Added some support for unicode arguments.
Jack Jansen [Tue, 1 Jan 2002 22:40:08 +0000 (22:40 +0000)]
Added some support for Uicode arguments. Still leaves something to be desired, especially because of poor unicode support in PyArg_ParseTuple.
Jack Jansen [Tue, 1 Jan 2002 22:39:07 +0000 (22:39 +0000)]
Updated to current pathnames.
Neal Norwitz [Tue, 1 Jan 2002 21:14:12 +0000 (21:14 +0000)]
Improve grammar
Martin v. Löwis [Tue, 1 Jan 2002 20:18:30 +0000 (20:18 +0000)]
Patch #497126: Always compile dl.
Martin v. Löwis [Tue, 1 Jan 2002 19:59:11 +0000 (19:59 +0000)]
Patch #494783: Rename cmp_op enumerators.
Neal Norwitz [Tue, 1 Jan 2002 19:11:13 +0000 (19:11 +0000)]
SF Patch #494867 test file methods
Test that the file methods raise ValueError when called on a closed file.
Test .isatty()
Test name, closed attributes
Neal Norwitz [Tue, 1 Jan 2002 19:07:13 +0000 (19:07 +0000)]
SF Patch #494863, file.xreadlines() should raise ValueError if file is closed
This makes xreadlines behave like all other file methods
(other than close() which just returns).
Martin v. Löwis [Tue, 1 Jan 2002 18:41:33 +0000 (18:41 +0000)]
Patch #497098: build support for GNU/Hurd.
Jack Jansen [Mon, 31 Dec 2001 15:08:04 +0000 (15:08 +0000)]
Use the Carbon scrap manager interface if the old interface isn't available.
Jack Jansen [Mon, 31 Dec 2001 15:02:56 +0000 (15:02 +0000)]
Updated to optionally use Carbon Scrap manager.
Jack Jansen [Mon, 31 Dec 2001 14:53:05 +0000 (14:53 +0000)]
Use the Carbon scrap manager interface if the old interface isn't available.
Jack Jansen [Mon, 31 Dec 2001 14:52:03 +0000 (14:52 +0000)]
Added support for the Carbon scrap manager (finally).
Just van Rossum [Mon, 31 Dec 2001 09:50:32 +0000 (09:50 +0000)]
Oops, forgot to mark CreateScrollBarControl and CreateSliderControl
as Carbon-only
Just van Rossum [Mon, 31 Dec 2001 08:58:44 +0000 (08:58 +0000)]
made radio button labels readable under OSX
Just van Rossum [Mon, 31 Dec 2001 08:57:57 +0000 (08:57 +0000)]
half-hearted stab at supported the 2.2 object model better.
Just van Rossum [Mon, 31 Dec 2001 08:56:52 +0000 (08:56 +0000)]
added support for live feedback in scrollbars
Just van Rossum [Sun, 30 Dec 2001 21:25:26 +0000 (21:25 +0000)]
- added support for ControlActionProcs, exposing the following calls:
- ctl.SetControlAction()
- CreateScrollBarControl()
- CreateSliderControl()
- print traceback when callbacks fail
Martin v. Löwis [Sun, 30 Dec 2001 14:43:56 +0000 (14:43 +0000)]
Print encoded versions of the file names in test application. Fixes #496084