Re: [Python-Dev] Timing for removing legacy Unicode APIs deprecated by PEP 393

2018-04-19 Thread INADA Naoki
> > I suppose that many users will start porting to Python 3 only in 2020, after > 2.7 EOL. After that time we shouldn't support compatibility with 2.7 and can > start emitting deprecation warnings at runtime. After 1 or 2 releases after > that we can make corresponding public API always failing

Re: [Python-Dev] Timing for removing legacy Unicode APIs deprecated by PEP 393

2018-04-18 Thread Serhiy Storchaka
13.04.18 16:27, INADA Naoki пише: Then, I want to reschedule the removal of these APIs. Can we remove them in 3.8? 3.9? or 3.10? I prefer sooner as possible. I suppose that many users will start porting to Python 3 only in 2020, after 2.7 EOL. After that time we shouldn't support

[Python-Dev] Timing for removing legacy Unicode APIs deprecated by PEP 393

2018-04-13 Thread INADA Naoki
Hi, PEP 393 [1] deprecates some Unicode APIs relating to Py_UNICODE. The PEP doesn't provide schedule for removing them. But the APIs are marked "will be removed in 4.0" in the document. When removing them, we can reduce `wchar_t *` member of unicode object. It takes 8 bytes on 64bit platform.