On Sat, Apr 21, 2012 at 12:16 PM, Guido van Rossum <guido at python.org> wrote: > Yeah, PyImporter_GetMagicTag() looks like a public API, parallel with > PyImporter_GetMagicNumber(). Maybe it was accidentally not documented? > I'm not sure when it was introduced. Should we even deprecate it? I'd > say do the same thing you're doing for GetMagicNumber(). I'd keep it and just make it a convenience wrapper for the call back into the Python code. > NullImporter_Type looks like it was accidentally not made static, so > don't fret about that. Yeah, the lack of the Py_ prefix suggests this one being visible is just an accident of the implementation, and the name is unusual enough that it never caused a symbol collision for any third parties. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4