Message220247
> Could you please use a fix that works for Python tools in general?
I suggested an alternative implementation altogether in Issue #16778, but it was suggested that we wait for frame annotations. I'm not sure what the schedule for that is.
> The sys.frozen flag is not an official Python API and it's unlikely to become one
Would using imp.is_frozen('logging') rather than hasattr(sys, 'frozen') meet your requirement here? I'm not saying it's the ideal solution, but perhaps it will do until frame annotations arrive and we can avoid using filenames altogether? |
|
Date |
User |
Action |
Args |
2014-06-11 09:25:20 | vinay.sajip | set | recipients:
+ vinay.sajip, lemburg, python-dev |
2014-06-11 09:25:20 | vinay.sajip | set | messageid: <1402478720.7.0.302746095911.issue21709@psf.upfronthosting.co.za> |
2014-06-11 09:25:20 | vinay.sajip | link | issue21709 messages |
2014-06-11 09:25:20 | vinay.sajip | create | |
|