Message287009
| Author | steve.dower |
|---|
| Recipients | ncoghlan, paul.moore, python-dev, steve.dower, tim.golden, zach.ware |
|---|
| Date | 2017-02-04.23:43:34 |
|---|
| SpamBayes Score | -1.0 |
|---|
| Marked as misclassified | Yes |
|---|
| Message-id | <1486251815.04.0.810024695358.issue29319@psf.upfronthosting.co.za> |
|---|
| In-reply-to | |
|---|
| Content |
|---|
That change fixes overwriting sys.path[0], the new logic is essentially:try: sys_path0 = sys.path[0]except: sys.path.append(argv0)else: if sys_path0: sys.path.insert(0, argv0) else: sys.path[0] = argv0I'm leaving this open for the better API fix for 3.7. |
|