From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 8 16:17:08 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31C7F821 for ; Sun, 8 Feb 2015 16:17:08 +0000 (UTC) Received: from smtp93.iad3a.emailsrvr.com (smtp93.iad3a.emailsrvr.com [173.203.187.93]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5670ACA for ; Sun, 8 Feb 2015 16:17:07 +0000 (UTC) Received: from smtp12.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp12.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 249803803C0; Sun, 8 Feb 2015 11:10:48 -0500 (EST) X-SMTPDoctor-Processed: csmtpprox beta Received: from smtp12.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp12.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 1F3F53803BB; Sun, 8 Feb 2015 11:10:48 -0500 (EST) Received: by smtp12.relay.iad3a.emailsrvr.com (Authenticated sender: ben-AT-acustat.org) with ESMTPSA id A578A3803C0; Sun, 8 Feb 2015 11:10:47 -0500 (EST) X-Sender-Id: ben@acustat.org Received: from [192.168.1.99] (cpe-72-225-8-217.rochester.res.rr.com [72.225.8.217]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.4.2); Sun, 08 Feb 2015 16:10:48 GMT Message-ID: <54D78A87.2030207@acustat.org> Date: Sun, 08 Feb 2015 11:10:47 -0500 From: Benjamin Adams User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Andrew MacIntyre , freebsd-hackers@freebsd.org Subject: Re: Coding Structure and Documentation References: <54D64D07.5080509@acustat.org> <54D6CF7E.3000506@bullseye.apana.org.au> In-Reply-To: <54D6CF7E.3000506@bullseye.apana.org.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 16:17:08 -0000 Andrew, Thank you for the reply. I will code in 3.4, for the past few years I have been using 2.7 but will start using the new version. I see 2.x will be supported until 2020, So 3.4 is the way to go. Next year when this I expect to release this. I will be converting it to ports and can maintain it. Next year because I will be coding in my free time and want to have something stable before sending it out to the BSD world. Thanks for the emails. Ben On 02/07/2015 21:52, Andrew MacIntyre wrote: > On 8/02/2015 4:36 AM, Benjamin Adams wrote: >> I'm going to be starting a new coding project that will be built on >> FreeBSD. Before starting, I would like to review any coding >> documentation on structure and layout of comments, spacing vs tabs, >> etc. Or just go by the structure set by the language. >> (http://legacy.python.org/dev/peps/pep-0008/) >> >> Language I will be coding in is Python. I will be building the >> project on FreeBSD 11 with the idea of releasing it shortly after >> FreeBSD 11 is moved to STABLE. > > As a Python user, I would advise sticking closely to PEP 8. > >> Lastly what version of Python will be the primary version on 11? > > Unless you need to rely on a Python package still only supported on > Python 2, I would suggest that you use Python 3. The default version > of Python for the Python 3 meta-port looks like it was recently > changed to v3.4 which would be a good choice - even if v3.5 is > released and adopted as the default for the Python 3 meta-port by the > time FreeBSD 11 is released, forward compatibility from 3.4 to 3.5 > should be very good. Python 3.4 is already in wide use and therefore > could be expected to be supported by the Python developers for some > time after 3.5's release. > > You may find https://wiki.python.org/moin/Python2orPython3 helpful on > the Python 2 vs Python 3 issue. > > Regards, > Andrew. > > ------------------------------------------------------------------------- > Andrew I MacIntyre "These thoughts are mine alone..." > E-mail:andymac@bullseye.apana.org.au > > (pref) | Snail: PO Box 370 > andymac@pcug.org.au > > (alt) | Belconnen ACT 2616 > Web:http://www.andymac.org/ | Australia > > > > > --- > This email has been checked for viruses by Avast antivirus software. > http://www.avast.com > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" -- --------------- Ben Adams - AcuStat