Jack Jansen
620a7667eb
Updated to Universal Headers 3.4
2001-12-18 15:39:38 +00:00
Just van Rossum
f30c3ad0d9
Added missing docstring
2001-12-18 12:53:47 +00:00
Just van Rossum
66d78bf2a0
Added support for tab controls and initial (incomplete) support
...
for DataBrowser controls.
2001-12-18 12:47:47 +00:00
Just van Rossum
820867662b
Patch #494553 by Donovan Preston: initial implementation
...
for GetEventParameter().
2001-12-18 12:35:57 +00:00
Tim Peters
4befff95e9
initxxsubtype(): Add a comment to make the magic clearer; I doubt it's
...
obvious to anyone except PyType_Ready's author <0.9 wink>.
2001-12-17 18:26:19 +00:00
Guido van Rossum
a7b9b3ccba
Use PyType_Ready() for initialization of the ob_type field of our
...
types (the tp_base field must be initialized prior to that call).
2001-12-17 17:25:53 +00:00
Guido van Rossum
8efd6ceecc
Update comments about mpz, pointing to gmpy and mxNumber rather than
...
to the non-existing pympz (did that ever exist?).
2001-12-17 17:24:43 +00:00
Guido van Rossum
f884b74910
- PyType_Ready(): Initialize the ob_type field to &PyType_Type if it's
...
NULL, so that you can call PyType_Ready() to initialize a type that
is to be separately compiled with C on Windows.
inherit_special(): Add a long comment explaining that you have to set
tp_new if your base class is PyBaseObject_Type.
2001-12-17 17:14:22 +00:00
Guido van Rossum
facf24bdc7
Don't use Latex \code{...} in docstrings.
2001-12-17 16:07:06 +00:00
Barry Warsaw
6e1c576a4e
Get rid of the stupid backslash in front of the column zero open
...
paren. This was there to worm around a stupid XEmacs bug, but since I
can't tickle the bug in newer XEmacsen (just tried w/21.4.5) it's
possible the problem has been fixed. We shouldn't have to be working
around editor bugs anyway.
If it crops up again, I'll report it (again) to the XEmacs crowd.
2001-12-17 15:40:24 +00:00
Jack Jansen
086f7c3890
There's a new include file AEInteraction.h which contains AESend and friends.
2001-12-17 11:47:27 +00:00
Jack Jansen
ec982e2739
TickCount moved to a different header file. We manually added it back in here, for conveninece.
2001-12-17 11:46:50 +00:00
Sjoerd Mullender
564980bd86
Portability fix: Not every compiler implements the extension of
...
unescaped newlines in strings.
2001-12-17 11:39:56 +00:00
Steve Purcell
ca9aaf36e1
Synch with pyunit CVS:
...
- Adds Fred's patch 487662: "Better error message for assertEqual"
- Removed small portion of code unused after Guido's patch
490119: "Don't treat ^C as error"
2001-12-17 10:13:17 +00:00
Guido van Rossum
33c1a8893d
SF patch #493452 : docstrings for staticmethod/classmethod (Skip
...
Montanaro)
(With minor adjustments.)
2001-12-17 02:53:53 +00:00
Tim Peters
dd5c05fe6d
David Abrahams tried to compile this as a separate DLL under MSVC, and
...
got a barrage of compile errors that didn't make sense to the C++ brain:
MSVC does not allow C (but does allow C++) initializers to contain
data addresses supplied by other DLLs. So changed the initializers here
to use dummy nulls, and changed module init to plug in the foreign
addresses at runtime (manually simulating what C++ does by magic). Tested
on Windows, and Guido tested on Linux (thanks!). BTW, the *point* is that
people are going to use this module as a template for writing their own
subtypes, and it's unusual for extension authors to build their extensions
into Python directly (separate DLLs are the norm on Windows); so it's
better if we give them a template that works <wink>.
2001-12-17 01:27:01 +00:00
Jack Jansen
2168e9d602
Adapted for Universal Headers 3.4
2001-12-16 20:18:40 +00:00
Tim Peters
b519638d1e
_PyEval_SliceIndex(): explain why a NULL argument is allowed (thanks
...
to Guido for the revelation).
2001-12-16 19:44:20 +00:00
Tim Peters
cb479e78e0
_PyEval_SliceIndex(): Repaired the comments, and added XXX comments
...
about its dubious treatment of NULL (also opened a bug report on that,
but don't want to risk changing it this late in the 2.2 game).
2001-12-16 19:11:44 +00:00
Fred Drake
0c0b5305ae
Mark the mpz module deprecated as of Python 2.2.
2001-12-16 01:54:55 +00:00
Tim Peters
fc1a7ce985
Update the example Windows extension to 2.2 (was hardcoded to 2.1).
2001-12-15 22:27:01 +00:00
Fred Drake
b9c0ef5db7
Update to reflect recently added markup.
2001-12-15 22:24:06 +00:00
Tim Peters
1422e9dc60
SF patch 493739 2 Bugfixes for 2.2c1 (RISC OS specific), from
...
Dietmar Schwertberger.
Bugfix candidate.
"""
RISCOS/Modules/getpath_riscos.c:
Include trailing '\0' when using strncpy [copy
strlen(...)+1 characters].
Lib/plat-riscos/riscospath.py:
Use riscosmodule.expand for os.path.abspath.
[fixes problems with site.py where
abspath("<Python$Dir>") returned
join(os.getcwd(), "<Python$Dir>") as e.g.
"SCSI::SCSI4.$.<Python$Dir>" because "<Python$Dir>"
wasn't recognised as an absolute path.]
"""
2001-12-15 22:12:47 +00:00
Fred Drake
c57772870b
Add a link to the mxNumber package.
2001-12-15 20:37:40 +00:00
Fred Drake
b40501b05e
Add link to the gmpy project.
2001-12-15 18:37:24 +00:00
Guido van Rossum
796e1e0b30
Don't call resetwarnings(). Be more restrictive in what we filter out
...
instead.
2001-12-15 18:04:10 +00:00
Guido van Rossum
2b8235e485
SF bug #493561 : incorrect format string descrobject.c (Neal Norwitz)
...
%300s should be %.300s, twice.
2001-12-15 05:00:30 +00:00
Jack Jansen
6943444664
Finally CW7 allows me to replace the continually-in-need-of-updating exports files with one 6-line anti-export-file. Yeah! (Thanks Alex, for reminding me:-)
2001-12-15 00:23:35 +00:00
Tim Peters
909c091646
Post-release fiddling -- prep for 2.2 final.
2001-12-14 23:16:18 +00:00
Just van Rossum
2c39115240
Made event callbacks more rubust: keep an actual reference to the
...
python callback, and do RemoveEventHandler() upon deallocation.
2001-12-14 23:16:04 +00:00
Jack Jansen
9635f33e5b
Quick patch to allow building with Universal Headers 3.4.
2001-12-14 23:03:07 +00:00
Jack Jansen
1b8bd94f73
The import of the scanner can also fail, cater for that.
2001-12-14 23:01:34 +00:00
Jack Jansen
28f14012d7
We have strdup(), but not its prototype:-(
2001-12-14 22:58:11 +00:00
Jack Jansen
031b779d43
Use getcwd(), not silly old getwd().
2001-12-14 22:57:34 +00:00
Fred Drake
08d752cf28
Update to use the notice environment so a multi-paragraph note can be
...
appropriately marked.
2001-12-14 22:55:14 +00:00
Jack Jansen
75401a0214
Updated for CW7
2001-12-14 22:53:16 +00:00
Fred Drake
591dd8f620
Update information about __del__() & reference cycles for CPython.
...
This partially fixes SF bug #492619 .
Fix a typo & use the new notice environment instead of (ab)using the \note
and \warning macros.
2001-12-14 22:52:41 +00:00
Jack Jansen
84937719a9
Updated to CodeWarrior Pro 7.
2001-12-14 22:50:26 +00:00
Fred Drake
6ca33771f8
Add a new environment for whole-paragraph (or longer) notes & warnings.
2001-12-14 22:50:06 +00:00
Jack Jansen
615e2505f0
Many of the new calls are Carbon-only. Flagged them as such.
2001-12-14 22:47:19 +00:00
Jack Jansen
f839c27027
Added test_socketserver and test_unicode_file to tests expected to be
...
skipped on Mac OS X. Not sure yet about test_locale.py: this may be
due to my copy of Mac OS X (although it talks english fine enough).
2001-12-14 21:28:53 +00:00
Fred Drake
dda7dcb3f7
Add a missing "cycle".
2001-12-14 21:19:08 +00:00
Barry Warsaw
0655745ab0
Merge last minute 2.2c1 changes from branch to trunk.
2001-12-14 20:47:12 +00:00
Barry Warsaw
7675097d78
send(), ehlo(): Integrate patch #487310 by Fazal Majid. Consistently
...
call self.close() just before raising SMTPServerDisconnected. This
allows you to, e.g. reconnect after a server timeout.
Merged from the 2.2c1 branch.
2001-12-14 20:34:20 +00:00
Barry Warsaw
19554f60c2
As usual, bump the version number.
2001-12-14 20:30:23 +00:00
Fred Drake
6c01e25d9f
Note the tighter complex() parameter checking.
2001-12-14 17:08:12 +00:00
Fred Drake
b062cb22d0
Work around the problem of spaces after a "}" being dropped by LaTeX2HTML if
...
they were represented by newlines in the document source.
Partially fixes SF bug #493243 .
2001-12-14 16:57:31 +00:00
Fred Drake
e27f86820a
The valign attribute to control the vertical alignment of a table cell should
...
be on the <tr> element, not the <table> element.
Partially fixes SF bug #493243 .
2001-12-14 16:54:53 +00:00
Fred Drake
e6965cd9f0
Bump version numbers for the trunk.
2001-12-14 16:45:04 +00:00
Fred Drake
7b82271bb5
Reflect change of Digital Creations to Zope Corporation.
2001-12-14 16:42:56 +00:00