On Fri, Jul 2, 2010 at 1:20 AM, "Martin v. Löwis" <mar...@v.loewis.de> wrote: > Am 02.07.2010 08:55, schrieb Craig Citro: >>> This question has an easy answer - can you possibly tell the difference? >>> >> >> Ok, I'm obviously being silly here, but sure you can: > > The dis module is deliberately (*) not part of the Python language and > standard library; it's an implementation detail (as is the func_code > attribute, and the code object). > > So the question really is: can you tell the difference, using only > mechanisms not explicitly documented as implementation-specific? > > Regards, > Martin > > (*) Unfortunately, the documentation fails to mention that, probably > because it's too obvious. >
Even more, Jython and IronPython don't have Python bytecode at all and they're considered python implementations. Cheers, fijal _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com