I have a 3rd party library (Authy) that calls `platform.platform()` 
(https://docs.python.org/2/library/platform.html#platform.platform). 
 Unfortunately, when this function tries to get the libc version (assuming 
so, function is named libc_ver), it tries to open the file /usr/bin/python. 
 Obviously this does not work.

Is there an established approach to handle this?  It seems like the kind of 
thing that would be stubbed out by GAE SDK (returning its own platform 
string, or an empty string).  I'll probably submit a PR for better 
exception handling with the library maintainer, but in the meantime I'd 
love a reasonable mitigation (I can think of some nasty hacks that would 
work).

Cheers,
--Spain

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2e0d4331-561a-431b-a0a9-7dbee82f6b1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to