Re: [Scons-dev] SCons and octal constants

2014-04-30 Thread Dirk Bächle
Hi Bill, On 30.04.2014 00:33, Bill Deegan wrote: All, If someone can point me to a pylint command line which should work for scons repo, I can add it to buildbot. the fix to astroid seems to be working fine. I installed the latest version of pylint: logilab_common 0.61.0 astroid

Re: [Scons-dev] SCons and octal constants

2014-04-29 Thread Gary Oberbrunner
On Tue, Apr 29, 2014 at 3:09 AM, anatoly techtonik techto...@gmail.comwrote: IMHO this is a start to nowhere. octals are not limited to file masks, more than that - we need the recipe for users to help the port their SConstruct files to Python 3. This is a completely different thing. SCons

Re: [Scons-dev] SCons and octal constants

2014-04-29 Thread Bill Deegan
. I didn't have any time to try it out yet, but this should open the door to running the whole codebase through pylint...and also pyreverse for creating UML diagrams of classes automatically. Yummy... So pylint/astroid might indeed help with detecting all occurrences of octal constants. Best

Re: [Scons-dev] SCons and octal constants

2014-04-28 Thread Dirk Bächle
On 28.04.2014 07:48, Russel Winder wrote: Since the floor version of SCons is now Python 2.7, we should dispense with the horror that is 1970s C-style octal constants and use the 0o form (*). This applies to the default/default branch just as much to the default/python3-port branch (where it is

Re: [Scons-dev] SCons and octal constants

2014-04-28 Thread Russel Winder
On Mon, 2014-04-28 at 10:19 +0300, anatoly techtonik wrote: […] Let me sum this up. To make SCons codebase more 2/3 compatible, we need to use 0o777 instead of 0777. Spot on. The 0o777 form works in Python 2.6 and 2.7 as well as being necessary in Python 3.x (0777 is a syntax error in Python

[Scons-dev] SCons and octal constants

2014-04-27 Thread Russel Winder
Since the floor version of SCons is now Python 2.7, we should dispense with the horror that is 1970s C-style octal constants and use the 0o form (*). This applies to the default/default branch just as much to the default/python3-port branch (where it is needed for SCons to run at all on Python 3).