This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年10月01日 10:57 by larry, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| larry.cporting.to.python.3.r1.diff | larry, 2011年10月09日 15:51 | |||
| larry.cporting.to.python.3.r2.diff | larry, 2012年02月26日 21:49 | |||
| larry.cporting.to.python.3.r3.diff | larry, 2012年02月26日 22:28 | |||
| Messages (17) | |||
|---|---|---|---|
| msg144721 - (view) | Author: Larry Hastings (larry) * (Python committer) | 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) * (Python committer) | 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) * (Python committer) | 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) * (Python committer) | Date: 2011年10月01日 14:37 | |
I like "Python 2" more than "2.x". |
|||
| msg145153 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | 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) * (Python committer) | Date: 2011年10月09日 07:30 | |
+1 ;) |
|||
| msg145267 - (view) | Author: Larry Hastings (larry) * (Python committer) | 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) * (Python committer) | 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) * (Python committer) | 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) * (Python committer) | 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) * (Python committer) | 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) * (Python committer) | 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) (Python triager) | 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) * (Python committer) | 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) (Python triager) | 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) (Python triager) | 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) * (Python committer) | Date: 2012年02月29日 00:32 | |
Now checked in to 2.7, 3.2, and default. Thanks everyone! |
|||
| History | |||
|---|---|---|---|
| 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 | |