[issue13053] Add Capsule migration documentation to "cporting"

2015-09-08 Thread Petr Viktorin
Petr Viktorin added the comment: As capsulethunk.h is only needed for Python 2.6 and below, which are no longer maintained, in issue24937 we are discussing moving the header to an external project. -- nosy: +encukou ___ Python tracker

[issue13053] Add Capsule migration documentation to "cporting"

2012-02-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> committed/rejected versions: +Python 2.7, Python 3.2 ___ Python tracker ___ ___ Pyt

[issue13053] Add Capsule migration documentation to "cporting"

2012-02-28 Thread Larry Hastings
Larry Hastings added the comment: Now checked in to 2.7, 3.2, and default. Thanks everyone! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue13053] Add Capsule migration documentation to "cporting"

2012-02-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset c316e8a4a5e2 by Larry Hastings in branch 'default': Merge: Propagate changes for issues #13053 and #13086 from 2.7 to 3.2. http://hg.python.org/cpython/rev/c316e8a4a5e2 -- ___ Python tracker

[issue13053] Add Capsule migration documentation to "cporting"

2012-02-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 28849d00a41e by Larry Hastings in branch '3.2': Propagate changes for issues #13053 and #13086 from 2.7 to 3.2. (Doc only.) http://hg.python.org/cpython/rev/28849d00a41e -- ___ Python tracker

[issue13053] Add Capsule migration documentation to "cporting"

2012-02-26 Thread Larry Hastings
Larry Hastings added the comment: I have some more changes for cporting.rst (see #13086). Once those are in, I'll manually merge the edits over to 3.2, then forward-port to trunk. Does anyone want to see those as patches before I commit them? (Your silence will be interpreted as "go ahead

[issue13053] Add Capsule migration documentation to "cporting"

2011-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0af22b65889 by Larry Hastings in branch '2.7': Issue #13053: Added section on migrating from CObject to Capsule http://hg.python.org/cpython/rev/d0af22b65889 -- nosy: +python-dev ___ Python tracker

[issue13053] Add Capsule migration documentation to "cporting"

2011-10-04 Thread Larry Hastings
Larry Hastings added the comment: New patch based on comments from Ezio Melotti--thanks, Ezio! * capsulethunk.h is now its own file in Doc/includes. * Various minor formatting touchups. * I added some rationale behind the thunked PyCapsule_SetName behavior. -- Added file: http://bugs.p

[issue13053] Add Capsule migration documentation to "cporting"

2011-10-02 Thread Larry Hastings
Larry Hastings added the comment: In case you're curious, here's how I tested "capsulethunk.h". I added the file to Python 2.7 (hg head), 3.0.0 (tarball), and 3.1.0 (tarball). For 2.7 ad 3.0.0 I quickly hacked four files to use the Capsule API instead of CObjects: * Python/compile.c * Pyth

[issue13053] Add Capsule migration documentation to "cporting"

2011-10-02 Thread Larry Hastings
Larry Hastings added the comment: Attached is r2 of the patch, incorporating Nick's suggestions. Base revision hasn't changed. -- Added file: http://bugs.python.org/file23301/larry.cporting.capsules.r2.diff ___ Python tracker

[issue13053] Add Capsule migration documentation to "cporting"

2011-10-02 Thread Nick Coghlan
Nick Coghlan added the comment: Mostly looks good - couple of minor comments in Reitveld. As far as the patch flow goes, the 2.x and 3.x branches are actually handled independently (they're too divergent for merging to make sense). So 2.7 and 3.2 will be independent commits, then the changes

[issue13053] Add Capsule migration documentation to "cporting"

2011-10-01 Thread Larry Hastings
Larry Hastings added the comment: Whoops, forgot to attach. *Here's* the patch. -- keywords: +patch Added file: http://bugs.python.org/file23282/larry.cporting.capsules.r1.diff ___ Python tracker

[issue13053] Add Capsule migration documentation to "cporting"

2011-10-01 Thread Larry Hastings
Larry Hastings added the comment: Attached is a patch against trunk branch "2.7" (rev dec00ae64ca8) adding documentation on how to migrate CObjects to Capsules. Delta the inevitable formatting bikeshedding, this should be ready to go. I've smoke-tested the "capsulethunk.h" locally and it wo

[issue13053] Add Capsule migration documentation to "cporting"

2011-09-28 Thread Ezio Melotti
Ezio Melotti added the comment: I think it's fine to include it in 2.7. -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs

[issue13053] Add Capsule migration documentation to "cporting"

2011-09-28 Thread Larry Hastings
New submission from Larry Hastings : After the great Capsule flame wars of 2011, it became clear that we need documentation on migrating from CObject to Capsules, as CObject is gone as of 3.2. Nick made me promise to write the documentation, and Raymond steered me in the direction of "cportin