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.

Author wesmadrigal
Recipients lemburg, ned.deily, wesmadrigal
Date 2013-12-19.00:20:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CADQwG8sY5vF77LvkA8N4WiYho4=iLKhP9=mCtBXtpzKu-jc-gA@mail.gmail.com>
In-reply-to <52B23A47.1090409@egenix.com>
Content
Marc,

Thanks for your help.

What I did was just copied the _sys_version_parser from the standard python
platform.py into the anaconda version of platform.py and it fixed the
issue.  So it looks like Anaconda made a change to your regular expression.

Thanks for getting on the issue so quick and staying with it, though.

On Wed, Dec 18, 2013 at 6:14 PM, Marc-Andre Lemburg
<report@bugs.python.org>wrote:

>
> Marc-Andre Lemburg added the comment:
>
> On 19.12.2013 00:52, Wes wrote:
> >
> > Marc,
> >
> > Here was the initial output:
> >
> >>>> platform.__file__
> > '/Users/wesmadrigal/anaconda/lib/python2.7/platform.pyc'
> >>>> import sys
> >>>> sys.version
> > '2.7.6 |Anaconda 1.8.0 (x86_64)| (default, Nov 11 2013, 10:49:09) \n[GCC
> > 4.0.1 (Apple Inc. build 5493)]'
>
> The part '|Anaconda 1.8.0 (x86_64)|' in that string is not standard
> Python conform and as a result, the platform.py parser fails.
>
> You'll have to open a ticket with the Anaconda vendor to get this
> fixed.
>
> > Here is what I had when I reverted back to the standard $PATH that comes
> > stock in Mac OSX Mountain Lion on this new Macbook Pro:
> >
> >>>> platform.__file__
> >
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.pyc'
> >>>> import sys
> >>>> sys.version
> > '2.7.5 (default, Sep 12 2013, 21:33:34) \n[GCC 4.2.1 Compatible Apple
> LLVM
> > 5.0 (clang-500.0.68)]'
>
> This should parse correctly with the stock platform.py parser.
>
> The only explanation I have is that the platform.py installed
> on your machine is not the original one that comes with the
> Python 2.7.5 we distribute from python.org.
>
> I don't have a Mac OSX notebook available to check, so can't
> really help.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue20019>
> _______________________________________
>
History
Date User Action Args
2013-12-19 00:20:57wesmadrigalsetrecipients: + wesmadrigal, lemburg, ned.deily
2013-12-19 00:20:57wesmadrigallinkissue20019 messages
2013-12-19 00:20:57wesmadrigalcreate