]> granicus.if.org Git - python/log
python
23 years agoChecked in Sean Reifschneider's RPM spec file and patches. Bugfix candidate.
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.

23 years agoWhoops, it's late -- generated output now matches what's checked in...
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...

23 years agoQ&D support for ThemeDrawingState objects.
Just van Rossum [Sat, 5 Jan 2002 23:37:19 +0000 (23:37 +0000)]
Q&D support for ThemeDrawingState objects.

23 years agoInitialize err_ret with filename if available. Fixes #498828.
Martin v. Löwis [Sat, 5 Jan 2002 21:40:08 +0000 (21:40 +0000)]
Initialize err_ret with filename if available. Fixes #498828.

23 years agoTime2Internaldate(): Call isinstance() once for each of the type tests
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.

23 years agoRemove unused imports, clean up trailing whitespace.
Fred Drake [Sat, 5 Jan 2002 17:12:57 +0000 (17:12 +0000)]
Remove unused imports, clean up trailing whitespace.

23 years agoCheck for time.struct_time in addition to tuples. Use 3 characters
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.

23 years agoImplement PyObject_DelItemString. Fixes #498915.
Martin v. Löwis [Sat, 5 Jan 2002 10:50:30 +0000 (10:50 +0000)]
Implement PyObject_DelItemString. Fixes #498915.

23 years agoDo not mask the name of a built-in function in example code.
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.

23 years agoFix indentation error in example from the Tkinter Life Preserver.
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.

23 years agoFix minor typo reported in SF patch #497951.
Fred Drake [Sat, 5 Jan 2002 01:52:41 +0000 (01:52 +0000)]
Fix minor typo reported in SF patch #497951.

23 years ago- added support for UserPaneKeyDownProc and UserPaneFocusProc
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()

23 years agoUH 3.4 checkin that I had forgotten about.
Jack Jansen [Fri, 4 Jan 2002 16:01:23 +0000 (16:01 +0000)]
UH 3.4 checkin that I had forgotten about.

23 years agoSome of the new routines are carbon-only.
Jack Jansen [Fri, 4 Jan 2002 16:00:27 +0000 (16:00 +0000)]
Some of the new routines are carbon-only.

23 years agoRephrased the OSX stack limit problem, after a complaint about it.
Jack Jansen [Fri, 4 Jan 2002 15:59:57 +0000 (15:59 +0000)]
Rephrased the OSX stack limit problem, after a complaint about it.

23 years agoCallback error handling improvements:
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())

23 years agoUgh, by all means, _do_ report exceptions somehow ;-)
Just van Rossum [Fri, 4 Jan 2002 13:49:36 +0000 (13:49 +0000)]
Ugh, by all means, _do_ report exceptions somehow ;-)

23 years agoloading core keybindings via new config system plus
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

23 years agomove core functionality of SearchBindings.py into EditorWindow.py proper
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

23 years agofixed SetEventParameter() signature: removed unneccesary length arg.
Just van Rossum [Thu, 3 Jan 2002 20:45:47 +0000 (20:45 +0000)]
fixed SetEventParameter() signature: removed unneccesary length arg.

23 years agoThe output MenuRef of GetMenuItemHierarchicalMenu() may be NULL.
Just van Rossum [Thu, 3 Jan 2002 12:16:18 +0000 (12:16 +0000)]
The output MenuRef of GetMenuItemHierarchicalMenu() may be NULL.

23 years agofurther development of highlighting and editor preference handling,
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

23 years agoremove futzing with text font
Steven M. Gava [Thu, 3 Jan 2002 12:04:01 +0000 (12:04 +0000)]
remove futzing with text font

23 years agofixups and improvements
Steven M. Gava [Thu, 3 Jan 2002 12:02:37 +0000 (12:02 +0000)]
fixups and improvements

23 years agomoving to new config system
Steven M. Gava [Thu, 3 Jan 2002 11:51:07 +0000 (11:51 +0000)]
moving to new config system

23 years agoIn MachoPython, don't simulate argc/argv unless we have argc=1 and argv[1]
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!

23 years agoFix typo in label
Andrew M. Kuchling [Wed, 2 Jan 2002 16:38:19 +0000 (16:38 +0000)]
Fix typo in label

23 years ago- Added DrawThemeTextBox()
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.

23 years agorectified copy/paste oversight in comment
Just van Rossum [Wed, 2 Jan 2002 14:59:03 +0000 (14:59 +0000)]
rectified copy/paste oversight in comment

23 years ago- Added support for optional MenuObj arguments
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?

23 years agoAdded some support for unicode arguments.
Jack Jansen [Tue, 1 Jan 2002 22:43:13 +0000 (22:43 +0000)]
Added some support for unicode arguments.

23 years agoAdded some support for Uicode arguments. Still leaves something to be desired, especi...
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.

23 years agoUpdated to current pathnames.
Jack Jansen [Tue, 1 Jan 2002 22:39:07 +0000 (22:39 +0000)]
Updated to current pathnames.

23 years agoImprove grammar
Neal Norwitz [Tue, 1 Jan 2002 21:14:12 +0000 (21:14 +0000)]
Improve grammar

23 years agoPatch #497126: Always compile dl.
Martin v. Löwis [Tue, 1 Jan 2002 20:18:30 +0000 (20:18 +0000)]
Patch #497126: Always compile dl.

23 years agoPatch #494783: Rename cmp_op enumerators.
Martin v. Löwis [Tue, 1 Jan 2002 19:59:11 +0000 (19:59 +0000)]
Patch #494783: Rename cmp_op enumerators.

23 years agoSF Patch #494867 test file methods
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

23 years agoSF Patch #494863, file.xreadlines() should raise ValueError if file is closed
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).

23 years agoPatch #497098: build support for GNU/Hurd.
Martin v. Löwis [Tue, 1 Jan 2002 18:41:33 +0000 (18:41 +0000)]
Patch #497098: build support for GNU/Hurd.

23 years agoUse the Carbon scrap manager interface if the old interface isn't available.
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.

23 years agoUpdated to optionally use Carbon Scrap manager.
Jack Jansen [Mon, 31 Dec 2001 15:02:56 +0000 (15:02 +0000)]
Updated to optionally use Carbon Scrap manager.

23 years agoUse the Carbon scrap manager interface if the old interface isn't available.
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.

23 years agoAdded support for the Carbon scrap manager (finally).
Jack Jansen [Mon, 31 Dec 2001 14:52:03 +0000 (14:52 +0000)]
Added support for the Carbon scrap manager (finally).

23 years agoOops, forgot to mark CreateScrollBarControl and CreateSliderControl
Just van Rossum [Mon, 31 Dec 2001 09:50:32 +0000 (09:50 +0000)]
Oops, forgot to mark CreateScrollBarControl and CreateSliderControl
as Carbon-only

23 years agomade radio button labels readable under OSX
Just van Rossum [Mon, 31 Dec 2001 08:58:44 +0000 (08:58 +0000)]
made radio button labels readable under OSX

23 years agohalf-hearted stab at supported the 2.2 object model better.
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.

23 years agoadded support for live feedback in scrollbars
Just van Rossum [Mon, 31 Dec 2001 08:56:52 +0000 (08:56 +0000)]
added support for live feedback in scrollbars

23 years ago- added support for ControlActionProcs, exposing the following calls:
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

23 years agoPrint encoded versions of the file names in test application. Fixes #496084
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

23 years agotest_support: add a docstring to vereq().
Tim Peters [Sat, 29 Dec 2001 17:34:57 +0000 (17:34 +0000)]
test_support:  add a docstring to vereq().
test_complex:  repair new test's usage of vereq().

23 years agoSF Patch #497487 add test to compare conjugate of a complex number
Neal Norwitz [Sat, 29 Dec 2001 14:31:46 +0000 (14:31 +0000)]
SF Patch #497487 add test to compare conjugate of a complex number

23 years agoSF Patch #494873 add tests for complex numbers including calls to int()/long()
Neal Norwitz [Sat, 29 Dec 2001 01:02:21 +0000 (01:02 +0000)]
SF Patch #494873 add tests for complex numbers including calls to int()/long()

23 years agoSF Patch #494874 add tests for int()/long() invalid parameters
Neal Norwitz [Sat, 29 Dec 2001 00:35:20 +0000 (00:35 +0000)]
SF Patch #494874 add tests for int()/long() invalid parameters

23 years agoSF Patch #494872 test repr() of a built-in module
Neal Norwitz [Sat, 29 Dec 2001 00:25:42 +0000 (00:25 +0000)]
SF Patch #494872 test repr() of a built-in module

23 years agoSF Patch #494876, test invalid parameters to pow()
Neal Norwitz [Sat, 29 Dec 2001 00:16:09 +0000 (00:16 +0000)]
SF Patch #494876, test invalid parameters to pow()

23 years agoThread.__bootstrap(): ignore exceptions in the self.__delete() call in
Guido van Rossum [Fri, 28 Dec 2001 22:07:09 +0000 (22:07 +0000)]
Thread.__bootstrap(): ignore exceptions in the self.__delete() call in
the finally clause.  An exception here could happen when a daemon
thread exits after the threading module has already been trashed by
the import finalization, and there's not much of a point in trying to
insist doing the cleanup in that stage.

This should fix SF bug ##497111: active_limbo_lock error at program
exit.

2.1.2 and 2.2.1 Bugfix candidate!

23 years agoFix for SF bug ##497426: can't deepcopy recursive new objects
Guido van Rossum [Fri, 28 Dec 2001 21:39:03 +0000 (21:39 +0000)]
Fix for SF bug ##497426: can't deepcopy recursive new objects

deepcopy(), _reconstruct(): pass the memo to the other function, so
that recursive data structures built out of new-style objects may be
deeply copied correctly.

2.2.1 bugfix!

23 years agoFix for SF bug ##497426: can't deepcopy recursive new objects
Guido van Rossum [Fri, 28 Dec 2001 21:33:22 +0000 (21:33 +0000)]
Fix for SF bug ##497426: can't deepcopy recursive new objects

deepcopy(), _reconstruct(): pass the memo to the other function, so
that recursive data structures built out of new-style objects may be
deeply copied correctly.

2.2.1 bugfix!

23 years agoAdd fcntl.h constants from glibc 2.2.4. Fixes #496171.
Martin v. Löwis [Fri, 28 Dec 2001 21:08:12 +0000 (21:08 +0000)]
Add fcntl.h constants from glibc 2.2.4. Fixes #496171.

23 years agoSF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous password
Guido van Rossum [Fri, 28 Dec 2001 20:57:14 +0000 (20:57 +0000)]
SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous password

Instead of sending the real user and host, use "anonymous@" (i.e. no
host name at all!) as the default anonymous FTP password.  This avoids
privacy violations.

23 years agoUpdate the docstring too. :-)
Guido van Rossum [Fri, 28 Dec 2001 20:54:55 +0000 (20:54 +0000)]
Update the docstring too. :-)

23 years agoSF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous password
Guido van Rossum [Fri, 28 Dec 2001 20:54:28 +0000 (20:54 +0000)]
SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous password

Instead of sending the real user and host, use "anonymous@" (i.e. no
host name at all!) as the default anonymous FTP password.  This avoids
privacy violations.

23 years agoAdded someone.
Jack Jansen [Thu, 27 Dec 2001 23:37:49 +0000 (23:37 +0000)]
Added someone.

23 years agoPatches by Jens B. Jorgensen with small mods by me:
Jack Jansen [Thu, 27 Dec 2001 23:35:43 +0000 (23:35 +0000)]
Patches by Jens B. Jorgensen with small mods by me:
- Converted the templates to use ANSI C prototypes (finally!)
- Use re in stead of deprecated regex

23 years agoMerging changes from release22-branch.
Jack Jansen [Thu, 27 Dec 2001 23:01:18 +0000 (23:01 +0000)]
Merging changes from release22-branch.

23 years agoAnother name; should be added to Python 2.2.1.
Fred Drake [Thu, 27 Dec 2001 18:40:18 +0000 (18:40 +0000)]
Another name; should be added to Python 2.2.1.

23 years agoAdded some missing index entries, noted by L. Peter Deutsch.
Fred Drake [Thu, 27 Dec 2001 18:38:10 +0000 (18:38 +0000)]
Added some missing index entries, noted by L. Peter Deutsch.
This should be included in Python 2.2.1.

23 years agoUpdated -- all Demo subdirectories are once again listed here, in
Guido van Rossum [Thu, 27 Dec 2001 16:57:49 +0000 (16:57 +0000)]
Updated -- all Demo subdirectories are once again listed here, in
alphabetical order (!), and the obsolete 'extend' directory is no
longer mentioned.

This and the erasure of the extend directory are 2.2.1 bugfix
candidates (but only of you want to be thorough -- it's not like
anybody cares :-).

23 years agoRemoving this directory; it's no longer needed now that Misc/Makefile.pre.in
Guido van Rossum [Thu, 27 Dec 2001 16:48:27 +0000 (16:48 +0000)]
Removing this directory; it's no longer needed now that Misc/Makefile.pre.in
no longer exists.  Docs for distutils are plenty elsewhere.

23 years ago_reduce(): Avoid infinite recursion in the pickler when self.__class__
Guido van Rossum [Thu, 27 Dec 2001 16:27:28 +0000 (16:27 +0000)]
_reduce(): Avoid infinite recursion in the pickler when self.__class__
doesn't have the _HEAPTYPE flag set, e.g. for time.struct_time and
posix.stat_result.

This fixes the immediate symptoms of SF bug #496873 (cPickle /
time.struct_time loop), replacing the infinite loop with an exception.

23 years agoDue to a cut-and-paste error, the type object exported under the name
Guido van Rossum [Thu, 27 Dec 2001 16:23:28 +0000 (16:23 +0000)]
Due to a cut-and-paste error, the type object exported under the name
statvfs_result was in fact the stat_result type object. :-(

2.2.1 bugfix!

23 years agoModified version of patch #496882: echo SimpleStdin readline()
Just van Rossum [Thu, 27 Dec 2001 10:29:07 +0000 (10:29 +0000)]
Modified version of patch #496882: echo SimpleStdin readline()
input to stdout.

23 years agoElaborate the descriptions for onecmd(), precmd(), and postcmd() so they are
Fred Drake [Thu, 27 Dec 2001 05:10:18 +0000 (05:10 +0000)]
Elaborate the descriptions for onecmd(), precmd(), and postcmd() so they are
useful.

23 years agoFix wrongly-named formal parameters in three places: begin_y was used twice
Fred Drake [Wed, 26 Dec 2001 22:08:44 +0000 (22:08 +0000)]
Fix wrongly-named formal parameters in three places: begin_y was used twice
instead of begin_y and begin_x for derwin(), subpad(), and subwin().
Reported for derwin() by Eric Huss.

Added class annotations for the window methods so they would be properly
described in the index.

23 years agoAdded another name.
Fred Drake [Wed, 26 Dec 2001 22:08:35 +0000 (22:08 +0000)]
Added another name.

23 years agoAdded index entries similar to some recommended by Skip, and used the word
Fred Drake [Wed, 26 Dec 2001 20:06:40 +0000 (20:06 +0000)]
Added index entries similar to some recommended by Skip, and used the word
"interpolation" in the text, to make the string formatting material easier to
find.
This closes SF bug #487165.
Bugfix: this should be applied for Python 2.2.1.

23 years agoMake this do the right thing with entries which start with the percent sign,
Fred Drake [Wed, 26 Dec 2001 19:55:14 +0000 (19:55 +0000)]
Make this do the right thing with entries which start with the percent sign,
in response to Skip's comments in SF bug #487165.

Make use of string methods instead of string module functions in most places.
Add (and make the default) a way to collapse symbol entries into a single
"Symbols" section in the generated index.  This is similar to what makeindex
does, but does not include entries beginning with an underscore.

23 years agoMore index entries.
Fred Drake [Wed, 26 Dec 2001 19:48:43 +0000 (19:48 +0000)]
More index entries.

23 years agoClose an improperly-closed verbatim environment.
Fred Drake [Wed, 26 Dec 2001 16:53:48 +0000 (16:53 +0000)]
Close an improperly-closed verbatim environment.
This closes SF patch #496215.

Add a little more detail to the example that had not been closed.

Bugfix: this should be made part of 2.2.1.

23 years agoSF bug #495548: troublesome #define in pyport.h
Tim Peters [Tue, 25 Dec 2001 19:07:38 +0000 (19:07 +0000)]
SF bug #495548:  troublesome #define in pyport.h
Removed the ancient "#define ANY void".

Bugfix candidate?  Hard call.  The bug report claims the existence of
this #define creates conflicts with other packages, which is easy to
believe.  OTOH, some extension authors may still be relying on its
presence.  I'm afraid you can't win on this one.

23 years agoSF bug #496549 -Qnew and in-place division "/=".
Tim Peters [Tue, 25 Dec 2001 18:49:11 +0000 (18:49 +0000)]
SF bug #496549 -Qnew and in-place division "/=".

eval_frame():  Under -Qnew, INPLACE_DIVIDE wasn't getting handed off to
INPLACE_TRUE_DIVIDE (like BINARY_DIVIDE was getting handed off to
BINARY_TRUE_DIVIDE).

Bugfix candidate.

23 years agoDon't set passiveserver to 0 in connect(). See SF bug #495693.
Guido van Rossum [Sun, 23 Dec 2001 13:54:19 +0000 (13:54 +0000)]
Don't set passiveserver to 0 in connect().  See SF bug #495693.

This should definitely be backported to 2.2.1.  I'll leave it to Jack
to decide whether he wants to fix this in MacPython 2.2.

23 years agoFix the erroneous availability annotation for s.makefile() from the last
Fred Drake [Sat, 22 Dec 2001 19:07:58 +0000 (19:07 +0000)]
Fix the erroneous availability annotation for s.makefile() from the last
checkin (my fault!).
Wrap some long lines and fix some markup inconsistencies.

23 years agoRegenerated for Linux 2.2.4.
Martin v. Löwis [Sat, 22 Dec 2001 15:23:50 +0000 (15:23 +0000)]
Regenerated for Linux 2.2.4.

23 years agoAdd TCP socket options from glibc 2.2.4. Fixes #495680.
Martin v. Löwis [Sat, 22 Dec 2001 15:05:32 +0000 (15:05 +0000)]
Add TCP socket options from glibc 2.2.4. Fixes #495680.
2.2.1 bugfix candidate.

23 years agoWindows build: close out 2.2, prep for 2.3.
Tim Peters [Fri, 21 Dec 2001 22:06:12 +0000 (22:06 +0000)]
Windows build:  close out 2.2, prep for 2.3.

23 years agoAdded 2.3a1 section.
Tim Peters [Fri, 21 Dec 2001 21:36:50 +0000 (21:36 +0000)]
Added 2.3a1 section.

23 years agoAnd we start all over again!
Barry Warsaw [Fri, 21 Dec 2001 20:05:33 +0000 (20:05 +0000)]
And we start all over again!

23 years agoMerge of the release22 branch changes back into the trunk.
Barry Warsaw [Fri, 21 Dec 2001 20:04:22 +0000 (20:04 +0000)]
Merge of the release22 branch changes back into the trunk.

23 years agoAdd notes that fromfd() and s.makefile() are Unix-specific.
Fred Drake [Fri, 21 Dec 2001 17:45:03 +0000 (17:45 +0000)]
Add notes that fromfd() and s.makefile() are Unix-specific.
This fixes SF bug #495896.

Fix up various markup consistency & style guide conformance nits.

23 years agoDoc changes on the trunk will not be in Python 2.2, so let's call it 2.2+.
Fred Drake [Fri, 21 Dec 2001 16:46:28 +0000 (16:46 +0000)]
Doc changes on the trunk will not be in Python 2.2, so let's call it 2.2+.

23 years agoPyOS_vsnprintf(): Change PyMem_Malloc() call to PyMem_MALLOC() macro,
Barry Warsaw [Fri, 21 Dec 2001 16:32:15 +0000 (16:32 +0000)]
PyOS_vsnprintf(): Change PyMem_Malloc() call to PyMem_MALLOC() macro,
(ditto for PyMem_Free() -> PyMem_FREE()) to fix and close SF bug
#495875 on systems that HAVE_SNPRINTF=0.

Check in on both release-22 branch and trunk.

23 years agoSuggested by Pete Shinners: treat .m and .mm files as source code.
Andrew M. Kuchling [Fri, 21 Dec 2001 15:34:17 +0000 (15:34 +0000)]
Suggested by Pete Shinners: treat .m and .mm files as source code.

Question for Jack Jansen: is this reasonable?

Candidate for 2.2 release branch (if Jack thinks it's OK).

23 years agoforward-patch from release21-maint branch:
Anthony Baxter [Fri, 21 Dec 2001 05:13:37 +0000 (05:13 +0000)]
forward-patch from release21-maint branch:
  Make dumbdbm merely "dumb", rather than "terminally broken". Without this
  patch, it's almost impossible to use dumbdbm _without_ causing horrible
  datalossage. With this patch, dumbdbm passes my own horrible torture test,
  as well as the roundup test suite.

  dumbdbm really could do with a smidgin of a rewrite or two, but that's not
  suitable for the release21-maint branch.

23 years ago1.00 at last!
Andrew M. Kuchling [Fri, 21 Dec 2001 04:39:11 +0000 (04:39 +0000)]
1.00 at last!
Describe super() very briefly
A few minor reformattings and wording changes
Set the release date (presumably tomorrow...)

23 years agoAdd a reference to the signal module to the os.kill() description.
Fred Drake [Fri, 21 Dec 2001 03:58:47 +0000 (03:58 +0000)]
Add a reference to the signal module to the os.kill() description.
This closes SF bug #495609.

23 years agoFix typo in httplib example.
Fred Drake [Fri, 21 Dec 2001 03:52:04 +0000 (03:52 +0000)]
Fix typo in httplib example.
This fixes SF bug #495221.

23 years agoFix up some examples in the tutorial so we don't contradict our own
Fred Drake [Thu, 20 Dec 2001 23:54:56 +0000 (23:54 +0000)]
Fix up some examples in the tutorial so we don't contradict our own
advice on docstrings.
This fixes SF bug #495601.

23 years agoApplying r22c1 branch mods back to the trunk.
Jack Jansen [Thu, 20 Dec 2001 20:41:45 +0000 (20:41 +0000)]
Applying r22c1 branch mods back to the trunk.

23 years agoFix the availability statement for the spawn*() functions to reflect the
Fred Drake [Thu, 20 Dec 2001 17:24:11 +0000 (17:24 +0000)]
Fix the availability statement for the spawn*() functions to reflect the
actual availability on Windows.
This fixes SF bug #495191.