[issue25426] Deprecate the regex_compile benchmark

2015-10-30 Thread Brett Cannon

Brett Cannon added the comment:

Thanks for the pointer about re.purge(), Serhiy!

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25426] Deprecate the regex_compile benchmark

2015-10-30 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0da7b44c2ea3 by Brett Cannon in branch 'default':
Use re.purge() to clear the re cache.
https://hg.python.org/benchmarks/rev/0da7b44c2ea3

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25426] Deprecate the regex_compile benchmark

2015-10-16 Thread Brett Cannon

New submission from Brett Cannon:

Turns out it relies on internal APIs that either don't exist on other 
interpreters (e.g., IronPython), or they change which leads to breakage of the 
benchmark (e.g., already changed for Python 3.2 and 3.3). Probably best to 
retire it rather than continuing to try and prop it up.

--
components: Benchmarks
messages: 253091
nosy: brett.cannon, pitrou
priority: normal
severity: normal
status: open
title: Deprecate the regex_compile benchmark

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25426] Deprecate the regex_compile benchmark

2015-10-16 Thread Brett Cannon

Changes by Brett Cannon :


--
assignee:  -> brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25426] Deprecate the regex_compile benchmark

2015-10-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The public API for cache clearing is re.purge().

> It's a pity there isn't an official way to compile without caching.

See issue17441.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25426] Deprecate the regex_compile benchmark

2015-10-16 Thread Antoine Pitrou

Antoine Pitrou added the comment:

That sounds reasonable to me. It's a pity there isn't an official way to 
compile without caching.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com