[issue13286] PEP 3151 breaks backward compatibility: it should be documented

2019-05-13 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- pull_requests: +13197 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue13286] PEP 3151 breaks backward compatibility: it should be documented

2019-05-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -13194 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue13286] PEP 3151 breaks backward compatibility: it should be documented

2019-05-13 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- pull_requests: +13194 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue13286] PEP 3151 breaks backward compatibility: it should be documented

2012-02-07 Thread STINNER Victor
STINNER Victor added the comment: The code was fixed in importlib. I don't think that this borderline case should be documented anywhere, so I close this issue. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue13286] PEP 3151 breaks backward compatibility: it should be documented

2011-11-12 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13286] PEP 3151 breaks backward compatibility: it should be documented

2011-10-28 Thread Florent Xicluna
Changes by Florent Xicluna : -- stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue13286] PEP 3151 breaks backward compatibility: it should be documented

2011-10-28 Thread STINNER Victor
STINNER Victor added the comment: The first example was extracted from Lib/importlib/_bootstrap.py. The code was maybe wrong, I don't know. Another example: -- import errno import os try: os.rmdir("testdir") except: pass os.mkdir("testdir") try: try: #

[issue13286] PEP 3151 breaks backward compatibility: it should be documented

2011-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why would you catch IOError after os.mkdir()? -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13286] PEP 3151 breaks backward compatibility: it should be documented

2011-10-28 Thread STINNER Victor
New submission from STINNER Victor : The following example works on Python 2.7 and 3.2, but fails on Python 3.3: --- import errno import os try: os.rmdir("testdir") except: pass os.mkdir("testdir") try: try: os.mkdir("testdir") except IOError as exc: # If