|
Let us walk on the 3-isogeny graph
|


Public Member Functions | |
| None | __init__ (self, *Any args, str name, bool isolated=False, **Any kwargs) |
| Any | check_default (self, optparse.Option option, str key, Any val) |
| optparse.Values | get_default_values (self) |
| None | error (self, str msg) |
Public Member Functions inherited from CustomOptionParser | |
| optparse.OptionGroup | insert_option_group (self, int idx, *Any args, **Any kwargs) |
| List[optparse.Option] | option_list_all (self) |
Data Fields | |
| name | |
| config | |
| values | |
| defaults | |
Protected Member Functions | |
| Generator[Tuple[str, Any], None, None] | _get_ordered_configuration_items (self) |
| Dict[str, Any] | _update_defaults (self, Dict[str, Any] defaults) |
Custom option parser which updates its defaults by checking the configuration files and environmental variables
| None __init__ | ( | self, | |
| *Any | args, | ||
| str | name, | ||
| bool | isolated = False, |
||
| **Any | kwargs | ||
| ) |
Definition at line 158 of file parser.py.
Referenced by Protocol.__init_subclass__().

Definition at line 178 of file parser.py.
References ConfigOptionParser.config, BaseConfigurator.config, HTTPAdapter.config, Theme.config(), i, MunitParameterEnum.name, MunitParameter.name, MunitTest.name, MunitArgument_.name, Command.name, ConfigOptionParser.name, TransformedHit.name, _PackageInfo.name, InvalidWheel.name, BaseEntryPoint.name(), BasePath.name(), EntryPoint.name, InstallationCandidate.name, VcsInfo.name, ArchiveInfo.name, DirInfo.name, LinkHash.name, Wheel.name, LazyZipOverHTTP.name(), FrozenRequirement.name, InstallationResult.name, InstallRequirement.name(), InstallRequirement.name, Requirement.name(), Candidate.name(), _InstallRequirementBackedCandidate.name(), _InstallRequirementBackedCandidate.name, AlreadyInstalledCandidate.name, AlreadyInstalledCandidate.name(), ExtrasCandidate.name(), RequiresPythonCandidate.name(), ExplicitRequirement.name(), SpecifierRequirement.name(), RequiresPythonRequirement.name(), UnsatisfiableRequirement.name(), Bazaar.name, Mercurial.name, Subversion.name, VcsSupport.name, VersionControl.name, CodingStateMachineDict.name, Language.name, _Cache.name, Distribution.name, InstalledDistribution.name, EggInfoDistribution.name, LegacyMetadata.name, Metadata.name, ResourceBase.name, ExportEntry.name, Matcher.name, LinuxDistribution.name(), Formatter.name, BBCodeFormatter.name, GroffFormatter.name, HtmlFormatter.name, ImageFormatter.name, GifImageFormatter.name, JpgImageFormatter.name, BmpImageFormatter.name, IRCFormatter.name, LatexFormatter.name, NullFormatter.name, RawTokenFormatter.name, TestcaseFormatter.name, PangoMarkupFormatter.name, RtfFormatter.name, SvgFormatter.name, TerminalFormatter.name, Terminal256Formatter.name, TerminalTrueColorFormatter.name, Lexer.name, PythonLexer.name, Python2Lexer.name, _PythonConsoleLexerBase.name, PythonConsoleLexer.name, PythonTracebackLexer.name, Python2TracebackLexer.name, CythonLexer.name, DgLexer.name, NumPyLexer.name, ParserElement.name(), EditablePartial.name(), ElementState.name, LookupDict.name, Color.name, Emoji.name, Splitter.name, RowSplitter.name, ColumnSplitter.name, Layout.name, Tag.name, StockKeepingUnit.name, _Reader.name(), Frame.name, _LazyDescr.name, _SixMetaPathImporter.name, and Encoding.name.

|
protected |
Updates the given defaults with values from the config files and the environ. Does a little special handling for certain types of options (lists).
Definition at line 206 of file parser.py.
| Any check_default | ( | self, | |
| optparse.Option | option, | ||
| str | key, | ||
| Any | val | ||
| ) |
| None error | ( | self, | |
| str | msg | ||
| ) |
Definition at line 292 of file parser.py.
References i.
| optparse.Values get_default_values | ( | self | ) |
Overriding to make updating the defaults after instantiation of the option parser possible, _update_defaults() does the dirty work.
Definition at line 270 of file parser.py.
| config |
Definition at line 166 of file parser.py.
Referenced by Configurator.__getitem__(), ConfigOptionParser._get_ordered_configuration_items(), and BaseConfigurator.cfg_convert().
| name |
Definition at line 165 of file parser.py.
Referenced by AlreadyInstalledCandidate.__eq__(), Distribution.__eq__(), ExportEntry.__eq__(), _LazyDescr.__get__(), Distribution.__hash__(), ElementState.__init__(), Requirement.__init__(), LinkHash.__post_init__(), InstallationCandidate.__repr__(), Distribution.__repr__(), Metadata.__repr__(), ExportEntry.__repr__(), Encoding.__repr__(), Color.__rich_repr__(), Layout.__rich_repr__(), InstallationCandidate.__str__(), InstalledDistribution.__str__(), EggInfoDistribution.__str__(), Requirement.__str__(), ParserElement.__str__(), Tag.__str__(), _SixMetaPathImporter._add_module(), Matcher._check_compatible(), InstallRequirement._get_archive_name(), Wheel._get_extensions(), _SixMetaPathImporter._get_module(), ConfigOptionParser._get_ordered_configuration_items(), Distribution._get_requirements(), _Cache.add(), InstallRequirement.archive(), LinkHash.as_dict(), LinkHash.as_hashes(), Wheel.build(), _Cache.clear(), Wheel.filename(), Layout.get(), InstallRequirement.get_dist(), InstalledDistribution.get_distinfo_file(), RequirementCommand.get_requirements(), Wheel.get_wheel_metadata(), InstallRequirement.install(), Wheel.install(), SpecifierRequirement.is_satisfied_by(), LinuxDistribution.linux_distribution(), Wheel.metadata(), Distribution.name_and_version(), InstallRequirement.prepare_metadata(), Distribution.provides(), Metadata.provides(), VcsSupport.register(), VersionControl.run_command(), InstallRequirement.uninstall(), Wheel.update(), and Wheel.verify().