msg144721 - (view) |
Author: Larry Hastings (larry) * |
Date: 2011-10-01 10:57 |
The title of howto/cporting.rst is "Porting Extension Modules To 3.0". It then talks about 3.0 in a whole bunch of places. Considering that we're working on 3.3, and considering that 3.0 is end-of-lifed (not even meriting a branch in hg), wouldn't it be better for the document to talk about "3.x"? It already talks about "2.x" in several places, so it's not like this would confuse the reader.
Alternatively, we could remove the ".0" (and maybe the ".x"s) so the document talks about porting from "Python 2" to "Python 3".
I'd be happy to make the patch / check in the change.
|
msg144726 - (view) |
Author: Larry Hastings (larry) * |
Date: 2011-10-01 11:47 |
Why shouldn't I check this in to the 2.7 / 3.1 branches?
|
msg144727 - (view) |
Author: Georg Brandl (georg.brandl) * |
Date: 2011-10-01 11:52 |
3.1 because it won't have any effect; it's in security-fix mode.
For 2.7 go ahead.
|
msg144733 - (view) |
Author: Martin v. Löwis (loewis) * |
Date: 2011-10-01 14:37 |
I like "Python 2" more than "2.x".
|
msg145153 - (view) |
Author: Terry J. Reedy (terry.reedy) * |
Date: 2011-10-08 01:47 |
Yes, 'to Python 3'. Patch welcome. I would make it up to date as of 3.2. For 3.3, the Unicode api will change (grow) but that has not been finalized yet.
|
msg145231 - (view) |
Author: Éric Araujo (eric.araujo) * |
Date: 2011-10-09 07:30 |
+1 ;)
|
msg145267 - (view) |
Author: Larry Hastings (larry) * |
Date: 2011-10-09 15:51 |
Attached is my first revision patch. I did some other editing for
clarity / 80 columns, though I can back those out from this patch (and put in another) if that's best.
Patch is against the 2.7 branch; once this goes in I'll port all my recent cporting.rst changes to 3.2 and trunk.
|
msg145269 - (view) |
Author: Ezio Melotti (ezio.melotti) * |
Date: 2011-10-09 16:04 |
> Attached is my first revision patch.
LGTM
> I did some other editing for clarity / 80 columns, though I can back
> those out from this patch (and put in another) if that's best.
That's fine with me, and while you are at it, you could fix this too when you commit:
+ the many Python level changes made leaving Python 2's API intact
s/Python level/Python-level/
> Patch is against the 2.7 branch; once this goes in I'll port all my
> recent cporting.rst changes to 3.2 and trunk.
Remember to convert things like :cmacro: to :c:macro: when you port it.
|
msg154397 - (view) |
Author: Larry Hastings (larry) * |
Date: 2012-02-26 21:49 |
Gah! This one fell through the cracks.
Attached is an updated patch with Ezio's "Python-level" fix, and a little more paragraph tidying. (Apart from that one ^ dash, the only changes
between r1 and r2 are eols.)
Unless I hear otherwise, I'll check this in to 2.7 on Tuesday or so. Then I'll manually edit the 3.2 docs to match, and once that goes in I'll forward-merge into trunk.
|
msg154401 - (view) |
Author: Ezio Melotti (ezio.melotti) * |
Date: 2012-02-26 21:56 |
Note that the 2.7 docs now use a recent Sphinx too, so :c:macro: should work on all the 3 branches (so you don't have to use :cmacro: on 2.7 and :c:macro: on 3.x).
|
msg154410 - (view) |
Author: Larry Hastings (larry) * |
Date: 2012-02-26 22:28 |
Whoops--I hadn't updated my repo since last year, and someone had already changed to :c:macro:, :c:func:, and :c:type:. When will I learn!
Attached is a new diff with those changes, against revision @4c6662090870 (on the 2.7 branch). Also, while I was in there, I made some minor edits to the start of the paragraph about "long/int Unification". I think it's a slight improvement.
|
msg154442 - (view) |
Author: Éric Araujo (eric.araujo) * |
Date: 2012-02-27 08:58 |
+can simply switch to :c:type:`Capsule`. If you need to support Python 3.0,
+or versions of Python earlier than 2.7,
+you'll have to support both CObjects and Capsules.
We pretend that Python 3.0 never existed, or was a beta. Python 3.1 is the first supported 3.x release. Thus I think you can delete that mention.
|
msg154581 - (view) |
Author: Roundup Robot (python-dev) |
Date: 2012-02-28 23:52 |
New changeset eb88cc90cc56 by Larry Hastings in branch '2.7':
Issue #13086: Update howto/cporting.rst to discuss "Python 3" instead of "3.0".
http://hg.python.org/cpython/rev/eb88cc90cc56
|
msg154582 - (view) |
Author: Larry Hastings (larry) * |
Date: 2012-02-28 23:55 |
@eric.araujo: I talked to Brett about it. We don't pretend that Python 3.0 never existed; we tell people it's unsupported and unsuitable for production use. At his suggestion I added a statement to that effect, and left the rest the same.
I'll now manually incorporate this into the 3.2 branch, then forward-port to trunk.
|
msg154583 - (view) |
Author: Roundup Robot (python-dev) |
Date: 2012-02-29 00:24 |
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
|
msg154585 - (view) |
Author: Roundup Robot (python-dev) |
Date: 2012-02-29 00:30 |
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
|
msg154588 - (view) |
Author: Larry Hastings (larry) * |
Date: 2012-02-29 00:32 |
Now checked in to 2.7, 3.2, and default. Thanks everyone!
|
|
Date |
User |
Action |
Args |
2022-04-11 14:57:22 | admin | set | github: 57295 |
2012-02-29 09:03:10 | ezio.melotti | set | stage: patch review -> resolved |
2012-02-29 00:32:16 | larry | set | status: open -> closed resolution: fixed messages:
+ msg154588
|
2012-02-29 00:30:55 | python-dev | set | messages:
+ msg154585 |
2012-02-29 00:24:09 | python-dev | set | messages:
+ msg154583 |
2012-02-28 23:55:12 | larry | set | messages:
+ msg154582 |
2012-02-28 23:52:48 | python-dev | set | nosy:
+ python-dev messages:
+ msg154581
|
2012-02-27 08:58:45 | eric.araujo | set | messages:
+ msg154442 |
2012-02-26 22:28:55 | larry | set | files:
+ larry.cporting.to.python.3.r3.diff
messages:
+ msg154410 |
2012-02-26 21:56:00 | ezio.melotti | set | messages:
+ msg154401 |
2012-02-26 21:49:17 | larry | set | files:
+ larry.cporting.to.python.3.r2.diff
messages:
+ msg154397 |
2011-10-09 16:04:37 | ezio.melotti | set | messages:
+ msg145269 stage: needs patch -> patch review |
2011-10-09 15:51:10 | larry | set | files:
+ larry.cporting.to.python.3.r1.diff keywords:
+ patch messages:
+ msg145267
|
2011-10-09 07:30:29 | eric.araujo | set | nosy:
+ eric.araujo
messages:
+ msg145231 title: Update howto/cporting.rst so it talks about 3.x instead of 3.0 -> Update howto/cporting.rst so it talks about Python 3 instead of 3.0 |
2011-10-08 01:47:20 | terry.reedy | set | nosy:
+ terry.reedy
messages:
+ msg145153 versions:
+ Python 2.7 |
2011-10-01 14:37:38 | loewis | set | nosy:
+ loewis messages:
+ msg144733
|
2011-10-01 11:52:37 | georg.brandl | set | nosy:
+ georg.brandl messages:
+ msg144727
|
2011-10-01 11:47:31 | larry | set | messages:
+ msg144726 |
2011-10-01 11:39:15 | ezio.melotti | set | nosy:
+ ezio.melotti stage: needs patch
versions:
- Python 3.1, Python 3.4 |
2011-10-01 10:57:41 | larry | create | |