Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; '*not*': 0.07; 'fixes': 0.07; 'enhancements': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'tismer': 0.09; '~ethan~': 0.09; 'python': 0.11; 'bug': 0.12; '2.7': 0.14; 'enum': 0.16; 'intersection': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'targeting': 0.16; 'so.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'programming': 0.22; 'separate': 0.22; 'header:User- Agent:1': 0.23; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'code': 0.31; '3.x': 0.31; 'bunch': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'probably': 0.32; 'running': 0.33; 'could': 0.34; 'advice': 0.35; 'but': 0.35; 'doing': 0.36; 'too': 0.37; 'two': 0.37; 'christian': 0.38; 'easiest': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'world.': 0.61; 'managing': 0.66; 'experience.': 0.67; '2.5.': 0.84; 'ethan': 0.84; 'experiences,': 0.84; 'furman': 0.84; 'received:2': 0.84; 'us?': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Maintaining a backported module Date: Thu, 24 Oct 2013 09:37:22 +0100 References: <5268a818$0$30000$c3e8da3$5496439d@news.astraweb.com> <5268BE79.9010908@stoneleaf.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-201-160.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 In-Reply-To: <5268BE79.9010908@stoneleaf.us> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382603861 news.xs4all.nl 15963 [2001:888:2000:d::a6]:45825 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57435 On 24/10/2013 07:30, Ethan Furman wrote: > On 10/23/2013 09:54 PM, Steven D'Aprano wrote: >> >> I'm looking for advice on best practices for doing so. Any suggestions >> for managing bug fixes and enhancements to two separate code-bases >> without them diverging too much? > > Confining your code to the intersection of 2.7 and 3.x is probably going > to be the easiest thing to do as 2.7 has a bunch of 3.x features. > > Sadly, when I backported Enum I was targeting 2.5 - 3.x because I have > systems still running 2.5. That was *not* a fun experience. :( > > -- > ~Ethan~ Have you or could you publish anything regarding your experiences, I suspect it would be an enlightening read for a lot of us? -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence