[issue17669] Segfault caused by

2013-04-08 Thread Frank Hamand
Changes by Frank Hamand frankham...@hotmail.com: -- components: Interpreter Core, Windows nosy: fhamand priority: normal severity: normal status: open title: Segfault caused by type: crash versions: Python 3.3 ___ Python tracker rep

[issue17669] Segfault caused by weird combination of imports and yield from

2013-04-08 Thread Frank Hamand
New submission from Frank Hamand: I've found a very strange bug in python 3.3 It's taken me around an hour just to narrow it down to a small case where it happens. I cannot for the life of me figure out the exact cause. It seems to have something to do with yield from. I've attached a case

[issue17669] Segfault caused by weird combination of imports and yield from

2013-04-08 Thread Frank Hamand
Frank Hamand added the comment: The file contents so people dont have to download the zip: generators.py: --- def subgen(): yield def other_gen(self): move = yield from subgen() game.py: --- class Game(object): def

[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

2013-03-23 Thread Frank Hamand
Frank Hamand added the comment: From msg172531 in issue10551: You see, MIME\Database\Content Type in the Windows registry is a mime type - file extension mapping, *not the other way around*. But read_windows_registry() tries to use it as a file extension - mime type mapping, and bad things