This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: stringprep.py: sets.Set() --> set()
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: loewis Nosy List: arigo, loewis, rhettinger
Priority: low Keywords:

Created on 2004-05-06 16:51 by rhettinger, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
mkstringprep.diff rhettinger, 2004-05-07 18:09 Patch to mkstringprep.py
Messages (5)
msg20721 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-05-06 16:51
Suggest replacing sets.Set() with set() in 
stringprep.py.  The __contains__ test for the builtin 
runs several times faster.
msg20722 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-05-07 18:09
Logged In: YES 
user_id=80475

Patch is attached.
msg20723 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-05-13 19:26
Logged In: YES 
user_id=21627

The patch is fine, please apply, and regenerate stringprep.py.
msg20724 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-05-13 21:12
Logged In: YES 
user_id=80475

On Windows with MSVC++ 6.0, I haven't been able to make a
UCS-4 build.

Can you apply this one for me.  Thanks, Raymond
msg20725 - (view) Author: Armin Rigo (arigo) * (Python committer) Date: 2004-05-19 19:11
Logged In: YES 
user_id=4771

Checked in:
   Lib/stringprep.py: rev 1.3
   Tools/unicode/mkstringprep.py: rev 1.2
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40226
2004-05-06 16:51:59rhettingercreate