Would it be worth adding a limit to the maximum number of tags parsed in Tag.parse_tag()?. It builds the cartesian product of compressed tag components:
|
for interpreter in interpreters.split("."): |
|
for abi in abis.split("."): |
|
for platform_ in platforms.split("."): |
|
tags.add(Tag(interpreter, abi, platform_)) |
The spec does warn about it, but doesn't actually specify a limit for them
This compression scheme can generate large numbers of unsupported tags and “impossible” tags that are supported by no Python implementation e.g. “cp33-cp31u-win64”, so use it sparingly.
Would it be worth adding a limit to the maximum number of tags parsed in
Tag.parse_tag()?. It builds the cartesian product of compressed tag components:packaging/src/packaging/tags.py
Lines 232 to 235 in 0030fb8
The spec does warn about it, but doesn't actually specify a limit for them