These are chat archives for dropbox/pyston

9th
Nov 2015
Rudi Chen
@rudi-c
Nov 09 2015 15:18
Nvm it's not GC related, just the paste module which doesn't have __file__ (even in CPython).
My temporary workaround is to pass the filename to compileAndRunModule. Not sure what the right solution is though.
Sun
@Daetalus
Nov 09 2015 18:36
This message was deleted
Marius Wachtler
@undingen
Nov 09 2015 19:27
I checked if cpython has has two different formatter parser types too - and it has:
>>> id(type(''._formatter_parser())) == id(type(u''._formatter_parser()))
False
Sun
@Daetalus
Nov 09 2015 19:36
But why... CPython only init it once, in _PyUnicode_Init.
Marius Wachtler
@undingen
Nov 09 2015 20:17
I don't know for sure why it works but I suspect that it works because cpython does not always require to call PyType_Ready before using a type.