On 17 February 2016 at 15:42, Gregory P. Smith wrote:
> sys.argv represents the C main() argv array. Your inclination (in the
> linked to bug above) to leave sys.argv[0] alone is a good one.
>
No, it doesn't - it represents the state of argv *after* CPython's main
function is
Done: http://bugs.python.org/issue26388
On Wed, Feb 17, 2016 at 10:44 AM, Brett Cannon wrote:
>
>
> On Tue, 16 Feb 2016 at 20:59 Mike Kaplinskiy
> wrote:
>
>> Hey folks,
>>
>> I hope this is the right list for this sort of thing (python-ideas seemed
On Tue, 16 Feb 2016 at 20:59 Mike Kaplinskiy
wrote:
> Hey folks,
>
> I hope this is the right list for this sort of thing (python-ideas seemed
> more far-fetched).
>
> For some context: there is currently a issue with pex that causes
> sys.modules lookups to stop
On Tue, Feb 16, 2016 at 9:42 PM, Gregory P. Smith wrote:
>
> On Tue, Feb 16, 2016 at 9:00 PM Mike Kaplinskiy
> wrote:
>
>> Hey folks,
>>
>> I hope this is the right list for this sort of thing (python-ideas seemed
>> more far-fetched).
>>
>> For some
On Tue, Feb 16, 2016 at 9:00 PM Mike Kaplinskiy
wrote:
> Hey folks,
>
> I hope this is the right list for this sort of thing (python-ideas seemed
> more far-fetched).
>
> For some context: there is currently a issue with pex that causes
> sys.modules lookups to stop
Hey folks,
I hope this is the right list for this sort of thing (python-ideas seemed
more far-fetched).
For some context: there is currently a issue with pex that causes
sys.modules lookups to stop working for __main__. In turns this makes
unittest.run() & pkg_resources.resource_* fail. The root