]> granicus.if.org Git - python/log
python
18 years agoList gc.get_count() in the module docstring.
Barry Warsaw [Mon, 9 Oct 2006 19:43:24 +0000 (19:43 +0000)]
List gc.get_count() in the module docstring.

18 years agoPatch #1572724: fix typo ('=' instead of '==') in _msi.c.
Georg Brandl [Mon, 9 Oct 2006 19:03:06 +0000 (19:03 +0000)]
Patch #1572724: fix typo ('=' instead of '==') in _msi.c.

18 years agoFix wording in comment
Andrew M. Kuchling [Mon, 9 Oct 2006 18:05:19 +0000 (18:05 +0000)]
Fix wording in comment

18 years agoAdd news item for rev. 52211 change
Andrew M. Kuchling [Mon, 9 Oct 2006 17:10:12 +0000 (17:10 +0000)]
Add news item for rev. 52211 change

18 years agoMacOSX: add more logic to recognize the correct startup file to patch to the
Ronald Oussoren [Sun, 8 Oct 2006 18:18:26 +0000 (18:18 +0000)]
MacOSX: add more logic to recognize the correct startup file to patch to the
shell profile patching post-install script.

18 years agoMacOSX: The universal build requires that users have the MacOSX10.4u SDK
Ronald Oussoren [Sun, 8 Oct 2006 17:51:46 +0000 (17:51 +0000)]
MacOSX: The universal build requires that users have the MacOSX10.4u SDK
installed to build extensions. This patch makes distutils emit a warning when
the compiler should use an SDK but that SDK is not installed, hopefully reducing
some confusion.

18 years agoMacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
Ronald Oussoren [Sun, 8 Oct 2006 17:49:52 +0000 (17:49 +0000)]
MacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
universal build of python on OSX 10.3 to ensure that those flags can be used
to compile code (the universal build uses compiler flags that aren't supported
on 10.3). This patches gives the same treatment to CFLAGS, PY_CFLAGS and
BLDSHARED.

18 years agoFix for bug #1570284
Ronald Oussoren [Sun, 8 Oct 2006 17:40:02 +0000 (17:40 +0000)]
Fix for bug #1570284

18 years agoAdd version number to the link to the python documentation in
Ronald Oussoren [Sun, 8 Oct 2006 17:37:58 +0000 (17:37 +0000)]
Add version number to the link to the python documentation in
/Developer/Documentation/Python, better for users that install multiple versions
of python.

18 years agoBug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
Hye-Shik Chang [Sun, 8 Oct 2006 13:48:34 +0000 (13:48 +0000)]
Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters.  (Submitted by Ray Chason)

18 years agoAdd missing NEWS entry for rev. 52129.
Georg Brandl [Sun, 8 Oct 2006 07:11:54 +0000 (07:11 +0000)]
Add missing NEWS entry for rev. 52129.

18 years agoNote that the excel_tab class is registered as the "excel-tab" dialect.
Skip Montanaro [Sat, 7 Oct 2006 11:05:02 +0000 (11:05 +0000)]
Note that the excel_tab class is registered as the "excel-tab" dialect.
Fixes 1572471.  Make a similar change for the excel class and clean up
references to the Dialects and Formatting Parameters section in a few
places.

18 years agoComment grammar
Andrew M. Kuchling [Fri, 6 Oct 2006 18:51:55 +0000 (18:51 +0000)]
Comment grammar

18 years agoA very minor bug fix: this code looks like it is designed to accept
Armin Rigo [Fri, 6 Oct 2006 16:33:22 +0000 (16:33 +0000)]
A very minor bug fix: this code looks like it is designed to accept
any hue value and do the modulo itself, except it doesn't quite do
it in all cases.  At least, the "cannot get here" comment was wrong.

18 years ago[Bug #1545341] Allow 'classifier' parameter to be a tuple as well as a list. Will...
Andrew M. Kuchling [Fri, 6 Oct 2006 13:18:26 +0000 (13:18 +0000)]
[Bug #1545341] Allow 'classifier' parameter to be a tuple as well as a list.  Will backport.

18 years agoFix name.
Georg Brandl [Fri, 6 Oct 2006 12:46:08 +0000 (12:46 +0000)]
Fix name.

18 years agoCase fix
Andrew M. Kuchling [Fri, 6 Oct 2006 10:41:01 +0000 (10:41 +0000)]
Case fix

18 years ago- update links
Fred Drake [Fri, 6 Oct 2006 00:03:45 +0000 (00:03 +0000)]
- update links
- remove Sleepycat name now that they have been bought

18 years agoClarify what "re-initialization" means for init_builtin() and init_dynamic().
Brett Cannon [Thu, 5 Oct 2006 22:02:31 +0000 (22:02 +0000)]
Clarify what "re-initialization" means for init_builtin() and init_dynamic().

Also remove warning about re-initialization as possibly raising an execption as
both call _PyImport_FindExtension() which pulls any module that was already
imported from the Python process' extension cache and just copies the __dict__
into the module stored in sys.modules.

18 years agoAdd MSVC8 project files to create wininst-8.exe.
Martin v. Löwis [Wed, 4 Oct 2006 15:25:28 +0000 (15:25 +0000)]
Add MSVC8 project files to create wininst-8.exe.

18 years agoCause a PyObject_Malloc() failure to trigger a MemoryError, and then
Andrew M. Kuchling [Wed, 4 Oct 2006 13:42:43 +0000 (13:42 +0000)]
Cause a PyObject_Malloc() failure to trigger a MemoryError, and then
add 'if (PyErr_Occurred())' checks to various places so that NULL is
returned properly.

2.4 backport candidate.

18 years agoForward-port of r52136,52138: a review of overflow-detecting code.
Armin Rigo [Wed, 4 Oct 2006 12:17:45 +0000 (12:17 +0000)]
Forward-port of r52136,52138: a review of overflow-detecting code.

* unified the way intobject, longobject and mystrtoul handle
  values around -sys.maxint-1.

* in general, trying to entierely avoid overflows in any computation
  involving signed ints or longs is extremely involved.  Fixed a few
  simple cases where a compiler might be too clever (but that's all
  guesswork).

* more overflow checks against bad data in marshal.c.

* 2.5 specific: fixed a number of places that were still confusing int
  and Py_ssize_t.  Some of them could potentially have caused
  "real-world" breakage.

* list.pop(x): fixing overflow issues on x was messy.  I just reverted
  to PyArg_ParseTuple("n"), which does the right thing.  (An obscure
  test was trying to give a Decimal to list.pop()... doesn't make
  sense any more IMHO)

* trying to write a few tests...

18 years agoCompilation problem caused by conflicting typedefs for uint32_t
Armin Rigo [Wed, 4 Oct 2006 10:23:57 +0000 (10:23 +0000)]
Compilation problem caused by conflicting typedefs for uint32_t
(unsigned long vs. unsigned int).

18 years agoForward port r52134: Add uuids for 2.4.4.
Martin v. Löwis [Wed, 4 Oct 2006 09:21:20 +0000 (09:21 +0000)]
Forward port r52134: Add uuids for 2.4.4.

18 years agoFix integer negation and absolute value to not rely
Martin v. Löwis [Wed, 4 Oct 2006 05:47:34 +0000 (05:47 +0000)]
Fix integer negation and absolute value to not rely
on undefined behaviour of the C compiler anymore.
Will backport to 2.5 and 2.4.

18 years agoFix for SF bug 1569998: break permitted inside try.
Jeremy Hylton [Wed, 4 Oct 2006 02:24:52 +0000 (02:24 +0000)]
Fix for SF bug 1569998: break permitted inside try.

The compiler was checking that there was something on the fblock
stack, but not that there was a loop on the stack.  Fixed that and
added a test for the specific syntax error.

Bug fix candidate.

18 years agodecode_rfc2231(): As Christian Robottom Reis points out, it makes no sense to
Barry Warsaw [Wed, 4 Oct 2006 02:06:36 +0000 (02:06 +0000)]
decode_rfc2231(): As Christian Robottom Reis points out, it makes no sense to
test for parts > 3 when we use .split(..., 2).

18 years agoConvert test_imp over to unittest.
Brett Cannon [Tue, 3 Oct 2006 23:23:14 +0000 (23:23 +0000)]
Convert test_imp over to unittest.

18 years agoFix minor typo in a comment.
Brett Cannon [Tue, 3 Oct 2006 21:58:55 +0000 (21:58 +0000)]
Fix minor typo in a comment.

18 years agoModified LogRecord.__init__ to make the func parameter optional. (See SF #1569622).
Vinay Sajip [Tue, 3 Oct 2006 18:21:56 +0000 (18:21 +0000)]
Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622).

18 years agoDocumentation clarified to mention optional parameters.
Vinay Sajip [Tue, 3 Oct 2006 18:20:26 +0000 (18:20 +0000)]
Documentation clarified to mention optional parameters.

18 years agoDocumentation omitted the additional parameter to LogRecord.__init__ which was added...
Vinay Sajip [Tue, 3 Oct 2006 18:02:37 +0000 (18:02 +0000)]
Documentation omitted the additional parameter to LogRecord.__init__ which was added in 2.5. (See SF #1569622).

18 years agoGuard uintptr_t test with HAVE_STDINT_H, test for
Martin v. Löwis [Mon, 2 Oct 2006 15:20:37 +0000 (15:20 +0000)]
Guard uintptr_t test with HAVE_STDINT_H, test for
stdint.h. Will backport.

18 years agoFix test for uintptr_t. Fixes #1568842.
Martin v. Löwis [Mon, 2 Oct 2006 14:55:51 +0000 (14:55 +0000)]
Fix test for uintptr_t. Fixes #1568842.
Will backport.

18 years agoAdd comment explaining that error msgs may be due to user code when
Kurt B. Kaiser [Sun, 1 Oct 2006 21:54:37 +0000 (21:54 +0000)]
Add comment explaining that error msgs may be due to user code when
running w/o subprocess.

18 years agoSome syntax errors were being caught by tokenize during the tabnanny
Kurt B. Kaiser [Sun, 1 Oct 2006 21:16:45 +0000 (21:16 +0000)]
Some syntax errors were being caught by tokenize during the tabnanny
check, resulting in obscure error messages.  Do the syntax check
first.  Bug 15627161562719

18 years agoConvert test_import to unittest.
Georg Brandl [Sat, 30 Sep 2006 12:16:03 +0000 (12:16 +0000)]
Convert test_import to unittest.

18 years agoBug #1546052: clarify that PyString_FromString(AndSize) copies the
Georg Brandl [Sat, 30 Sep 2006 12:02:57 +0000 (12:02 +0000)]
Bug #1546052: clarify that PyString_FromString(AndSize) copies the
string pointed to by its parameter.

18 years agoBug #1446043: correctly raise a LookupError if an encoding name given
Georg Brandl [Sat, 30 Sep 2006 11:22:28 +0000 (11:22 +0000)]
Bug #1446043: correctly raise a LookupError if an encoding name given
to encodings.search_function() contains a dot.

18 years agoBug #1556784: allow format strings longer than 127 characters in
Georg Brandl [Sat, 30 Sep 2006 11:17:34 +0000 (11:17 +0000)]
Bug #1556784: allow format strings longer than 127 characters in
datetime's strftime function.

18 years agoBug #1560617: in pyclbr, return full module name not only for classes,
Georg Brandl [Sat, 30 Sep 2006 11:06:47 +0000 (11:06 +0000)]
Bug #1560617: in pyclbr, return full module name not only for classes,
but also for functions.

18 years agoBug #1457823: cgi.(Sv)FormContentDict's constructor now takes
Georg Brandl [Sat, 30 Sep 2006 10:58:01 +0000 (10:58 +0000)]
Bug #1457823: cgi.(Sv)FormContentDict's constructor now takes
keep_blank_values and strict_parsing keyword arguments.

18 years agoBug #1566602: correct failure of posixpath unittest when $HOME ends
Georg Brandl [Sat, 30 Sep 2006 09:13:21 +0000 (09:13 +0000)]
Bug #1566602: correct failure of posixpath unittest when $HOME ends
with a slash.

18 years agoBug #1566663: remove obsolete example from datetime docs.
Georg Brandl [Sat, 30 Sep 2006 09:06:45 +0000 (09:06 +0000)]
Bug #1566663: remove obsolete example from datetime docs.

18 years agoBug #1566800: make sure that EnvironmentError can be called with any
Georg Brandl [Sat, 30 Sep 2006 09:03:42 +0000 (09:03 +0000)]
Bug #1566800: make sure that EnvironmentError can be called with any
number of arguments, as was the case in Python 2.4.

18 years agoPatch #1567691: super() and new.instancemethod() now don't accept
Georg Brandl [Sat, 30 Sep 2006 08:43:30 +0000 (08:43 +0000)]
Patch #1567691: super() and new.instancemethod() now don't accept
keyword arguments any more (previously they accepted them, but didn't
use them).

18 years agoBug #1565661: in webbrowser, split() the command for the default
Georg Brandl [Sat, 30 Sep 2006 07:31:57 +0000 (07:31 +0000)]
Bug #1565661: in webbrowser, split() the command for the default
GNOME browser in case it is a command with args.

18 years agoBug #1567375: a minor logical glitch in example description.
Georg Brandl [Sat, 30 Sep 2006 07:24:48 +0000 (07:24 +0000)]
Bug #1567375: a minor logical glitch in example description.

18 years agowording change
Gregory P. Smith [Sat, 30 Sep 2006 06:08:20 +0000 (06:08 +0000)]
wording change

18 years agoSF bug #1567976 : fix typo
George Yoshida [Sat, 30 Sep 2006 05:14:02 +0000 (05:14 +0000)]
SF bug #1567976 : fix typo

Will backport to 2.5.

18 years agoVery minor grammatical fix in a comment.
Brett Cannon [Thu, 28 Sep 2006 22:10:14 +0000 (22:10 +0000)]
Very minor grammatical fix in a comment.

18 years agoMake examples do error checking on Py_InitModule
Andrew M. Kuchling [Wed, 27 Sep 2006 19:23:05 +0000 (19:23 +0000)]
Make examples do error checking on Py_InitModule

18 years agoAdd news item for rev. 51815
Andrew M. Kuchling [Wed, 27 Sep 2006 16:37:30 +0000 (16:37 +0000)]
Add news item for rev. 51815

18 years agoMake the error message for when the time data and format do not match clearer.
Brett Cannon [Tue, 26 Sep 2006 23:38:24 +0000 (23:38 +0000)]
Make the error message for when the time data and format do not match clearer.

18 years agoAnother crasher.
Armin Rigo [Mon, 25 Sep 2006 15:16:26 +0000 (15:16 +0000)]
Another crasher.

18 years agoFix a bug in traceback.format_exception_only() that led to an error
Georg Brandl [Sun, 24 Sep 2006 12:50:24 +0000 (12:50 +0000)]
Fix a bug in traceback.format_exception_only() that led to an error
being raised when print_exc() was called without an exception set.
In version 2.4, this printed "None", restored that behavior.

18 years agoFix a bug in the parser's future statement handling that led to "with"
Georg Brandl [Sun, 24 Sep 2006 12:35:36 +0000 (12:35 +0000)]
Fix a bug in the parser's future statement handling that led to "with"
not being recognized as a keyword after, e.g., this statement:
from __future__ import division, with_statement

18 years agoFix webbrowser.BackgroundBrowser on Windows.
Georg Brandl [Sun, 24 Sep 2006 10:36:01 +0000 (10:36 +0000)]
Fix webbrowser.BackgroundBrowser on Windows.

18 years agoMake output on test_strptime() be more verbose in face of failure. This is in
Brett Cannon [Sat, 23 Sep 2006 19:53:20 +0000 (19:53 +0000)]
Make output on test_strptime() be more verbose in face of failure.  This is in
hopes that more information will help debug the failing test on HPPA Ubuntu.

18 years agoSF Bug #1563963, add missing word and cleanup first sentance
Neal Norwitz [Sat, 23 Sep 2006 18:11:58 +0000 (18:11 +0000)]
SF Bug #1563963, add missing word and cleanup first sentance

18 years agoRemove extra semi-colons reported by Johnny Lee on python-dev. Backport if anyone...
Neal Norwitz [Sat, 23 Sep 2006 04:11:38 +0000 (04:11 +0000)]
Remove extra semi-colons reported by Johnny Lee on python-dev.  Backport if anyone cares.

18 years agoadd boilerplate "What's New" document so the docs will build
Fred Drake [Sat, 23 Sep 2006 00:26:31 +0000 (00:26 +0000)]
add boilerplate "What's New" document so the docs will build

18 years agoMostly revert this file to the same version as before. Only force setting
Neal Norwitz [Fri, 22 Sep 2006 08:47:23 +0000 (08:47 +0000)]
Mostly revert this file to the same version as before.  Only force setting
of PY_FORMAT_SIZE_T to "l" for Mac OSX.  I don't know a better define
to use.  This should get rid of the warnings on other platforms and Mac too.

18 years agoBug #1557232: fix seg fault with def f((((x)))) and def f(((x),)).
Neal Norwitz [Fri, 22 Sep 2006 08:18:10 +0000 (08:18 +0000)]
Bug #1557232: fix seg fault with def f((((x)))) and def f(((x),)).

These tests should be improved.  Hopefully this fixes variations when
flipping back and forth between fpdef and fplist.

Backport candidate.

18 years agoFix %zd string formatting on Mac OS X so it prints negative numbers.
Neal Norwitz [Fri, 22 Sep 2006 08:16:26 +0000 (08:16 +0000)]
Fix %zd string formatting on Mac OS X so it prints negative numbers.

In addition to testing positive numbers, verify negative numbers work in configure.
In order to avoid compiler warnings on OS X 10.4, also change the order of the check
for the format character to use (PY_FORMAT_SIZE_T) in the sprintf format
for Py_ssize_t.  This patch changes PY_FORMAT_SIZE_T from "" to "l" if it wasn't
defined at configure time.  Need to verify the buildbot results.

Backport candidate (if everyone thinks this patch can't be improved).

18 years agoadded itertools.count(-n) fix
Jack Diederich [Thu, 21 Sep 2006 20:34:49 +0000 (20:34 +0000)]
added itertools.count(-n) fix

18 years ago* regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t
Jack Diederich [Thu, 21 Sep 2006 17:50:26 +0000 (17:50 +0000)]
* regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t
  which breaks negative counts
* added test for negative numbers
will backport to 2.5.1

18 years agoFix typo.
Walter Dörwald [Thu, 21 Sep 2006 15:09:55 +0000 (15:09 +0000)]
Fix typo.

18 years agoMake python.vim output more deterministic.
Brett Cannon [Wed, 20 Sep 2006 19:28:35 +0000 (19:28 +0000)]
Make python.vim output more deterministic.

18 years agoAllow exceptions to be directly sliced again
Brett Cannon [Wed, 20 Sep 2006 18:43:13 +0000 (18:43 +0000)]
Allow exceptions to be directly sliced again
(e.g., ``BaseException(1,2,3)[0:2]``).

Discovered in Python 2.5.0 by Thomas Heller and reported to python-dev.  This
should be backported to 2.5 .

18 years agoAccidentally didn't commit Misc/NEWS entry on when __unicode__() was removed
Brett Cannon [Wed, 20 Sep 2006 18:34:28 +0000 (18:34 +0000)]
Accidentally didn't commit Misc/NEWS entry on when __unicode__() was removed
from exceptions.

18 years agoFixes a bug with bsddb.DB.stat where the flags and txn keyword
Gregory P. Smith [Tue, 19 Sep 2006 17:35:04 +0000 (17:35 +0000)]
Fixes a bug with bsddb.DB.stat where the flags and txn keyword
arguments are transposed.  (reported by Louis Zechtzer)
..already committed to release24-maint
..needs committing to release25-maint

18 years agoMake this thing executable.
Guido van Rossum [Mon, 18 Sep 2006 21:36:16 +0000 (21:36 +0000)]
Make this thing executable.

18 years agoTweak Mac/Makefile in to ensure that pythonw gets rebuild when the major version
Ronald Oussoren [Sun, 17 Sep 2006 19:23:27 +0000 (19:23 +0000)]
Tweak Mac/Makefile in to ensure that pythonw gets rebuild when the major version
of python changes (2.5 -> 2.6). Bug #1552935.

18 years agoPort of revision 51902 in release25-maint to the trunk
Ronald Oussoren [Sun, 17 Sep 2006 18:42:53 +0000 (18:42 +0000)]
Port of revision 51902 in release25-maint to the trunk

18 years agoPatch #1557515: Add RLIMIT_SBSIZE.
Martin v. Löwis [Sat, 16 Sep 2006 17:36:37 +0000 (17:36 +0000)]
Patch #1557515: Add RLIMIT_SBSIZE.

18 years agorevise explanation of returns_unicode to reflect bool values
Fred Drake [Fri, 15 Sep 2006 16:11:27 +0000 (16:11 +0000)]
revise explanation of returns_unicode to reflect bool values
and to include the default value
(merged from release25-maint revision 51890)

18 years ago- fix module name in links in formatted documentation
Fred Drake [Fri, 15 Sep 2006 15:18:04 +0000 (15:18 +0000)]
- fix module name in links in formatted documentation
- minor markup cleanup
(forward-ported from release25-maint revision 51888)

18 years agoCorrect elementtree module index entry.
Georg Brandl [Fri, 15 Sep 2006 05:22:24 +0000 (05:22 +0000)]
Correct elementtree module index entry.

18 years agoFix grammar errors and improve clarity.
Ka-Ping Yee [Fri, 15 Sep 2006 00:34:19 +0000 (00:34 +0000)]
Fix grammar errors and improve clarity.

18 years agoRewrite help message to remove some of the parentheticals. (There were a lot of...
Andrew M. Kuchling [Thu, 14 Sep 2006 11:28:50 +0000 (11:28 +0000)]
Rewrite help message to remove some of the parentheticals.  (There were a lot of them.)

18 years agoMake --help mention that -v can be supplied multiple times
Andrew M. Kuchling [Thu, 14 Sep 2006 11:22:18 +0000 (11:22 +0000)]
Make --help mention that -v can be supplied multiple times

18 years agoMore wordsmithing
Andrew M. Kuchling [Tue, 12 Sep 2006 21:21:51 +0000 (21:21 +0000)]
More wordsmithing

18 years agoSome editing, markup fixes
Andrew M. Kuchling [Tue, 12 Sep 2006 21:09:02 +0000 (21:09 +0000)]
Some editing, markup fixes

18 years agoMarkup typo fix
Andrew M. Kuchling [Tue, 12 Sep 2006 20:50:23 +0000 (20:50 +0000)]
Markup typo fix

18 years agoForward-port 51862: Add sgml_input.html.
Martin v. Löwis [Tue, 12 Sep 2006 19:49:20 +0000 (19:49 +0000)]
Forward-port 51862: Add sgml_input.html.

18 years agoForward-port of rev. 51857:
Georg Brandl [Mon, 11 Sep 2006 09:38:35 +0000 (09:38 +0000)]
Forward-port of rev. 51857:

Building with HP's cc on HP-UX turned up a couple of problems.
_PyGILState_NoteThreadState was declared as static inconsistently.
Make it static as it's not necessary outside of this module.

Some tests failed because errno was reset to 0. (I think the tests
that failed were at least: test_fcntl and test_mailbox).
Ensure that errno doesn't change after a call to Py_END_ALLOW_THREADS.
This only affected debug builds.

18 years agoAdd a "crasher" taken from the sgml bug report referenced in the comment
Neal Norwitz [Mon, 11 Sep 2006 04:32:57 +0000 (04:32 +0000)]
Add a "crasher" taken from the sgml bug report referenced in the comment

18 years agoProperly handle a NULL returned from PyArena_New().
Neal Norwitz [Mon, 11 Sep 2006 04:28:16 +0000 (04:28 +0000)]
Properly handle a NULL returned from PyArena_New().
(Also fix some whitespace)

Klocwork #364.

18 years agoForward port of 51850 from release25-maint branch.
Neal Norwitz [Mon, 11 Sep 2006 04:24:09 +0000 (04:24 +0000)]
Forward port of 51850 from release25-maint branch.

As mentioned on python-dev, reverting patch #1504333 because it introduced
an infinite loop in rev 47154.

This patch also adds a test to prevent the regression.

18 years agoRemove the __unicode__ method from exceptions. Allows unicode() to be called
Brett Cannon [Sat, 9 Sep 2006 07:11:46 +0000 (07:11 +0000)]
Remove the __unicode__ method from exceptions.  Allows unicode() to be called
on exception classes.  Would require introducing a tp_unicode slot to make it
work otherwise.

Fixes bug #1551432 and will be backported.

18 years agoFix typo in example
Andrew M. Kuchling [Fri, 8 Sep 2006 14:05:10 +0000 (14:05 +0000)]
Fix typo in example

18 years agoUse native SQLite types
Andrew M. Kuchling [Fri, 8 Sep 2006 14:03:01 +0000 (14:03 +0000)]
Use native SQLite types

18 years agoUse native SQLite types
Andrew M. Kuchling [Fri, 8 Sep 2006 14:02:45 +0000 (14:02 +0000)]
Use native SQLite types

18 years agoExplain SQLite a bit more clearly
Andrew M. Kuchling [Fri, 8 Sep 2006 13:36:36 +0000 (13:36 +0000)]
Explain SQLite a bit more clearly

18 years agoExplain SQLite a bit more clearly
Andrew M. Kuchling [Fri, 8 Sep 2006 13:35:49 +0000 (13:35 +0000)]
Explain SQLite a bit more clearly

18 years agoAdd missing word
Andrew M. Kuchling [Fri, 8 Sep 2006 13:25:23 +0000 (13:25 +0000)]
Add missing word

18 years agoAdd missing NEWS entry for rev 51803
Nick Coghlan [Fri, 8 Sep 2006 10:04:38 +0000 (10:04 +0000)]
Add missing NEWS entry for rev 51803

18 years agoThe cast function did not accept c_char_p or c_wchar_p instances
Thomas Heller [Thu, 7 Sep 2006 19:09:54 +0000 (19:09 +0000)]
The cast function did not accept c_char_p or c_wchar_p instances
as first argument, and failed with a 'bad argument to internal function'
error message.

18 years agoAnonymous structure fields that have a bit-width specified did not work,
Thomas Heller [Thu, 7 Sep 2006 18:56:28 +0000 (18:56 +0000)]
Anonymous structure fields that have a bit-width specified did not work,
and they gave a strange error message from PyArg_ParseTuple:
    function takes exactly 2 arguments (3 given).

With tests.