Re: Python 2 and Python 3 on same project

Daniel Holth <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAG8k2+7O_etpvQ6yGxsyp7dtVEet3ZQx7wFCM=BPbxOe4H6sbA@mail.gmail.com>
It would make sense to replace the file because it should be very unusual
to run the same SConstruct with multiple Pythons (unless you are a SCons
developer unfortunately) and because the extension should depend on the
version of the pickle protocol used, not the major version of Python.

On Thu, Jul 13, 2017, 16:09 Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> wrote:

> The previous code (which is currently commented out), had different file
> extension for py3, so there'd be no collision.
> Though a warning that a sconsign from opposite python version is present
> might be wise.
>
>
> On Thu, Jul 13, 2017 at 3:24 PM, Daniel Holth <[email protected]> wrote:
>
>> Would it make more sense to present a warning and then replace the
>> .dblite file?
>>
>> On Thu, Jul 13, 2017 at 2:09 PM Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
>> wrote:
>>
>>> dblite.py line 43.
>>>
>>> If you uncomment that and then run the tests py2 and py3 some will break
>>> because they are  looking for the file name without the .py3 extension.
>>> Perhaps add a method or constant to QMTest/TestSCons.py which the
>>> default file name and use that in the tests which fail?
>>>
>>> -Bill
>>>
>>> On Thu, Jul 13, 2017 at 10:01 AM, Russel Winder <[email protected]>
>>> wrote:
>>>
>>>> On Thu, 2017-07-13 at 09:10 -0400, Bill Deegan wrote:
>>>> > Yes.
>>>> >
>>>> > There was a separate .py3 and .py2 version of sconsign.
>>>> > Probably time to turn that back on and resolve test failures due to
>>>> > changed
>>>> > sconsign name.
>>>> >
>>>> > Care to give it a try?
>>>> > ;)
>>>> >
>>>>
>>>> Yes, I can do that. What change do I need to make for it to work?
>>>>
>>>> --
>>>> Russel.
>>>>
>>>> =============================================================================
>>>> Dr Russel Winder     t:+44 20 7585 2200   voip:sip:
>>>> [email protected]
>>>> 41 Buckmaster Road   m:+44 7770 465 077   xmpp:[email protected]
>>>> London SW11 1EN, UK  w: www.russel.org.uk skype:russel_winder
>>>>
>>>> _______________________________________________
>>>> Scons-dev mailing list
>>>> [email protected]
>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>
>>>>
>>> _______________________________________________
>>> Scons-dev mailing list
>>> [email protected]
>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>
>>
>> _______________________________________________
>> Scons-dev mailing list
>> [email protected]
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
> _______________________________________________
> Scons-dev mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.