[issue28350] Interning string constants with null character

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +853 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue28350] Interning string constants with null character

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added tests and refactored all_name_chars(). -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue28350] Interning string constants with null character

2016-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 522adc2e082a by Serhiy Storchaka in branch '2.7': Issue #28350: String constants with null character no longer interned. https://hg.python.org/cpython/rev/522adc2e082a New changeset d7ab3241aef2 by Serhiy Storchaka in branch '3.5': Issue #28350: Str

[issue28350] Interning string constants with null character

2016-10-04 Thread STINNER Victor
STINNER Victor added the comment: I have no opinion on interning non-ASCII strings. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue28350] Interning string constants with null character

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Victor. -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list maili

[issue28350] Interning string constants with null character

2016-10-03 Thread STINNER Victor
STINNER Victor added the comment: all_name_chars.patch LGTM. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue28350] Interning string constants with null character

2016-10-03 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently string constants are interned if they consist of ASCII word characters ([0-9A-Za-z_]). But strings are tested only to the first null character. This is not problem for names, since they can't include null characters, but string constants that con