]> granicus.if.org Git - python/log
python
22 years agoNote about rexec.py and Bastion.py. This requires doc changes and
Guido van Rossum [Tue, 7 Jan 2003 23:03:05 +0000 (23:03 +0000)]
Note about rexec.py and Bastion.py.  This requires doc changes and
whatsnew updates as well.

22 years agoDocument EX_OK and friends.
Barry Warsaw [Tue, 7 Jan 2003 22:43:25 +0000 (22:43 +0000)]
Document EX_OK and friends.

22 years agoTest for presence of sysexits.h and set HAVE_SYSEXITS_H if so. Used
Barry Warsaw [Tue, 7 Jan 2003 22:42:49 +0000 (22:42 +0000)]
Test for presence of sysexits.h and set HAVE_SYSEXITS_H if so.  Used
by posixmodule.c.

22 years agoSF #664011, move tarfile module in docs
Neal Norwitz [Tue, 7 Jan 2003 22:36:04 +0000 (22:36 +0000)]
SF #664011, move tarfile module in docs

22 years agoall_ins(): EX_OK and friends, constants from sysexits.h
Barry Warsaw [Tue, 7 Jan 2003 20:57:09 +0000 (20:57 +0000)]
all_ins(): EX_OK and friends, constants from sysexits.h

22 years agoA note about EX_OK and friends in the posixmodule.
Barry Warsaw [Tue, 7 Jan 2003 20:55:26 +0000 (20:55 +0000)]
A note about EX_OK and friends in the posixmodule.

22 years agoFix from Michael Stone for SF bug #660476 and #513033 (bogus thread
Guido van Rossum [Tue, 7 Jan 2003 20:34:19 +0000 (20:34 +0000)]
Fix from Michael Stone for SF bug #660476 and #513033 (bogus thread
state swaps in readline).

22 years agoA few more whitespace normalizations.
Guido van Rossum [Tue, 7 Jan 2003 20:04:12 +0000 (20:04 +0000)]
A few more whitespace normalizations.

22 years agoVarious cleanups:
Guido van Rossum [Tue, 7 Jan 2003 20:01:29 +0000 (20:01 +0000)]
Various cleanups:

- Whitespace normalization.

- Cleaned up some comments.

- Broke long lines.

22 years agoUse regular expressions for branch matching, to avoid including
Guido van Rossum [Tue, 7 Jan 2003 16:46:24 +0000 (16:46 +0000)]
Use regular expressions for branch matching, to avoid including
changes on a sub-branch into output for a given branch.

22 years agoFix for SF bug #642358: only provide a new with a __dict__ or
Guido van Rossum [Tue, 7 Jan 2003 13:41:37 +0000 (13:41 +0000)]
Fix for SF bug #642358: only provide a new with a __dict__ or
__weaklist__ descriptor if we added __dict__ or __weaklist__,
respectively.  With unit test.

22 years agoMuch clearer when super() is used.
Raymond Hettinger [Tue, 7 Jan 2003 10:25:55 +0000 (10:25 +0000)]
Much clearer when super() is used.

22 years agoSF bug #652933 (for IdleFork): Open Module "math" Fails
Raymond Hettinger [Tue, 7 Jan 2003 09:55:03 +0000 (09:55 +0000)]
SF bug #652933 (for IdleFork): Open Module "math" Fails

When a module doesn't have a __path__ attribute, trigger a dialog box
rather than dumping a traceback to the console.

22 years agoRevert change 1.37.
Raymond Hettinger [Tue, 7 Jan 2003 02:09:16 +0000 (02:09 +0000)]
Revert change 1.37.

The nanoseconds saved by using dict.fromkeys aren't
worth the loss in clarity.  Linear searches live on.

22 years agoSF patch #662433: Fill arraymodule's tp_iter and sq_contains slots
Raymond Hettinger [Tue, 7 Jan 2003 01:58:52 +0000 (01:58 +0000)]
SF patch #662433: Fill arraymodule's tp_iter and sq_contains slots

22 years agoCHARSETS, ALIASES, CODEC_MAP: SF feature request 633543, Korean
Barry Warsaw [Tue, 7 Jan 2003 00:29:07 +0000 (00:29 +0000)]
CHARSETS, ALIASES, CODEC_MAP: SF feature request 633543, Korean
support and other charset defaults.  See also:

http://article.gmane.org/gmane.comp.python.mime.devel/250

(this just commits the last bit of the article that wasn't part of
email 2.4.3.)

22 years agoAdd tarfile module
Andrew M. Kuchling [Tue, 7 Jan 2003 00:07:19 +0000 (00:07 +0000)]
Add tarfile module

22 years agoAdd a test for a feature added in rev. 2.82 of typeobject.c:
Guido van Rossum [Mon, 6 Jan 2003 23:00:59 +0000 (23:00 +0000)]
Add a test for a feature added in rev. 2.82 of typeobject.c:

- SLOT1BINFULL() macro: changed this to check for __rop__ overriding
  __op__, like binary_op1() in abstract.c -- the latter only calls the
  slot function once if both types use the same slot function, so the
  slot function must make both calls -- which it already did for the
  __op__, __rop__ order, but not yet for the __rop__, __op__ order
  when B.__class__ is a subclass of A.__class__.

Also test the refinement added in rev. 2.201 that fixes the problem
reported in SF bug #623669.

Also test a similar provision in abstract.c's binary_op1().

22 years agoAdd a refinement to SLOT1BINFULL() that fixes the problem reported in
Guido van Rossum [Mon, 6 Jan 2003 22:57:47 +0000 (22:57 +0000)]
Add a refinement to SLOT1BINFULL() that fixes the problem reported in
SF bug #623669: only try (e.g.) __rdiv__ before __div__ if the right
class actually overrides it.

22 years agoGvR's idea to use memset() for the most common special case of repeating
Raymond Hettinger [Mon, 6 Jan 2003 22:42:41 +0000 (22:42 +0000)]
GvR's idea to use memset() for the most common special case of repeating
a single character.  Shaves another 10% off the running time by avoiding
the lg2(N) loops and cache effects for the other cases.

22 years agoAdd some print statements in verbose mode to announce that the newest
Guido van Rossum [Mon, 6 Jan 2003 21:26:44 +0000 (21:26 +0000)]
Add some print statements in verbose mode to announce that the newest
tests are run.  (All tests in this module should have one of these at
the top.)

22 years ago* add mms (windows media) as another scheme
Skip Montanaro [Mon, 6 Jan 2003 20:27:03 +0000 (20:27 +0000)]
* add mms (windows media) as another scheme
* reformat schemes to 80 columns

22 years agoAdd Tix and rexec changes
Andrew M. Kuchling [Mon, 6 Jan 2003 20:04:17 +0000 (20:04 +0000)]
Add Tix and rexec changes

22 years agoFix spelling.
Raymond Hettinger [Mon, 6 Jan 2003 18:41:01 +0000 (18:41 +0000)]
Fix spelling.

22 years agodelete reference to defunct Misc/HPUX-NOTES. Adjust reference for BeOS
Skip Montanaro [Mon, 6 Jan 2003 17:23:37 +0000 (17:23 +0000)]
delete reference to defunct Misc/HPUX-NOTES.  Adjust reference for BeOS
notes.

22 years agoremoving - contains outdated information
Skip Montanaro [Mon, 6 Jan 2003 17:14:28 +0000 (17:14 +0000)]
removing - contains outdated information

22 years agoSF #642236, optparse LaTeX docs by Johannes Gijsbers
Neal Norwitz [Mon, 6 Jan 2003 16:51:37 +0000 (16:51 +0000)]
SF #642236, optparse LaTeX docs by Johannes Gijsbers

22 years agoStrike any hint that from-import-* could ever be reasonable; it's a
Fred Drake [Mon, 6 Jan 2003 16:38:10 +0000 (16:38 +0000)]
Strike any hint that from-import-* could ever be reasonable; it's a
vile abomination and should be eradicated!

22 years agoDisable the rexec test now that rexec is out of grace.
Guido van Rossum [Mon, 6 Jan 2003 16:03:43 +0000 (16:03 +0000)]
Disable the rexec test now that rexec is out of grace.

22 years agoRemove bastion test output
Guido van Rossum [Mon, 6 Jan 2003 16:02:12 +0000 (16:02 +0000)]
Remove bastion test output

22 years agoFix some nits Guido brought up last August:
Fred Drake [Mon, 6 Jan 2003 15:50:32 +0000 (15:50 +0000)]
Fix some nits Guido brought up last August:
- give subsection pages nicer names
- shorten some really long table cells; table cells can't wrap in the
  typeset version of the documentation

22 years agoDisable the Bastion test now that Bastion is out of grace.
Guido van Rossum [Mon, 6 Jan 2003 15:45:11 +0000 (15:45 +0000)]
Disable the Bastion test now that Bastion is out of grace.

22 years agoSabotage rexec.py. It is not safe since the new-style classes.
Guido van Rossum [Mon, 6 Jan 2003 15:43:34 +0000 (15:43 +0000)]
Sabotage rexec.py.  It is not safe since the new-style classes.

22 years agoFix markup so this will format again.
Fred Drake [Mon, 6 Jan 2003 15:03:11 +0000 (15:03 +0000)]
Fix markup so this will format again.

22 years agoSF bug #592859: os.chmod is underdocumented
Raymond Hettinger [Mon, 6 Jan 2003 13:31:26 +0000 (13:31 +0000)]
SF bug #592859: os.chmod is underdocumented

Document constants for permission bits.

22 years agoTranslate spaces in the machine name to underscores
Andrew M. Kuchling [Mon, 6 Jan 2003 13:28:12 +0000 (13:28 +0000)]
Translate spaces in the machine name to underscores
    (Power Macintosh -> Power_Macintosh)

22 years agoSF bug #661848 and #631055: Clarify use of __all__.
Raymond Hettinger [Mon, 6 Jan 2003 12:54:54 +0000 (12:54 +0000)]
SF bug #661848 and #631055:  Clarify use of __all__.

22 years agoPatch #661760: Cygwin auto-import module patch
Jason Tishler [Mon, 6 Jan 2003 12:41:26 +0000 (12:41 +0000)]
Patch #661760: Cygwin auto-import module patch

The attached patch enables shared extension
modules to build cleanly under Cygwin without
moving the static initialization of certain function
pointers (i.e., ones exported from the Python
DLL core) to a module initialization function.

Additionally, this patch fixes the modules that
have been changed in the past to accommodate
Cygwin.

22 years agoUsed dictionaries rather than lists for membership testing.
Raymond Hettinger [Mon, 6 Jan 2003 12:30:53 +0000 (12:30 +0000)]
Used dictionaries rather than lists for membership testing.

22 years agoalways also search on sys.path for res files
Just van Rossum [Mon, 6 Jan 2003 11:15:05 +0000 (11:15 +0000)]
always also search on sys.path for res files

22 years agoOptimize string_repeat.
Raymond Hettinger [Mon, 6 Jan 2003 10:33:56 +0000 (10:33 +0000)]
Optimize string_repeat.

Christian Tismer pointed out the high cost of the loop overhead and
function call overhead for 'c' * n where n is large.  Accordingly,
the new code only makes lg2(n) loops.

Interestingly, 'c' * 1000 * 1000 ran a bit faster with old code.  At some
point, the loop and function call overhead became cheaper than invalidating
the cache with lengthy memcpys.  But for more typical sizes of n, the new
code runs much faster and for larger values of n it runs only a bit slower.

22 years agoSF feature #618024, urlparse fails on imap://
Neal Norwitz [Mon, 6 Jan 2003 06:58:31 +0000 (06:58 +0000)]
SF feature #618024, urlparse fails on imap://

22 years agoSF feature #618024, urlparse fails on imap://
Neal Norwitz [Mon, 6 Jan 2003 06:51:36 +0000 (06:51 +0000)]
SF feature #618024, urlparse fails on imap://

22 years agoSF #651082, tarfile module implementation from Lars Gustäbel
Neal Norwitz [Sun, 5 Jan 2003 23:19:43 +0000 (23:19 +0000)]
SF #651082, tarfile module implementation from Lars Gustäbel

22 years agoFix a typo
Neal Norwitz [Sun, 5 Jan 2003 22:20:51 +0000 (22:20 +0000)]
Fix a typo

22 years ago- squashed bare except in rmtree()
Just van Rossum [Sun, 5 Jan 2003 19:44:11 +0000 (19:44 +0000)]
- squashed bare except in rmtree()
- improved readability of rmtree; removed silly apply()

22 years agoAt least one Solaris box in the snake farm only supports "C" locale.
Neal Norwitz [Sun, 5 Jan 2003 18:15:23 +0000 (18:15 +0000)]
At least one Solaris box in the snake farm only supports "C" locale.
Adding try/except allows the test to pass

22 years agoMove the statistical tests for four distributions into the unittest suite.
Raymond Hettinger [Sun, 5 Jan 2003 09:20:06 +0000 (09:20 +0000)]
Move the statistical tests for four distributions into the unittest suite.

22 years agoPyCFunction_Call(): Combined two switch cases w/ identical bodies.
Tim Peters [Sun, 5 Jan 2003 07:22:44 +0000 (07:22 +0000)]
PyCFunction_Call():  Combined two switch cases w/ identical bodies.

22 years agoAdd a test case.
Raymond Hettinger [Sun, 5 Jan 2003 01:08:34 +0000 (01:08 +0000)]
Add a test case.

22 years agoTweak __version__ -- the current code is between Optik 1.4 and 1.4.1.
Greg Ward [Sat, 4 Jan 2003 21:54:26 +0000 (21:54 +0000)]
Tweak __version__ -- the current code is between Optik 1.4 and 1.4.1.

22 years agomodule to run commands in a Terminal.app window
Just van Rossum [Sat, 4 Jan 2003 21:44:21 +0000 (21:44 +0000)]
module to run commands in a Terminal.app window

22 years agodatetime_from_timet_and_us(): ignore leap seconds if the platform
Tim Peters [Sat, 4 Jan 2003 18:17:36 +0000 (18:17 +0000)]
datetime_from_timet_and_us():  ignore leap seconds if the platform
localtime()/gmtime() insists on delivering them, + associated doc
changes.

Redid the docs for datetimtez.astimezone().

22 years agocorrect comment (and add newline at end)
Just van Rossum [Sat, 4 Jan 2003 16:26:26 +0000 (16:26 +0000)]
correct comment (and add newline at end)

22 years agoAdd Shockwave Flash.
Guido van Rossum [Sat, 4 Jan 2003 14:11:38 +0000 (14:11 +0000)]
Add Shockwave Flash.

(backport candidate?)

22 years agoCorrect long standing bugs in the methods for random distributions.
Raymond Hettinger [Sat, 4 Jan 2003 09:26:32 +0000 (09:26 +0000)]
Correct long standing bugs in the methods for random distributions.
The range of u=random() is [0,1), so log(u) and 1/x can fail.
Fix by setting u=1-random() or by reselecting for a usable value.

Will backport.

22 years agoFix typo.
Martin v. Löwis [Sat, 4 Jan 2003 08:54:59 +0000 (08:54 +0000)]
Fix typo.

22 years agoRemove appartment check from dooneevent. Fixes #660961.
Martin v. Löwis [Sat, 4 Jan 2003 08:36:57 +0000 (08:36 +0000)]
Remove appartment check from dooneevent. Fixes #660961.
Check whether self is NULL in mainloop.

22 years agoA new implementation of astimezone() that does what we agreed on in all
Tim Peters [Sat, 4 Jan 2003 06:03:15 +0000 (06:03 +0000)]
A new implementation of astimezone() that does what we agreed on in all
cases, plus even tougher tests of that.  This implementation follows
the correctness proof very closely, and should also be quicker (yes,
I wrote the proof before the code, and the code proves the proof <wink>).

22 years agoTest an edge case for sample().
Raymond Hettinger [Sat, 4 Jan 2003 05:55:11 +0000 (05:55 +0000)]
Test an edge case for sample().

22 years agoRemove the random=None nonsense from sample() before it gets set in stone.
Raymond Hettinger [Sat, 4 Jan 2003 05:20:33 +0000 (05:20 +0000)]
Remove the random=None nonsense from sample() before it gets set in stone.
It was once available so that faster generators could be substituted.  Now,
that is less necessary and preferrably done via subclassing.

Also, clarified and shortened the comments for sample().

22 years agoMoved this info to the top-level README where all the other
Skip Montanaro [Sat, 4 Jan 2003 04:12:19 +0000 (04:12 +0000)]
Moved this info to the top-level README where all the other
platform-specific verbiage lives.

22 years agoThe bsddb3 library does not build w/ Berkeley DB 3.0. 3.1 is the earliest
Skip Montanaro [Sat, 4 Jan 2003 04:06:56 +0000 (04:06 +0000)]
The bsddb3 library does not build w/ Berkeley DB 3.0.  3.1 is the earliest
supported version.

22 years agoMerged Misc/AtheOS-NOTES into the platform-specific section. Rewrote the
Skip Montanaro [Sat, 4 Jan 2003 04:05:51 +0000 (04:05 +0000)]
Merged Misc/AtheOS-NOTES into the platform-specific section.  Rewrote the
bsddb module build note to reflect the inclusion of bsddb3 and the demotion
of the old bsddb module.

22 years agoSF bug #655271: Slightly modify locals() doc
Raymond Hettinger [Sat, 4 Jan 2003 02:16:22 +0000 (02:16 +0000)]
SF bug #655271: Slightly modify locals() doc

Clarify the operation of locals().

22 years agoSF bug #651149: Review libshelve.tex when possible
Raymond Hettinger [Sat, 4 Jan 2003 01:53:38 +0000 (01:53 +0000)]
SF bug #651149: Review libshelve.tex when possible

Minor fixes to markup, spelling, parameter names, and abbreviations.

22 years agoM AutoExpand.py
Kurt B. Kaiser [Sat, 4 Jan 2003 01:43:53 +0000 (01:43 +0000)]
M AutoExpand.py
M Bindings.py
M EditorWindow.py
M PyShell.py
M config-keys.def
M configHandler.py
M help.txt

1. Annotate the shell window with last restart boundary upon restart.
2. Provide a shell menu entry and hot key (F6) to jump to the last
   restart boundary.
3. Add a new shell menu feature to restart the shell.
4. Update the help menu to add these features.
5. Update the help menu to put text in same order as the menus.
6. Correct a capitalization inconsistency on the Edit menu: Expand Word
7. Rename the "Debug" menu to be "Shell": it's doing more now.
8. Rearrange the "Shell" menu to make the StackViewer entries adjacent.
9. Add a get_geometry method to EditorWindow, which may be of use in
   making window positions persisent.
10. Make <ctrl-v> the "Classic Windows" paste key.
11. Restore decorum on the Help menu by removing "Advice".  As Guido said,
    things will never be the same.  Thanks, David!

22 years agoFix compiler warning
Neal Norwitz [Sat, 4 Jan 2003 01:02:25 +0000 (01:02 +0000)]
Fix compiler warning

22 years agoSF Patch #661440: Refactor and streamline PyCFunction_Call
Raymond Hettinger [Sat, 4 Jan 2003 00:37:53 +0000 (00:37 +0000)]
SF Patch #661440: Refactor and streamline PyCFunction_Call

Refactor code in PyCFunction_Call giving a modest (tiny) speed boost,
a slight improvement in semantics (now detects invalid flag combinations),
and (arguably) improved clarity (making it blindingly clear which flag
combinations are allowed).  All this comes at a cost of a few lines of
code duplication.

* Folded test for METH_KEYWORDS into the switch/case.
* Deferred testing for an empty dictionary until when and where needed.
* Make a similar deferral for filling the "size" variable.
* Inverted the dictionary test so that the common case falls though
  instead of making a jump.

22 years agoWrap doc strings in PyDoc_STRVAR. Fix .string docstring. Provide default
Martin v. Löwis [Sat, 4 Jan 2003 00:33:13 +0000 (00:33 +0000)]
Wrap doc strings in PyDoc_STRVAR. Fix .string docstring. Provide default
macro definitions for older Python releases.

22 years agoCompleted astimezone()'s correctness proof. This also proves we can get
Tim Peters [Sat, 4 Jan 2003 00:26:59 +0000 (00:26 +0000)]
Completed astimezone()'s correctness proof.  This also proves we can get
the desired compromise behavior during the "problem hour" when DST ends
cheaply (but I haven't yet implemented that).

22 years agoConvert Tcl path objects to strings. Fixes #661357.
Martin v. Löwis [Sat, 4 Jan 2003 00:08:09 +0000 (00:08 +0000)]
Convert Tcl path objects to strings. Fixes #661357.
Provide .string attribute and __unicode for Tcl_Objs.

22 years agoRemark about datetime tzinfo examples.
Tim Peters [Fri, 3 Jan 2003 22:35:24 +0000 (22:35 +0000)]
Remark about datetime tzinfo examples.

22 years agoReplaced the flawed "local time" example tzinfo class with the guts
Tim Peters [Fri, 3 Jan 2003 22:26:57 +0000 (22:26 +0000)]
Replaced the flawed "local time" example tzinfo class with the guts
of Guido's later Local.py (from the datetime sandbox).

22 years agoGrammatical fix in comment.
Greg Ward [Fri, 3 Jan 2003 21:22:08 +0000 (21:22 +0000)]
Grammatical fix in comment.

22 years agoGrammatical fix: change possessive "it's" to "its".
Greg Ward [Fri, 3 Jan 2003 21:09:57 +0000 (21:09 +0000)]
Grammatical fix: change possessive "it's" to "its".

22 years agoRemove a list comprehension, because a loop over the list
Walter Dörwald [Fri, 3 Jan 2003 21:06:46 +0000 (21:06 +0000)]
Remove a list comprehension, because a loop over the list
is done afterwards anyway, so what the list comp does
can be done in the loop.

22 years agoPass the strict argument from read() on to readfp(), so the
Walter Dörwald [Fri, 3 Jan 2003 21:02:36 +0000 (21:02 +0000)]
Pass the strict argument from read() on to readfp(), so the
file content ends up in the correct dict.

22 years agoUse RUNSHARED for python invocations. Fixes #661408.
Martin v. Löwis [Fri, 3 Jan 2003 20:39:29 +0000 (20:39 +0000)]
Use RUNSHARED for python invocations. Fixes #661408.

22 years agoFix read_mime_types() so that it returns a dict as documented.
Walter Dörwald [Fri, 3 Jan 2003 19:33:17 +0000 (19:33 +0000)]
Fix read_mime_types() so that it returns a dict as documented.
This fixes a bug reported as http://www.python.org/sf/661630,
which was introduced in the patch http://www.python.org/sf/554192.

22 years agoAllow PyFile_GetLine() to return Unicode objects. Fixes #660165.
Martin v. Löwis [Fri, 3 Jan 2003 19:16:14 +0000 (19:16 +0000)]
Allow PyFile_GetLine() to return Unicode objects. Fixes #660165.

22 years agoFix SF #659228, 'realpath' function missing from os.path
Neal Norwitz [Fri, 3 Jan 2003 18:12:28 +0000 (18:12 +0000)]
Fix SF #659228, 'realpath' function missing from os.path

Also added realpath = abspath for os2emx, similar to windows/mac
which also don't really implement realpath.

Backport candidate, I think?

22 years agoSpread the blame (err, I mean credit) for ossaudiodev around a bit.
Greg Ward [Fri, 3 Jan 2003 18:03:21 +0000 (18:03 +0000)]
Spread the blame (err, I mean credit) for ossaudiodev around a bit.

22 years agoMention ossaudiodev.
Greg Ward [Fri, 3 Jan 2003 18:02:15 +0000 (18:02 +0000)]
Mention ossaudiodev.

22 years agoFix SF #659228, 'realpath' function missing from os.path
Neal Norwitz [Fri, 3 Jan 2003 18:01:57 +0000 (18:01 +0000)]
Fix SF #659228, 'realpath' function missing from os.path

Also added realpath = abspath for os2emx, similar to windows/mac
which also don't really implement realpath.

Backport candidate, I think?

22 years agoWrite PEP 301 section
Andrew M. Kuchling [Fri, 3 Jan 2003 16:52:27 +0000 (16:52 +0000)]
Write PEP 301 section
Mention difference between 2.2.2 and 2.3 True and False

22 years agoMention that imaplib now supports SSL -- this wasn't noted before.
Guido van Rossum [Fri, 3 Jan 2003 16:33:49 +0000 (16:33 +0000)]
Mention that imaplib now supports SSL -- this wasn't noted before.

22 years agoqualify known Solaris versions related to the binutils breakage.
Skip Montanaro [Fri, 3 Jan 2003 16:26:23 +0000 (16:26 +0000)]
qualify known Solaris versions related to the binutils breakage.

22 years agoAdd SSL support for imaplib; add empty PEP301 section
Andrew M. Kuchling [Fri, 3 Jan 2003 16:24:28 +0000 (16:24 +0000)]
Add SSL support for imaplib; add empty PEP301 section

22 years agoupdate info about binutils 2.13 breakage on Solaris.
Skip Montanaro [Fri, 3 Jan 2003 16:17:08 +0000 (16:17 +0000)]
update info about binutils 2.13 breakage on Solaris.

22 years ago[Patch #658093 ] Documentation support for PEP 301
Andrew M. Kuchling [Fri, 3 Jan 2003 15:42:14 +0000 (15:42 +0000)]
[Patch #658093 ] Documentation support for PEP 301
  Add two sections to this manual about package meta-data and about
  registering packages

22 years ago[Patch #658094 ] PEP 301 implementation
Andrew M. Kuchling [Fri, 3 Jan 2003 15:29:28 +0000 (15:29 +0000)]
[Patch #658094 ] PEP 301 implementation
   Add the 'register' distutils command

22 years ago[Patch #658094] PEP 301 implementation
Andrew M. Kuchling [Fri, 3 Jan 2003 15:24:36 +0000 (15:24 +0000)]
[Patch #658094] PEP 301 implementation
  Add 'classifiers' keyword to DistributionMetadata

22 years agoFix for bug #661136
Just van Rossum [Fri, 3 Jan 2003 11:18:56 +0000 (11:18 +0000)]
Fix for bug #661136
Lesson learned: kids should not be allowed to use API's starting
with an underscore :-/
zipimport in 2.3a1 is even more broken than I thought: I attemped
to _PyString_Resize a string created by PyString_FromStringAndSize,
which fails for strings with length 0 or 1 since the latter returns
an interned string in those cases. This would cause a SystemError
with empty source files (and no matching pyc) in the zip archive.
I rewrote the offending code to simply allocate a new buffer and
avoid _PyString_Resize altogether.
Added a test that would've caught the problem.

22 years agoAdd contributor.
Raymond Hettinger [Fri, 3 Jan 2003 10:41:50 +0000 (10:41 +0000)]
Add contributor.

22 years agoRemove debugging prints.
Michael W. Hudson [Fri, 3 Jan 2003 10:25:20 +0000 (10:25 +0000)]
Remove debugging prints.

22 years agoSF patch 660559: Use METH_O and METH_NOARGS where possible
Raymond Hettinger [Fri, 3 Jan 2003 08:24:58 +0000 (08:24 +0000)]
SF patch 660559: Use METH_O and METH_NOARGS where possible

Simplify code and speed access by using PyArg_UnpackTuple, METH_O and
METH_NOARGS in three modules that can benefit from it.

22 years agoFixed markup.
David Goodger [Fri, 3 Jan 2003 03:30:21 +0000 (03:30 +0000)]
Fixed markup.

22 years agoUpdated (2.3 OK now)
David Goodger [Fri, 3 Jan 2003 03:29:58 +0000 (03:29 +0000)]
Updated (2.3 OK now)

22 years agoFix error in previous correction; thanks, Just!
Andrew M. Kuchling [Thu, 2 Jan 2003 23:50:18 +0000 (23:50 +0000)]
Fix error in previous correction; thanks, Just!