[tahoe-dev] [tahoe-lafs] #801: Investigate Py_ssize_t behavior in wrappers for CPython < 2.5
tahoe-lafs
trac at allmydata.org
Wed Sep 9 09:13:44 PDT 2009
#801: Investigate Py_ssize_t behavior in wrappers for CPython < 2.5
--------------------------+-------------------------------------------------
Reporter: nejucomo | Owner: nobody
Type: task | Status: new
Priority: minor | Milestone: undecided
Component: unknown | Version: 1.5.0
Keywords: wrapper cast | Launchpad_bug:
--------------------------+-------------------------------------------------
Py_ssize_t was introduced in CPython 2.5 in Pep 353 [1]. Older Python
wrappers treated sizes inconsistently.
This ticket is closed when:
a. An explanation is given of how wrapper code that relies on Py_ssize_t
compiles in pre 2.5 environments (start with [2]).
b. A unit test is written which determines if code relying on Py_ssize_t
behaves correctly on < 2.5 and >= 2.5 platforms.
c. If the unit test shows no distinction between the two version cases, an
explanation of why there's no failure in all cases. Otherwise, jump to
step b and devise a new unit test.
d. A ticket is opened for each created failing unit test.
[1] http://www.python.org/dev/peps/pep-0353/
[2] http://www.google.com/search?q=Py_ssize_t
--
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/801>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid
More information about the tahoe-dev
mailing list