@simplexai/localmodels-linux-arm64 0.0.0-stage → 0.1.0-dev.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bootstrap.identity +1 -0
- package/bootstrap.sha256 +4252 -0
- package/kit.py +120 -0
- package/modules/localmodels/HERMES-LICENSE +21 -0
- package/modules/localmodels/__init__.py +6 -0
- package/modules/localmodels/__main__.py +741 -0
- package/modules/localmodels/app.py +541 -0
- package/modules/localmodels/apple_sensors.py +431 -0
- package/modules/localmodels/approval.py +241 -0
- package/modules/localmodels/asr_audio.py +129 -0
- package/modules/localmodels/asr_soniox.py +273 -0
- package/modules/localmodels/asr_websocket.py +93 -0
- package/modules/localmodels/auth_proxy.py +977 -0
- package/modules/localmodels/bandwidth_probe.py +64 -0
- package/modules/localmodels/catalog.json +8816 -0
- package/modules/localmodels/catalog.py +567 -0
- package/modules/localmodels/catalog_add.py +357 -0
- package/modules/localmodels/catalog_license.py +41 -0
- package/modules/localmodels/catalog_recipes.py +440 -0
- package/modules/localmodels/chat_template.py +62 -0
- package/modules/localmodels/chat_templates/qwen3.8-27b.jinja +184 -0
- package/modules/localmodels/cli_help.py +382 -0
- package/modules/localmodels/cli_parser.py +350 -0
- package/modules/localmodels/component.py +500 -0
- package/modules/localmodels/console.py +396 -0
- package/modules/localmodels/context_policy.py +748 -0
- package/modules/localmodels/contracts.py +133 -0
- package/modules/localmodels/custom_hub.py +1040 -0
- package/modules/localmodels/custom_hub_http.py +513 -0
- package/modules/localmodels/custom_probe.py +479 -0
- package/modules/localmodels/debug_cli.py +158 -0
- package/modules/localmodels/debug_mode.py +642 -0
- package/modules/localmodels/debug_stub_server.py +380 -0
- package/modules/localmodels/decode_calibration.json +6 -0
- package/modules/localmodels/decode_calibration.py +121 -0
- package/modules/localmodels/deploy.py +471 -0
- package/modules/localmodels/deploy_steps.py +154 -0
- package/modules/localmodels/deployment_lifecycle.py +167 -0
- package/modules/localmodels/desktop.py +137 -0
- package/modules/localmodels/diagnostics.py +63 -0
- package/modules/localmodels/discovery.py +189 -0
- package/modules/localmodels/download-mirrors.json +441 -0
- package/modules/localmodels/draft_spec.py +164 -0
- package/modules/localmodels/engine_adapters/__init__.py +6 -0
- package/modules/localmodels/engine_adapters/auxiliary.py +30 -0
- package/modules/localmodels/engine_adapters/base.py +40 -0
- package/modules/localmodels/engine_adapters/llama_cpp.py +539 -0
- package/modules/localmodels/engine_adapters/strata_poly.py +57 -0
- package/modules/localmodels/engine_adapters/suite_plan.py +394 -0
- package/modules/localmodels/engines-b11583.json +122 -0
- package/modules/localmodels/engines-b12588-mix-c0c3de8.json +110 -0
- package/modules/localmodels/engines-b12757-mix-ef2df21.json +110 -0
- package/modules/localmodels/engines-prism-b12178-03ec600.json +131 -0
- package/modules/localmodels/engines-strata-0.1.47.json +35 -0
- package/modules/localmodels/engines-strata-0.1.49.2.json +35 -0
- package/modules/localmodels/engines-strata-0.1.59.1.json +35 -0
- package/modules/localmodels/engines-strata-poly-0.2.20-poly.1.json +132 -0
- package/modules/localmodels/engines-strata-poly-0.2.20-poly.7.json +94 -0
- package/modules/localmodels/engines-whisper-b5454.json +151 -0
- package/modules/localmodels/engines.json +314 -0
- package/modules/localmodels/engines.py +343 -0
- package/modules/localmodels/estimator.py +574 -0
- package/modules/localmodels/fixtures/jfk.wav +0 -0
- package/modules/localmodels/fixtures/stack-research-demo-plan.json +1059 -0
- package/modules/localmodels/frontend.py +147 -0
- package/modules/localmodels/gguf.py +509 -0
- package/modules/localmodels/gpu_specs.py +163 -0
- package/modules/localmodels/guard-requirements.in +3 -0
- package/modules/localmodels/guard-requirements.lock +285 -0
- package/modules/localmodels/guard.py +510 -0
- package/modules/localmodels/guard_runtime.py +235 -0
- package/modules/localmodels/hf_repo.py +346 -0
- package/modules/localmodels/host_sensors.py +704 -0
- package/modules/localmodels/hosts.py +696 -0
- package/modules/localmodels/http_local.py +59 -0
- package/modules/localmodels/install.py +151 -0
- package/modules/localmodels/kokoro-tts-0.6.1.txt +299 -0
- package/modules/localmodels/library_cli.py +362 -0
- package/modules/localmodels/library_custom.py +868 -0
- package/modules/localmodels/library_direct.py +94 -0
- package/modules/localmodels/library_elastic.py +673 -0
- package/modules/localmodels/library_jobs.py +758 -0
- package/modules/localmodels/library_kept.py +161 -0
- package/modules/localmodels/library_model.py +754 -0
- package/modules/localmodels/library_order.py +235 -0
- package/modules/localmodels/library_poly.py +336 -0
- package/modules/localmodels/library_pricing.py +638 -0
- package/modules/localmodels/library_serve.py +776 -0
- package/modules/localmodels/library_smoke.py +334 -0
- package/modules/localmodels/library_state.py +569 -0
- package/modules/localmodels/library_status.py +1179 -0
- package/modules/localmodels/llm_rank.py +434 -0
- package/modules/localmodels/memcalc_cli.py +193 -0
- package/modules/localmodels/metal.py +492 -0
- package/modules/localmodels/metal_probe.py +312 -0
- package/modules/localmodels/mirrors.py +464 -0
- package/modules/localmodels/mlx-lm-0.32.2-requirements.txt +742 -0
- package/modules/localmodels/mlx_server.py +97 -0
- package/modules/localmodels/npm_signatures.py +131 -0
- package/modules/localmodels/npm_transport.py +200 -0
- package/modules/localmodels/nvml_ctypes.py +431 -0
- package/modules/localmodels/openapi.yaml +359 -0
- package/modules/localmodels/plan_envelope.py +479 -0
- package/modules/localmodels/planning/__init__.py +3 -0
- package/modules/localmodels/planning/budget.py +698 -0
- package/modules/localmodels/planning/llm_ram.py +150 -0
- package/modules/localmodels/planning/memcalc.py +477 -0
- package/modules/localmodels/planning/memcalc_load.py +215 -0
- package/modules/localmodels/planning/memory_pools.py +403 -0
- package/modules/localmodels/planning/sizecalc.py +622 -0
- package/modules/localmodels/preparation.py +49 -0
- package/modules/localmodels/privacy.py +311 -0
- package/modules/localmodels/privacy_acceptance.py +123 -0
- package/modules/localmodels/probe.py +750 -0
- package/modules/localmodels/process_identity.py +812 -0
- package/modules/localmodels/process_identity_darwin.py +344 -0
- package/modules/localmodels/process_identity_linux.py +206 -0
- package/modules/localmodels/process_windows.py +235 -0
- package/modules/localmodels/program_scheduler.py +1198 -0
- package/modules/localmodels/python-bootstrap-lock.json +37 -0
- package/modules/localmodels/quant_formats.py +123 -0
- package/modules/localmodels/recommend.py +352 -0
- package/modules/localmodels/recommend_cli.py +242 -0
- package/modules/localmodels/records.py +259 -0
- package/modules/localmodels/region.py +659 -0
- package/modules/localmodels/remote_ops.py +205 -0
- package/modules/localmodels/remote_ops_common.py +670 -0
- package/modules/localmodels/remote_ops_download.py +674 -0
- package/modules/localmodels/remote_ops_launchd.py +91 -0
- package/modules/localmodels/remote_ops_mirrors.py +328 -0
- package/modules/localmodels/remote_ops_prepare.py +486 -0
- package/modules/localmodels/remote_ops_ranges.py +483 -0
- package/modules/localmodels/remote_ops_redirect.py +393 -0
- package/modules/localmodels/remote_ops_remove.py +139 -0
- package/modules/localmodels/remote_ops_service.py +755 -0
- package/modules/localmodels/remote_ops_verify.py +475 -0
- package/modules/localmodels/residency.py +404 -0
- package/modules/localmodels/residency_host.py +161 -0
- package/modules/localmodels/reuse.py +265 -0
- package/modules/localmodels/runtime-lock.json +188 -0
- package/modules/localmodels/runtime_args.py +150 -0
- package/modules/localmodels/runtime_auth.py +639 -0
- package/modules/localmodels/runtime_cli.py +760 -0
- package/modules/localmodels/runtime_discovery.py +142 -0
- package/modules/localmodels/runtime_install.py +258 -0
- package/modules/localmodels/runtime_io.py +753 -0
- package/modules/localmodels/runtime_pi.py +140 -0
- package/modules/localmodels/runtime_process.py +233 -0
- package/modules/localmodels/runtime_releases.py +293 -0
- package/modules/localmodels/runtime_windows_acl.py +365 -0
- package/modules/localmodels/service_autostart.py +153 -0
- package/modules/localmodels/service_control.py +359 -0
- package/modules/localmodels/service_deployment.py +538 -0
- package/modules/localmodels/service_jobs.py +252 -0
- package/modules/localmodels/service_probe.py +722 -0
- package/modules/localmodels/service_supervisor.py +45 -0
- package/modules/localmodels/service_upgrade.py +428 -0
- package/modules/localmodels/service_worker.py +147 -0
- package/modules/localmodels/services_cli.py +499 -0
- package/modules/localmodels/setup_capacity.py +186 -0
- package/modules/localmodels/setup_inspection.py +659 -0
- package/modules/localmodels/setup_text.py +196 -0
- package/modules/localmodels/setup_upgrade.py +146 -0
- package/modules/localmodels/sizecalc_cli.py +257 -0
- package/modules/localmodels/slot_cache.py +531 -0
- package/modules/localmodels/speech-sv.txt +93 -0
- package/modules/localmodels/speech_admission.py +449 -0
- package/modules/localmodels/speech_catalog.py +174 -0
- package/modules/localmodels/speech_cli.py +273 -0
- package/modules/localmodels/speech_jobs.py +861 -0
- package/modules/localmodels/speech_model.py +406 -0
- package/modules/localmodels/speech_serve.py +287 -0
- package/modules/localmodels/speech_server.py +960 -0
- package/modules/localmodels/speech_state.py +708 -0
- package/modules/localmodels/speech_worker_sensevoice.py +481 -0
- package/modules/localmodels/speech_workers.py +907 -0
- package/modules/localmodels/stack.py +463 -0
- package/modules/localmodels/stack_arena.py +732 -0
- package/modules/localmodels/stack_args.py +614 -0
- package/modules/localmodels/stack_auto.py +503 -0
- package/modules/localmodels/stack_aux_gpu.py +157 -0
- package/modules/localmodels/stack_capacity.py +207 -0
- package/modules/localmodels/stack_card.py +196 -0
- package/modules/localmodels/stack_cleanup.py +389 -0
- package/modules/localmodels/stack_cli.py +339 -0
- package/modules/localmodels/stack_compose.py +734 -0
- package/modules/localmodels/stack_console.py +320 -0
- package/modules/localmodels/stack_debug.py +140 -0
- package/modules/localmodels/stack_decision.py +730 -0
- package/modules/localmodels/stack_doctor.py +518 -0
- package/modules/localmodels/stack_down.py +138 -0
- package/modules/localmodels/stack_events.py +375 -0
- package/modules/localmodels/stack_gpu_memory.py +61 -0
- package/modules/localmodels/stack_hardware.py +599 -0
- package/modules/localmodels/stack_hardware_text.py +213 -0
- package/modules/localmodels/stack_journal.py +224 -0
- package/modules/localmodels/stack_ledger.py +442 -0
- package/modules/localmodels/stack_lifecycle.py +453 -0
- package/modules/localmodels/stack_mcp.py +729 -0
- package/modules/localmodels/stack_memory.py +730 -0
- package/modules/localmodels/stack_mlx.py +271 -0
- package/modules/localmodels/stack_picks.py +228 -0
- package/modules/localmodels/stack_plan.py +713 -0
- package/modules/localmodels/stack_ports.py +348 -0
- package/modules/localmodels/stack_preflight.py +696 -0
- package/modules/localmodels/stack_progress.py +117 -0
- package/modules/localmodels/stack_remove.py +355 -0
- package/modules/localmodels/stack_research.py +716 -0
- package/modules/localmodels/stack_research_demo.py +125 -0
- package/modules/localmodels/stack_research_plan.py +146 -0
- package/modules/localmodels/stack_review.py +201 -0
- package/modules/localmodels/stack_rollback.py +290 -0
- package/modules/localmodels/stack_route.py +338 -0
- package/modules/localmodels/stack_run.py +773 -0
- package/modules/localmodels/stack_suite.py +761 -0
- package/modules/localmodels/stack_summary.py +296 -0
- package/modules/localmodels/stack_try.py +281 -0
- package/modules/localmodels/stack_try_client.py +232 -0
- package/modules/localmodels/stack_try_docs.py +139 -0
- package/modules/localmodels/stack_up.py +330 -0
- package/modules/localmodels/stack_update.py +570 -0
- package/modules/localmodels/stack_verify.py +86 -0
- package/modules/localmodels/stack_view.py +602 -0
- package/modules/localmodels/stack_view_access.py +419 -0
- package/modules/localmodels/stack_view_agent.py +370 -0
- package/modules/localmodels/stack_view_apply.py +85 -0
- package/modules/localmodels/stack_view_demo.py +309 -0
- package/modules/localmodels/stack_view_events.py +143 -0
- package/modules/localmodels/stack_view_gpu.py +164 -0
- package/modules/localmodels/stack_view_hub.py +613 -0
- package/modules/localmodels/stack_view_hub_cli.py +312 -0
- package/modules/localmodels/stack_view_llm.py +65 -0
- package/modules/localmodels/stack_view_measure.py +152 -0
- package/modules/localmodels/stack_view_sandbox.py +333 -0
- package/modules/localmodels/stack_view_schema.py +229 -0
- package/modules/localmodels/stack_view_serve.py +523 -0
- package/modules/localmodels/stack_view_service.py +295 -0
- package/modules/localmodels/stack_view_slots.py +167 -0
- package/modules/localmodels/stack_view_telemetry.py +163 -0
- package/modules/localmodels/stack_view_text.py +620 -0
- package/modules/localmodels/stack_view_tick.py +605 -0
- package/modules/localmodels/stack_view_words.py +230 -0
- package/modules/localmodels/stack_warm.py +642 -0
- package/modules/localmodels/stack_warm_store.py +506 -0
- package/modules/localmodels/stack_whatif.py +558 -0
- package/modules/localmodels/startlux-decide-83fe6c7d.txt +1532 -0
- package/modules/localmodels/strata-poly-serve-0.2.20-poly.1.txt +254 -0
- package/modules/localmodels/strata-poly-serve-0.2.20-poly.7.txt +428 -0
- package/modules/localmodels/strata_poly_server.py +142 -0
- package/modules/localmodels/suite.py +250 -0
- package/modules/localmodels/telemetry_math.py +538 -0
- package/modules/localmodels/tool_archive.py +101 -0
- package/modules/localmodels/tools.json +1401 -0
- package/modules/localmodels/transport.py +257 -0
- package/modules/localmodels/tts_server.py +215 -0
- package/modules/localmodels/tui.py +142 -0
- package/modules/localmodels/tui_dialogs.py +168 -0
- package/modules/localmodels/tui_modals.py +326 -0
- package/modules/localmodels/tui_screen.py +736 -0
- package/modules/localmodels/tui_views.py +575 -0
- package/modules/localmodels/vision.py +191 -0
- package/modules/localmodels/web/index.html +2605 -0
- package/modules/localmodels/web/sizecalc/app.js +1306 -0
- package/modules/localmodels/web/sizecalc/calc.js +269 -0
- package/modules/localmodels/web/sizecalc/page.html +520 -0
- package/modules/localmodels/web/view/ASSET-SOURCES.md +11 -0
- package/modules/localmodels/web/view/fleet.html +52 -0
- package/modules/localmodels/web/view/fleet.js +446 -0
- package/modules/localmodels/web/view/i18n.js +126 -0
- package/modules/localmodels/web/view/icon.svg +1 -0
- package/modules/localmodels/web/view/index.html +149 -0
- package/modules/localmodels/web/view/logo-claude.svg +3 -0
- package/modules/localmodels/web/view/logo-codex.png +0 -0
- package/modules/localmodels/web/view/logo-pi.svg +6 -0
- package/modules/localmodels/web/view/manifest.webmanifest +11 -0
- package/modules/localmodels/web/view/nav.js +241 -0
- package/modules/localmodels/web/view/theme.js +13 -0
- package/modules/localmodels/web/view/view.css +903 -0
- package/modules/localmodels/web/view/view.js +2265 -0
- package/modules/localmodels/win_probe.py +204 -0
- package/modules/localmodels/windows_job.py +69 -0
- package/modules/simplex_localmodels-0.1.0.dev101.dist-info/METADATA +9 -0
- package/modules/simplex_localmodels-0.1.0.dev101.dist-info/RECORD +284 -0
- package/modules/simplex_localmodels-0.1.0.dev101.dist-info/WHEEL +4 -0
- package/modules/simplex_localmodels-0.1.0.dev101.dist-info/entry_points.txt +3 -0
- package/modules/simplex_localmodels-0.1.0.dev101.dist-info/licenses/NOTICE +68 -0
- package/modules/simplex_localmodels-0.1.0.dev101.dist-info/licenses/localmodels/HERMES-LICENSE +21 -0
- package/package.json +12 -4
- package/python/bin/python3.12 +0 -0
- package/python/lib/python3.12/LICENSE.txt +279 -0
- package/python/lib/python3.12/__future__.py +147 -0
- package/python/lib/python3.12/__hello__.py +16 -0
- package/python/lib/python3.12/__phello__/__init__.py +7 -0
- package/python/lib/python3.12/__phello__/spam.py +7 -0
- package/python/lib/python3.12/_aix_support.py +108 -0
- package/python/lib/python3.12/_collections_abc.py +1173 -0
- package/python/lib/python3.12/_compat_pickle.py +252 -0
- package/python/lib/python3.12/_compression.py +162 -0
- package/python/lib/python3.12/_markupbase.py +396 -0
- package/python/lib/python3.12/_osx_support.py +579 -0
- package/python/lib/python3.12/_py_abc.py +147 -0
- package/python/lib/python3.12/_pydatetime.py +2643 -0
- package/python/lib/python3.12/_pydecimal.py +6339 -0
- package/python/lib/python3.12/_pyio.py +2698 -0
- package/python/lib/python3.12/_pylong.py +329 -0
- package/python/lib/python3.12/_sitebuiltins.py +103 -0
- package/python/lib/python3.12/_strptime.py +664 -0
- package/python/lib/python3.12/_sysconfigdata__linux_aarch64-linux-gnu.py +1035 -0
- package/python/lib/python3.12/_threading_local.py +242 -0
- package/python/lib/python3.12/_weakrefset.py +205 -0
- package/python/lib/python3.12/abc.py +188 -0
- package/python/lib/python3.12/aifc.py +984 -0
- package/python/lib/python3.12/antigravity.py +17 -0
- package/python/lib/python3.12/argparse.py +2650 -0
- package/python/lib/python3.12/ast.py +1840 -0
- package/python/lib/python3.12/asyncio/__init__.py +47 -0
- package/python/lib/python3.12/asyncio/__main__.py +128 -0
- package/python/lib/python3.12/asyncio/base_events.py +2024 -0
- package/python/lib/python3.12/asyncio/base_futures.py +67 -0
- package/python/lib/python3.12/asyncio/base_subprocess.py +285 -0
- package/python/lib/python3.12/asyncio/base_tasks.py +94 -0
- package/python/lib/python3.12/asyncio/constants.py +41 -0
- package/python/lib/python3.12/asyncio/coroutines.py +109 -0
- package/python/lib/python3.12/asyncio/events.py +868 -0
- package/python/lib/python3.12/asyncio/exceptions.py +62 -0
- package/python/lib/python3.12/asyncio/format_helpers.py +76 -0
- package/python/lib/python3.12/asyncio/futures.py +430 -0
- package/python/lib/python3.12/asyncio/locks.py +586 -0
- package/python/lib/python3.12/asyncio/log.py +7 -0
- package/python/lib/python3.12/asyncio/mixins.py +21 -0
- package/python/lib/python3.12/asyncio/proactor_events.py +897 -0
- package/python/lib/python3.12/asyncio/protocols.py +216 -0
- package/python/lib/python3.12/asyncio/queues.py +244 -0
- package/python/lib/python3.12/asyncio/runners.py +216 -0
- package/python/lib/python3.12/asyncio/selector_events.py +1324 -0
- package/python/lib/python3.12/asyncio/sslproto.py +929 -0
- package/python/lib/python3.12/asyncio/staggered.py +174 -0
- package/python/lib/python3.12/asyncio/streams.py +770 -0
- package/python/lib/python3.12/asyncio/subprocess.py +229 -0
- package/python/lib/python3.12/asyncio/taskgroups.py +268 -0
- package/python/lib/python3.12/asyncio/tasks.py +1065 -0
- package/python/lib/python3.12/asyncio/threads.py +25 -0
- package/python/lib/python3.12/asyncio/timeouts.py +168 -0
- package/python/lib/python3.12/asyncio/transports.py +335 -0
- package/python/lib/python3.12/asyncio/trsock.py +98 -0
- package/python/lib/python3.12/asyncio/unix_events.py +1500 -0
- package/python/lib/python3.12/asyncio/windows_events.py +901 -0
- package/python/lib/python3.12/asyncio/windows_utils.py +173 -0
- package/python/lib/python3.12/base64.py +586 -0
- package/python/lib/python3.12/bdb.py +920 -0
- package/python/lib/python3.12/bisect.py +118 -0
- package/python/lib/python3.12/bz2.py +344 -0
- package/python/lib/python3.12/cProfile.py +195 -0
- package/python/lib/python3.12/calendar.py +808 -0
- package/python/lib/python3.12/cgi.py +1014 -0
- package/python/lib/python3.12/cgitb.py +332 -0
- package/python/lib/python3.12/chunk.py +173 -0
- package/python/lib/python3.12/cmd.py +401 -0
- package/python/lib/python3.12/code.py +324 -0
- package/python/lib/python3.12/codecs.py +1129 -0
- package/python/lib/python3.12/codeop.py +161 -0
- package/python/lib/python3.12/collections/__init__.py +1592 -0
- package/python/lib/python3.12/collections/abc.py +3 -0
- package/python/lib/python3.12/colorsys.py +166 -0
- package/python/lib/python3.12/compileall.py +469 -0
- package/python/lib/python3.12/concurrent/__init__.py +1 -0
- package/python/lib/python3.12/concurrent/futures/__init__.py +54 -0
- package/python/lib/python3.12/concurrent/futures/_base.py +654 -0
- package/python/lib/python3.12/concurrent/futures/process.py +876 -0
- package/python/lib/python3.12/concurrent/futures/thread.py +240 -0
- package/python/lib/python3.12/configparser.py +1341 -0
- package/python/lib/python3.12/contextlib.py +800 -0
- package/python/lib/python3.12/contextvars.py +4 -0
- package/python/lib/python3.12/copy.py +292 -0
- package/python/lib/python3.12/copyreg.py +217 -0
- package/python/lib/python3.12/crypt.py +124 -0
- package/python/lib/python3.12/csv.py +461 -0
- package/python/lib/python3.12/ctypes/__init__.py +582 -0
- package/python/lib/python3.12/ctypes/_aix.py +327 -0
- package/python/lib/python3.12/ctypes/_endian.py +78 -0
- package/python/lib/python3.12/ctypes/macholib/README.ctypes +7 -0
- package/python/lib/python3.12/ctypes/macholib/__init__.py +9 -0
- package/python/lib/python3.12/ctypes/macholib/dyld.py +165 -0
- package/python/lib/python3.12/ctypes/macholib/dylib.py +42 -0
- package/python/lib/python3.12/ctypes/macholib/fetch_macholib +2 -0
- package/python/lib/python3.12/ctypes/macholib/fetch_macholib.bat +1 -0
- package/python/lib/python3.12/ctypes/macholib/framework.py +42 -0
- package/python/lib/python3.12/ctypes/util.py +379 -0
- package/python/lib/python3.12/ctypes/wintypes.py +202 -0
- package/python/lib/python3.12/curses/__init__.py +101 -0
- package/python/lib/python3.12/curses/ascii.py +99 -0
- package/python/lib/python3.12/curses/has_key.py +192 -0
- package/python/lib/python3.12/curses/panel.py +6 -0
- package/python/lib/python3.12/curses/textpad.py +204 -0
- package/python/lib/python3.12/dataclasses.py +1588 -0
- package/python/lib/python3.12/datetime.py +9 -0
- package/python/lib/python3.12/dbm/__init__.py +190 -0
- package/python/lib/python3.12/dbm/dumb.py +317 -0
- package/python/lib/python3.12/dbm/gnu.py +3 -0
- package/python/lib/python3.12/dbm/ndbm.py +3 -0
- package/python/lib/python3.12/decimal.py +108 -0
- package/python/lib/python3.12/difflib.py +2056 -0
- package/python/lib/python3.12/dis.py +805 -0
- package/python/lib/python3.12/doctest.py +2845 -0
- package/python/lib/python3.12/email/__init__.py +61 -0
- package/python/lib/python3.12/email/_encoded_words.py +233 -0
- package/python/lib/python3.12/email/_header_value_parser.py +3119 -0
- package/python/lib/python3.12/email/_parseaddr.py +557 -0
- package/python/lib/python3.12/email/_policybase.py +382 -0
- package/python/lib/python3.12/email/architecture.rst +216 -0
- package/python/lib/python3.12/email/base64mime.py +115 -0
- package/python/lib/python3.12/email/charset.py +398 -0
- package/python/lib/python3.12/email/contentmanager.py +251 -0
- package/python/lib/python3.12/email/encoders.py +65 -0
- package/python/lib/python3.12/email/errors.py +117 -0
- package/python/lib/python3.12/email/feedparser.py +534 -0
- package/python/lib/python3.12/email/generator.py +530 -0
- package/python/lib/python3.12/email/header.py +573 -0
- package/python/lib/python3.12/email/headerregistry.py +604 -0
- package/python/lib/python3.12/email/iterators.py +68 -0
- package/python/lib/python3.12/email/message.py +1215 -0
- package/python/lib/python3.12/email/mime/__init__.py +0 -0
- package/python/lib/python3.12/email/mime/application.py +37 -0
- package/python/lib/python3.12/email/mime/audio.py +100 -0
- package/python/lib/python3.12/email/mime/base.py +29 -0
- package/python/lib/python3.12/email/mime/image.py +152 -0
- package/python/lib/python3.12/email/mime/message.py +33 -0
- package/python/lib/python3.12/email/mime/multipart.py +47 -0
- package/python/lib/python3.12/email/mime/nonmultipart.py +21 -0
- package/python/lib/python3.12/email/mime/text.py +40 -0
- package/python/lib/python3.12/email/parser.py +127 -0
- package/python/lib/python3.12/email/policy.py +232 -0
- package/python/lib/python3.12/email/quoprimime.py +300 -0
- package/python/lib/python3.12/email/utils.py +486 -0
- package/python/lib/python3.12/encodings/__init__.py +174 -0
- package/python/lib/python3.12/encodings/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/encodings/__pycache__/aliases.cpython-312.pyc +0 -0
- package/python/lib/python3.12/encodings/__pycache__/utf_8.cpython-312.pyc +0 -0
- package/python/lib/python3.12/encodings/aliases.py +551 -0
- package/python/lib/python3.12/encodings/ascii.py +50 -0
- package/python/lib/python3.12/encodings/base64_codec.py +55 -0
- package/python/lib/python3.12/encodings/big5.py +39 -0
- package/python/lib/python3.12/encodings/big5hkscs.py +39 -0
- package/python/lib/python3.12/encodings/bz2_codec.py +78 -0
- package/python/lib/python3.12/encodings/charmap.py +69 -0
- package/python/lib/python3.12/encodings/cp037.py +307 -0
- package/python/lib/python3.12/encodings/cp1006.py +307 -0
- package/python/lib/python3.12/encodings/cp1026.py +307 -0
- package/python/lib/python3.12/encodings/cp1125.py +698 -0
- package/python/lib/python3.12/encodings/cp1140.py +307 -0
- package/python/lib/python3.12/encodings/cp1250.py +307 -0
- package/python/lib/python3.12/encodings/cp1251.py +307 -0
- package/python/lib/python3.12/encodings/cp1252.py +307 -0
- package/python/lib/python3.12/encodings/cp1253.py +307 -0
- package/python/lib/python3.12/encodings/cp1254.py +307 -0
- package/python/lib/python3.12/encodings/cp1255.py +307 -0
- package/python/lib/python3.12/encodings/cp1256.py +307 -0
- package/python/lib/python3.12/encodings/cp1257.py +307 -0
- package/python/lib/python3.12/encodings/cp1258.py +307 -0
- package/python/lib/python3.12/encodings/cp273.py +307 -0
- package/python/lib/python3.12/encodings/cp424.py +307 -0
- package/python/lib/python3.12/encodings/cp437.py +698 -0
- package/python/lib/python3.12/encodings/cp500.py +307 -0
- package/python/lib/python3.12/encodings/cp720.py +309 -0
- package/python/lib/python3.12/encodings/cp737.py +698 -0
- package/python/lib/python3.12/encodings/cp775.py +697 -0
- package/python/lib/python3.12/encodings/cp850.py +698 -0
- package/python/lib/python3.12/encodings/cp852.py +698 -0
- package/python/lib/python3.12/encodings/cp855.py +698 -0
- package/python/lib/python3.12/encodings/cp856.py +307 -0
- package/python/lib/python3.12/encodings/cp857.py +694 -0
- package/python/lib/python3.12/encodings/cp858.py +698 -0
- package/python/lib/python3.12/encodings/cp860.py +698 -0
- package/python/lib/python3.12/encodings/cp861.py +698 -0
- package/python/lib/python3.12/encodings/cp862.py +698 -0
- package/python/lib/python3.12/encodings/cp863.py +698 -0
- package/python/lib/python3.12/encodings/cp864.py +690 -0
- package/python/lib/python3.12/encodings/cp865.py +698 -0
- package/python/lib/python3.12/encodings/cp866.py +698 -0
- package/python/lib/python3.12/encodings/cp869.py +689 -0
- package/python/lib/python3.12/encodings/cp874.py +307 -0
- package/python/lib/python3.12/encodings/cp875.py +307 -0
- package/python/lib/python3.12/encodings/cp932.py +39 -0
- package/python/lib/python3.12/encodings/cp949.py +39 -0
- package/python/lib/python3.12/encodings/cp950.py +39 -0
- package/python/lib/python3.12/encodings/euc_jis_2004.py +39 -0
- package/python/lib/python3.12/encodings/euc_jisx0213.py +39 -0
- package/python/lib/python3.12/encodings/euc_jp.py +39 -0
- package/python/lib/python3.12/encodings/euc_kr.py +39 -0
- package/python/lib/python3.12/encodings/gb18030.py +39 -0
- package/python/lib/python3.12/encodings/gb2312.py +39 -0
- package/python/lib/python3.12/encodings/gbk.py +39 -0
- package/python/lib/python3.12/encodings/hex_codec.py +55 -0
- package/python/lib/python3.12/encodings/hp_roman8.py +314 -0
- package/python/lib/python3.12/encodings/hz.py +39 -0
- package/python/lib/python3.12/encodings/idna.py +317 -0
- package/python/lib/python3.12/encodings/iso2022_jp.py +39 -0
- package/python/lib/python3.12/encodings/iso2022_jp_1.py +39 -0
- package/python/lib/python3.12/encodings/iso2022_jp_2.py +39 -0
- package/python/lib/python3.12/encodings/iso2022_jp_2004.py +39 -0
- package/python/lib/python3.12/encodings/iso2022_jp_3.py +39 -0
- package/python/lib/python3.12/encodings/iso2022_jp_ext.py +39 -0
- package/python/lib/python3.12/encodings/iso2022_kr.py +39 -0
- package/python/lib/python3.12/encodings/iso8859_1.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_10.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_11.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_13.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_14.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_15.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_16.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_2.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_3.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_4.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_5.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_6.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_7.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_8.py +307 -0
- package/python/lib/python3.12/encodings/iso8859_9.py +307 -0
- package/python/lib/python3.12/encodings/johab.py +39 -0
- package/python/lib/python3.12/encodings/koi8_r.py +307 -0
- package/python/lib/python3.12/encodings/koi8_t.py +308 -0
- package/python/lib/python3.12/encodings/koi8_u.py +307 -0
- package/python/lib/python3.12/encodings/kz1048.py +307 -0
- package/python/lib/python3.12/encodings/latin_1.py +50 -0
- package/python/lib/python3.12/encodings/mac_arabic.py +698 -0
- package/python/lib/python3.12/encodings/mac_croatian.py +307 -0
- package/python/lib/python3.12/encodings/mac_cyrillic.py +307 -0
- package/python/lib/python3.12/encodings/mac_farsi.py +307 -0
- package/python/lib/python3.12/encodings/mac_greek.py +307 -0
- package/python/lib/python3.12/encodings/mac_iceland.py +307 -0
- package/python/lib/python3.12/encodings/mac_latin2.py +312 -0
- package/python/lib/python3.12/encodings/mac_roman.py +307 -0
- package/python/lib/python3.12/encodings/mac_romanian.py +307 -0
- package/python/lib/python3.12/encodings/mac_turkish.py +307 -0
- package/python/lib/python3.12/encodings/mbcs.py +47 -0
- package/python/lib/python3.12/encodings/oem.py +41 -0
- package/python/lib/python3.12/encodings/palmos.py +308 -0
- package/python/lib/python3.12/encodings/ptcp154.py +312 -0
- package/python/lib/python3.12/encodings/punycode.py +237 -0
- package/python/lib/python3.12/encodings/quopri_codec.py +56 -0
- package/python/lib/python3.12/encodings/raw_unicode_escape.py +46 -0
- package/python/lib/python3.12/encodings/rot_13.py +113 -0
- package/python/lib/python3.12/encodings/shift_jis.py +39 -0
- package/python/lib/python3.12/encodings/shift_jis_2004.py +39 -0
- package/python/lib/python3.12/encodings/shift_jisx0213.py +39 -0
- package/python/lib/python3.12/encodings/tis_620.py +307 -0
- package/python/lib/python3.12/encodings/undefined.py +49 -0
- package/python/lib/python3.12/encodings/unicode_escape.py +46 -0
- package/python/lib/python3.12/encodings/utf_16.py +155 -0
- package/python/lib/python3.12/encodings/utf_16_be.py +42 -0
- package/python/lib/python3.12/encodings/utf_16_le.py +42 -0
- package/python/lib/python3.12/encodings/utf_32.py +150 -0
- package/python/lib/python3.12/encodings/utf_32_be.py +37 -0
- package/python/lib/python3.12/encodings/utf_32_le.py +37 -0
- package/python/lib/python3.12/encodings/utf_7.py +38 -0
- package/python/lib/python3.12/encodings/utf_8.py +42 -0
- package/python/lib/python3.12/encodings/utf_8_sig.py +130 -0
- package/python/lib/python3.12/encodings/uu_codec.py +103 -0
- package/python/lib/python3.12/encodings/zlib_codec.py +77 -0
- package/python/lib/python3.12/ensurepip/__init__.py +291 -0
- package/python/lib/python3.12/ensurepip/__main__.py +5 -0
- package/python/lib/python3.12/ensurepip/_bundled/pip-26.2.2-py3-none-any.whl +0 -0
- package/python/lib/python3.12/ensurepip/_uninstall.py +31 -0
- package/python/lib/python3.12/enum.py +2108 -0
- package/python/lib/python3.12/filecmp.py +315 -0
- package/python/lib/python3.12/fileinput.py +442 -0
- package/python/lib/python3.12/fnmatch.py +185 -0
- package/python/lib/python3.12/fractions.py +990 -0
- package/python/lib/python3.12/ftplib.py +975 -0
- package/python/lib/python3.12/functools.py +1009 -0
- package/python/lib/python3.12/genericpath.py +176 -0
- package/python/lib/python3.12/getopt.py +215 -0
- package/python/lib/python3.12/getpass.py +185 -0
- package/python/lib/python3.12/gettext.py +646 -0
- package/python/lib/python3.12/glob.py +252 -0
- package/python/lib/python3.12/graphlib.py +250 -0
- package/python/lib/python3.12/gzip.py +711 -0
- package/python/lib/python3.12/hashlib.py +253 -0
- package/python/lib/python3.12/heapq.py +603 -0
- package/python/lib/python3.12/hmac.py +219 -0
- package/python/lib/python3.12/html/__init__.py +132 -0
- package/python/lib/python3.12/html/entities.py +2513 -0
- package/python/lib/python3.12/html/parser.py +563 -0
- package/python/lib/python3.12/http/__init__.py +200 -0
- package/python/lib/python3.12/http/client.py +1598 -0
- package/python/lib/python3.12/http/cookiejar.py +2132 -0
- package/python/lib/python3.12/http/cookies.py +631 -0
- package/python/lib/python3.12/http/server.py +1335 -0
- package/python/lib/python3.12/imaplib.py +1641 -0
- package/python/lib/python3.12/imghdr.py +180 -0
- package/python/lib/python3.12/importlib/__init__.py +138 -0
- package/python/lib/python3.12/importlib/_abc.py +39 -0
- package/python/lib/python3.12/importlib/_bootstrap.py +1551 -0
- package/python/lib/python3.12/importlib/_bootstrap_external.py +1749 -0
- package/python/lib/python3.12/importlib/abc.py +239 -0
- package/python/lib/python3.12/importlib/machinery.py +20 -0
- package/python/lib/python3.12/importlib/metadata/__init__.py +966 -0
- package/python/lib/python3.12/importlib/metadata/_adapters.py +89 -0
- package/python/lib/python3.12/importlib/metadata/_collections.py +30 -0
- package/python/lib/python3.12/importlib/metadata/_functools.py +104 -0
- package/python/lib/python3.12/importlib/metadata/_itertools.py +73 -0
- package/python/lib/python3.12/importlib/metadata/_meta.py +63 -0
- package/python/lib/python3.12/importlib/metadata/_text.py +99 -0
- package/python/lib/python3.12/importlib/readers.py +12 -0
- package/python/lib/python3.12/importlib/resources/__init__.py +38 -0
- package/python/lib/python3.12/importlib/resources/_adapters.py +168 -0
- package/python/lib/python3.12/importlib/resources/_common.py +208 -0
- package/python/lib/python3.12/importlib/resources/_itertools.py +38 -0
- package/python/lib/python3.12/importlib/resources/_legacy.py +98 -0
- package/python/lib/python3.12/importlib/resources/abc.py +173 -0
- package/python/lib/python3.12/importlib/resources/readers.py +146 -0
- package/python/lib/python3.12/importlib/resources/simple.py +106 -0
- package/python/lib/python3.12/importlib/simple.py +14 -0
- package/python/lib/python3.12/importlib/util.py +270 -0
- package/python/lib/python3.12/inspect.py +3433 -0
- package/python/lib/python3.12/io.py +99 -0
- package/python/lib/python3.12/ipaddress.py +2430 -0
- package/python/lib/python3.12/json/__init__.py +359 -0
- package/python/lib/python3.12/json/decoder.py +357 -0
- package/python/lib/python3.12/json/encoder.py +443 -0
- package/python/lib/python3.12/json/scanner.py +73 -0
- package/python/lib/python3.12/json/tool.py +85 -0
- package/python/lib/python3.12/keyword.py +64 -0
- package/python/lib/python3.12/lib-dynload/.empty +0 -0
- package/python/lib/python3.12/lib-dynload/_crypt.cpython-312-aarch64-linux-gnu.so +0 -0
- package/python/lib/python3.12/lib-dynload/_dbm.cpython-312-aarch64-linux-gnu.so +0 -0
- package/python/lib/python3.12/lib2to3/Grammar.txt +196 -0
- package/python/lib/python3.12/lib2to3/Grammar3.12.16.final.0.pickle +0 -0
- package/python/lib/python3.12/lib2to3/PatternGrammar.txt +28 -0
- package/python/lib/python3.12/lib2to3/PatternGrammar3.12.16.final.0.pickle +0 -0
- package/python/lib/python3.12/lib2to3/__init__.py +8 -0
- package/python/lib/python3.12/lib2to3/__main__.py +4 -0
- package/python/lib/python3.12/lib2to3/btm_matcher.py +163 -0
- package/python/lib/python3.12/lib2to3/btm_utils.py +280 -0
- package/python/lib/python3.12/lib2to3/fixer_base.py +186 -0
- package/python/lib/python3.12/lib2to3/fixer_util.py +453 -0
- package/python/lib/python3.12/lib2to3/fixes/__init__.py +1 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_apply.py +68 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_asserts.py +34 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_basestring.py +14 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_buffer.py +22 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_dict.py +106 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_except.py +93 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_exec.py +39 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_execfile.py +53 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_exitfunc.py +72 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_filter.py +94 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_funcattrs.py +21 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_future.py +22 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_getcwdu.py +19 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_has_key.py +109 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_idioms.py +152 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_import.py +99 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_imports.py +145 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_imports2.py +16 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_input.py +26 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_intern.py +39 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_isinstance.py +52 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_itertools.py +43 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_itertools_imports.py +57 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_long.py +19 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_map.py +110 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_metaclass.py +228 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_methodattrs.py +24 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_ne.py +23 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_next.py +103 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_nonzero.py +21 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_numliterals.py +28 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_operator.py +97 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_paren.py +44 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_print.py +87 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_raise.py +90 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_raw_input.py +17 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_reduce.py +35 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_reload.py +36 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_renames.py +70 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_repr.py +23 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_set_literal.py +53 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_standarderror.py +18 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_sys_exc.py +30 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_throw.py +56 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_tuple_params.py +175 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_types.py +61 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_unicode.py +42 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_urllib.py +196 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_ws_comma.py +39 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_xrange.py +73 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_xreadlines.py +25 -0
- package/python/lib/python3.12/lib2to3/fixes/fix_zip.py +46 -0
- package/python/lib/python3.12/lib2to3/main.py +273 -0
- package/python/lib/python3.12/lib2to3/patcomp.py +204 -0
- package/python/lib/python3.12/lib2to3/pgen2/__init__.py +4 -0
- package/python/lib/python3.12/lib2to3/pgen2/conv.py +257 -0
- package/python/lib/python3.12/lib2to3/pgen2/driver.py +177 -0
- package/python/lib/python3.12/lib2to3/pgen2/grammar.py +189 -0
- package/python/lib/python3.12/lib2to3/pgen2/literals.py +60 -0
- package/python/lib/python3.12/lib2to3/pgen2/parse.py +204 -0
- package/python/lib/python3.12/lib2to3/pgen2/pgen.py +386 -0
- package/python/lib/python3.12/lib2to3/pgen2/token.py +86 -0
- package/python/lib/python3.12/lib2to3/pgen2/tokenize.py +564 -0
- package/python/lib/python3.12/lib2to3/pygram.py +43 -0
- package/python/lib/python3.12/lib2to3/pytree.py +853 -0
- package/python/lib/python3.12/lib2to3/refactor.py +732 -0
- package/python/lib/python3.12/linecache.py +185 -0
- package/python/lib/python3.12/locale.py +1779 -0
- package/python/lib/python3.12/logging/__init__.py +2345 -0
- package/python/lib/python3.12/logging/config.py +1078 -0
- package/python/lib/python3.12/logging/handlers.py +1624 -0
- package/python/lib/python3.12/lzma.py +356 -0
- package/python/lib/python3.12/mailbox.py +2153 -0
- package/python/lib/python3.12/mailcap.py +302 -0
- package/python/lib/python3.12/mimetypes.py +662 -0
- package/python/lib/python3.12/modulefinder.py +666 -0
- package/python/lib/python3.12/multiprocessing/__init__.py +37 -0
- package/python/lib/python3.12/multiprocessing/connection.py +1178 -0
- package/python/lib/python3.12/multiprocessing/context.py +377 -0
- package/python/lib/python3.12/multiprocessing/dummy/__init__.py +126 -0
- package/python/lib/python3.12/multiprocessing/dummy/connection.py +75 -0
- package/python/lib/python3.12/multiprocessing/forkserver.py +350 -0
- package/python/lib/python3.12/multiprocessing/heap.py +337 -0
- package/python/lib/python3.12/multiprocessing/managers.py +1387 -0
- package/python/lib/python3.12/multiprocessing/pool.py +957 -0
- package/python/lib/python3.12/multiprocessing/popen_fork.py +83 -0
- package/python/lib/python3.12/multiprocessing/popen_forkserver.py +74 -0
- package/python/lib/python3.12/multiprocessing/popen_spawn_posix.py +72 -0
- package/python/lib/python3.12/multiprocessing/popen_spawn_win32.py +145 -0
- package/python/lib/python3.12/multiprocessing/process.py +439 -0
- package/python/lib/python3.12/multiprocessing/queues.py +401 -0
- package/python/lib/python3.12/multiprocessing/reduction.py +281 -0
- package/python/lib/python3.12/multiprocessing/resource_sharer.py +154 -0
- package/python/lib/python3.12/multiprocessing/resource_tracker.py +294 -0
- package/python/lib/python3.12/multiprocessing/shared_memory.py +534 -0
- package/python/lib/python3.12/multiprocessing/sharedctypes.py +240 -0
- package/python/lib/python3.12/multiprocessing/spawn.py +307 -0
- package/python/lib/python3.12/multiprocessing/synchronize.py +404 -0
- package/python/lib/python3.12/multiprocessing/util.py +494 -0
- package/python/lib/python3.12/netrc.py +192 -0
- package/python/lib/python3.12/nntplib.py +1093 -0
- package/python/lib/python3.12/ntpath.py +869 -0
- package/python/lib/python3.12/nturl2path.py +69 -0
- package/python/lib/python3.12/numbers.py +418 -0
- package/python/lib/python3.12/opcode.py +493 -0
- package/python/lib/python3.12/operator.py +467 -0
- package/python/lib/python3.12/optparse.py +1681 -0
- package/python/lib/python3.12/os.py +1160 -0
- package/python/lib/python3.12/pathlib.py +1435 -0
- package/python/lib/python3.12/pdb.py +1987 -0
- package/python/lib/python3.12/pickle.py +1866 -0
- package/python/lib/python3.12/pickletools.py +2904 -0
- package/python/lib/python3.12/pipes.py +250 -0
- package/python/lib/python3.12/pkgutil.py +529 -0
- package/python/lib/python3.12/platform.py +1359 -0
- package/python/lib/python3.12/plistlib.py +920 -0
- package/python/lib/python3.12/poplib.py +478 -0
- package/python/lib/python3.12/posixpath.py +577 -0
- package/python/lib/python3.12/pprint.py +658 -0
- package/python/lib/python3.12/profile.py +615 -0
- package/python/lib/python3.12/pstats.py +778 -0
- package/python/lib/python3.12/pty.py +211 -0
- package/python/lib/python3.12/py_compile.py +212 -0
- package/python/lib/python3.12/pyclbr.py +314 -0
- package/python/lib/python3.12/pydoc.py +2950 -0
- package/python/lib/python3.12/pydoc_data/__init__.py +0 -0
- package/python/lib/python3.12/pydoc_data/_pydoc.css +112 -0
- package/python/lib/python3.12/pydoc_data/topics.py +12500 -0
- package/python/lib/python3.12/queue.py +326 -0
- package/python/lib/python3.12/quopri.py +237 -0
- package/python/lib/python3.12/random.py +996 -0
- package/python/lib/python3.12/re/__init__.py +385 -0
- package/python/lib/python3.12/re/_casefix.py +106 -0
- package/python/lib/python3.12/re/_compiler.py +770 -0
- package/python/lib/python3.12/re/_constants.py +220 -0
- package/python/lib/python3.12/re/_parser.py +1080 -0
- package/python/lib/python3.12/reprlib.py +214 -0
- package/python/lib/python3.12/rlcompleter.py +219 -0
- package/python/lib/python3.12/runpy.py +319 -0
- package/python/lib/python3.12/sched.py +167 -0
- package/python/lib/python3.12/secrets.py +71 -0
- package/python/lib/python3.12/selectors.py +623 -0
- package/python/lib/python3.12/shelve.py +243 -0
- package/python/lib/python3.12/shlex.py +345 -0
- package/python/lib/python3.12/shutil.py +1555 -0
- package/python/lib/python3.12/signal.py +94 -0
- package/python/lib/python3.12/site-packages/README.txt +2 -0
- package/python/lib/python3.12/site-packages/pip/__init__.py +13 -0
- package/python/lib/python3.12/site-packages/pip/__main__.py +24 -0
- package/python/lib/python3.12/site-packages/pip/__pip-runner__.py +50 -0
- package/python/lib/python3.12/site-packages/pip/_internal/__init__.py +18 -0
- package/python/lib/python3.12/site-packages/pip/_internal/build_env/__init__.py +25 -0
- package/python/lib/python3.12/site-packages/pip/_internal/build_env/base.py +103 -0
- package/python/lib/python3.12/site-packages/pip/_internal/build_env/installer.py +333 -0
- package/python/lib/python3.12/site-packages/pip/_internal/build_env/noop.py +42 -0
- package/python/lib/python3.12/site-packages/pip/_internal/build_env/venv.py +145 -0
- package/python/lib/python3.12/site-packages/pip/_internal/build_env/virtual.py +139 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cache.py +294 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/__init__.py +3 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/autocompletion.py +187 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/base_command.py +261 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py +1409 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/command_context.py +28 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/index_command.py +217 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/main.py +86 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py +135 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/parser.py +366 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py +153 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/req_command.py +504 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/spinners.py +235 -0
- package/python/lib/python3.12/site-packages/pip/_internal/cli/status_codes.py +7 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/__init__.py +139 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/cache.py +256 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/check.py +66 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/completion.py +136 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/configuration.py +289 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/debug.py +195 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/download.py +150 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/freeze.py +107 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/hash.py +58 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/help.py +40 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/index.py +173 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/inspect.py +92 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/install.py +904 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/list.py +408 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/lock.py +173 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/search.py +178 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/show.py +237 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/uninstall.py +113 -0
- package/python/lib/python3.12/site-packages/pip/_internal/commands/wheel.py +177 -0
- package/python/lib/python3.12/site-packages/pip/_internal/configuration.py +395 -0
- package/python/lib/python3.12/site-packages/pip/_internal/distributions/__init__.py +21 -0
- package/python/lib/python3.12/site-packages/pip/_internal/distributions/base.py +57 -0
- package/python/lib/python3.12/site-packages/pip/_internal/distributions/installed.py +34 -0
- package/python/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py +193 -0
- package/python/lib/python3.12/site-packages/pip/_internal/distributions/wheel.py +45 -0
- package/python/lib/python3.12/site-packages/pip/_internal/exceptions.py +1145 -0
- package/python/lib/python3.12/site-packages/pip/_internal/index/__init__.py +1 -0
- package/python/lib/python3.12/site-packages/pip/_internal/index/collector.py +510 -0
- package/python/lib/python3.12/site-packages/pip/_internal/index/package_finder.py +1152 -0
- package/python/lib/python3.12/site-packages/pip/_internal/index/sources.py +286 -0
- package/python/lib/python3.12/site-packages/pip/_internal/locations/__init__.py +438 -0
- package/python/lib/python3.12/site-packages/pip/_internal/locations/_distutils.py +173 -0
- package/python/lib/python3.12/site-packages/pip/_internal/locations/_sysconfig.py +218 -0
- package/python/lib/python3.12/site-packages/pip/_internal/locations/base.py +82 -0
- package/python/lib/python3.12/site-packages/pip/_internal/main.py +12 -0
- package/python/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py +169 -0
- package/python/lib/python3.12/site-packages/pip/_internal/metadata/_json.py +87 -0
- package/python/lib/python3.12/site-packages/pip/_internal/metadata/base.py +690 -0
- package/python/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
- package/python/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_compat.py +87 -0
- package/python/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py +235 -0
- package/python/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py +148 -0
- package/python/lib/python3.12/site-packages/pip/_internal/metadata/pkg_resources.py +298 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/__init__.py +1 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/candidate.py +27 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/direct_url.py +42 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/format_control.py +78 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/index.py +28 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/installation_report.py +57 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/link.py +657 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/release_control.py +91 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/scheme.py +23 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/search_scope.py +124 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/selection_prefs.py +36 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/target_python.py +122 -0
- package/python/lib/python3.12/site-packages/pip/_internal/models/wheel.py +80 -0
- package/python/lib/python3.12/site-packages/pip/_internal/network/__init__.py +1 -0
- package/python/lib/python3.12/site-packages/pip/_internal/network/auth.py +587 -0
- package/python/lib/python3.12/site-packages/pip/_internal/network/cache.py +128 -0
- package/python/lib/python3.12/site-packages/pip/_internal/network/download.py +387 -0
- package/python/lib/python3.12/site-packages/pip/_internal/network/lazy_wheel.py +215 -0
- package/python/lib/python3.12/site-packages/pip/_internal/network/session.py +532 -0
- package/python/lib/python3.12/site-packages/pip/_internal/network/utils.py +206 -0
- package/python/lib/python3.12/site-packages/pip/_internal/network/xmlrpc.py +61 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/__init__.py +0 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/build/build_tracker.py +140 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/build/metadata.py +38 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/build/wheel.py +38 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_editable.py +47 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/check.py +174 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/freeze.py +259 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/install/__init__.py +1 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py +764 -0
- package/python/lib/python3.12/site-packages/pip/_internal/operations/prepare.py +896 -0
- package/python/lib/python3.12/site-packages/pip/_internal/pyproject.py +123 -0
- package/python/lib/python3.12/site-packages/pip/_internal/req/__init__.py +105 -0
- package/python/lib/python3.12/site-packages/pip/_internal/req/constructors.py +662 -0
- package/python/lib/python3.12/site-packages/pip/_internal/req/pep723.py +41 -0
- package/python/lib/python3.12/site-packages/pip/_internal/req/req_dependency_group.py +86 -0
- package/python/lib/python3.12/site-packages/pip/_internal/req/req_file.py +622 -0
- package/python/lib/python3.12/site-packages/pip/_internal/req/req_install.py +842 -0
- package/python/lib/python3.12/site-packages/pip/_internal/req/req_set.py +81 -0
- package/python/lib/python3.12/site-packages/pip/_internal/req/req_uninstall.py +644 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/__init__.py +0 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/base.py +20 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/base.py +164 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py +598 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py +901 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +166 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/provider.py +309 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/reporter.py +98 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/requirements.py +251 -0
- package/python/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py +341 -0
- package/python/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py +246 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/_log.py +38 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/appdirs.py +52 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/compat.py +91 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/compatibility_tags.py +201 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/datetime.py +28 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/deprecation.py +144 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/direct_url_helpers.py +92 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/egg_link.py +81 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/entrypoints.py +88 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/filesystem.py +201 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/filetypes.py +24 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/glibc.py +102 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/hashes.py +150 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/logging.py +404 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/misc.py +815 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/packaging.py +44 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/pylock.py +299 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/retry.py +46 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/subprocess.py +249 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py +293 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py +407 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/urls.py +58 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/virtualenv.py +71 -0
- package/python/lib/python3.12/site-packages/pip/_internal/utils/wheel.py +132 -0
- package/python/lib/python3.12/site-packages/pip/_internal/vcs/__init__.py +15 -0
- package/python/lib/python3.12/site-packages/pip/_internal/vcs/bazaar.py +130 -0
- package/python/lib/python3.12/site-packages/pip/_internal/vcs/git.py +574 -0
- package/python/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py +186 -0
- package/python/lib/python3.12/site-packages/pip/_internal/vcs/subversion.py +335 -0
- package/python/lib/python3.12/site-packages/pip/_internal/vcs/versioncontrol.py +694 -0
- package/python/lib/python3.12/site-packages/pip/_internal/wheel_builder.py +265 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/README.rst +178 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/__init__.py +117 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/bom.cdx.json +231 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__init__.py +32 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py +167 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/cache.py +75 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +145 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py +511 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py +121 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py +157 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/serialize.py +146 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/certifi/LICENSE +20 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/certifi/__init__.py +4 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/certifi/cacert.pem +3936 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/certifi/core.py +83 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/certifi/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/certifi/tests/__init__.py +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/certifi/tests/test_certify.py +18 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/LICENSE.txt +284 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/__init__.py +33 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/compat.py +1107 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/resources.py +372 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/scripts.py +451 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/util.py +2021 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distro/LICENSE +202 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distro/__init__.py +54 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distro/__main__.py +4 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distro/distro.py +1403 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/distro/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/LICENSE.md +31 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/__init__.py +45 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/__main__.py +6 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/cli.py +128 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/codec.py +159 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/compat.py +41 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/core.py +648 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/idnadata.py +1897 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/intranges.py +55 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/package_data.py +1 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py +16896 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/msgpack/COPYING +14 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.py +55 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py +170 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py +929 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/LICENSE +3 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/LICENSE.APACHE +177 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/LICENSE.BSD +23 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py +15 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py +108 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py +262 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/_musllinux.py +85 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/_parser.py +393 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/_structures.py +33 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/_tokenizer.py +193 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/dependency_groups.py +302 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/direct_url.py +325 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/errors.py +94 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__init__.py +186 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/_spdx.py +799 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py +492 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py +964 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/pylock.py +905 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/requirements.py +129 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py +1943 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py +932 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py +296 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/packaging/version.py +1231 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pkg_resources/LICENSE +17 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py +3676 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py +917 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/__main__.py +66 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/_xdg.py +171 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py +300 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py +463 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py +223 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py +321 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py +24 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/platformdirs/windows.py +395 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/LICENSE +25 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py +82 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/console.py +70 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/filter.py +70 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__init__.py +942 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/formatter.py +129 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__init__.py +157 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/lexer.py +965 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/_mapping.py +603 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/python.py +1204 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/plugin.py +74 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/regexopt.py +102 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/sphinxext.py +247 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/style.py +203 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__init__.py +61 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/styles/_mapping.py +54 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/token.py +214 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pygments/util.py +324 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__init__.py +31 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py +410 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +21 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +389 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/LICENSE +175 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/__init__.py +214 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/_internal_utils.py +51 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/_types.py +183 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/adapters.py +748 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/api.py +180 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/auth.py +354 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/certs.py +18 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/compat.py +96 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/cookies.py +625 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/exceptions.py +162 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/help.py +127 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/hooks.py +48 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/models.py +1180 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/packages.py +25 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/sessions.py +920 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/status_codes.py +128 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/structures.py +130 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/requests/utils.py +1155 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/LICENSE +13 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/__init__.py +27 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/providers.py +196 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/reporters.py +55 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py +27 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py +47 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py +48 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py +57 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py +627 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/resolvelib/structs.py +209 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/LICENSE +19 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/__init__.py +177 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/__main__.py +245 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_cell_widths.py +454 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_export_format.py +76 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_extension.py +10 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_fileno.py +24 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_inspect.py +268 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_loop.py +43 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_null_file.py +69 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_pick.py +17 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_ratio.py +153 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_spinners.py +482 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_stack.py +16 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_timer.py +19 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_win32_console.py +661 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_windows.py +71 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/_wrap.py +93 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/abc.py +33 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/align.py +306 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/ansi.py +241 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/bar.py +93 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/box.py +474 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/cells.py +174 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/color.py +621 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/columns.py +187 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/console.py +2680 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/constrain.py +37 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/containers.py +167 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/control.py +219 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/default_styles.py +193 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/diagnose.py +39 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/emoji.py +91 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/errors.py +34 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/filesize.py +88 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/highlighter.py +232 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/json.py +139 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/jupyter.py +101 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/layout.py +442 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/live.py +400 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/live_render.py +106 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/logging.py +297 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/markup.py +251 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/measure.py +151 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/padding.py +141 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/pager.py +34 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/palette.py +100 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/panel.py +317 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/pretty.py +1016 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/progress.py +1715 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/progress_bar.py +223 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/prompt.py +400 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/protocol.py +42 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/region.py +10 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/repr.py +149 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/rule.py +130 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/scope.py +86 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/screen.py +54 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/segment.py +752 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/spinner.py +132 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/status.py +131 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/style.py +792 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/styled.py +42 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/syntax.py +985 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/table.py +1006 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/text.py +1361 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/theme.py +115 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/themes.py +5 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/traceback.py +899 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/rich/tree.py +257 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli/__init__.py +8 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli/_parser.py +793 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli/_re.py +119 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli/_types.py +10 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli/py.typed +1 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli_w/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli_w/__init__.py +4 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli_w/_writer.py +229 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/tomli_w/py.typed +1 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/truststore/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/truststore/__init__.py +36 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/truststore/_api.py +341 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/truststore/_macos.py +571 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/truststore/_openssl.py +68 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/truststore/_windows.py +567 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/truststore/py.typed +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/LICENSE.txt +21 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/__init__.py +211 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/_base_connection.py +167 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/_collections.py +486 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/_request_methods.py +278 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/_version.py +24 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/connection.py +1099 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/connectionpool.py +1191 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/emscripten/__init__.py +17 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/emscripten/connection.py +260 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/emscripten/emscripten_fetch_worker.js +110 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/emscripten/fetch.py +726 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/emscripten/request.py +22 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/emscripten/response.py +281 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +563 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/socks.py +228 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/exceptions.py +335 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/fields.py +341 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/filepost.py +89 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/http2/__init__.py +53 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/http2/connection.py +356 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/http2/probe.py +87 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/poolmanager.py +653 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/py.typed +2 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py +1487 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__init__.py +42 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/connection.py +137 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/proxy.py +43 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/request.py +254 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/response.py +101 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/retry.py +557 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_.py +477 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +153 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssltransport.py +271 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/timeout.py +275 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/url.py +469 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/util.py +42 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/urllib3/util/wait.py +124 -0
- package/python/lib/python3.12/site-packages/pip/_vendor/vendor.txt +18 -0
- package/python/lib/python3.12/site-packages/pip/py.typed +4 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/INSTALLER +1 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/METADATA +110 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/RECORD +890 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/REQUESTED +0 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/WHEEL +4 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/direct_url.json +1 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/entry_points.txt +4 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/AUTHORS.txt +888 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/LICENSE.txt +20 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
- package/python/lib/python3.12/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
- package/python/lib/python3.12/site.py +693 -0
- package/python/lib/python3.12/smtplib.py +1109 -0
- package/python/lib/python3.12/sndhdr.py +271 -0
- package/python/lib/python3.12/socket.py +983 -0
- package/python/lib/python3.12/socketserver.py +863 -0
- package/python/lib/python3.12/sqlite3/__init__.py +70 -0
- package/python/lib/python3.12/sqlite3/__main__.py +127 -0
- package/python/lib/python3.12/sqlite3/dbapi2.py +108 -0
- package/python/lib/python3.12/sqlite3/dump.py +89 -0
- package/python/lib/python3.12/sre_compile.py +7 -0
- package/python/lib/python3.12/sre_constants.py +7 -0
- package/python/lib/python3.12/sre_parse.py +7 -0
- package/python/lib/python3.12/ssl.py +1501 -0
- package/python/lib/python3.12/stat.py +195 -0
- package/python/lib/python3.12/statistics.py +1454 -0
- package/python/lib/python3.12/string.py +309 -0
- package/python/lib/python3.12/stringprep.py +449 -0
- package/python/lib/python3.12/struct.py +15 -0
- package/python/lib/python3.12/subprocess.py +2216 -0
- package/python/lib/python3.12/sunau.py +533 -0
- package/python/lib/python3.12/symtable.py +362 -0
- package/python/lib/python3.12/sysconfig.py +894 -0
- package/python/lib/python3.12/tabnanny.py +340 -0
- package/python/lib/python3.12/tarfile.py +3078 -0
- package/python/lib/python3.12/telnetlib.py +680 -0
- package/python/lib/python3.12/tempfile.py +1035 -0
- package/python/lib/python3.12/textwrap.py +491 -0
- package/python/lib/python3.12/this.py +28 -0
- package/python/lib/python3.12/threading.py +1708 -0
- package/python/lib/python3.12/timeit.py +381 -0
- package/python/lib/python3.12/token.py +143 -0
- package/python/lib/python3.12/tokenize.py +594 -0
- package/python/lib/python3.12/tomllib/__init__.py +10 -0
- package/python/lib/python3.12/tomllib/_parser.py +703 -0
- package/python/lib/python3.12/tomllib/_re.py +107 -0
- package/python/lib/python3.12/tomllib/_types.py +10 -0
- package/python/lib/python3.12/trace.py +748 -0
- package/python/lib/python3.12/traceback.py +1187 -0
- package/python/lib/python3.12/tracemalloc.py +560 -0
- package/python/lib/python3.12/tty.py +73 -0
- package/python/lib/python3.12/types.py +333 -0
- package/python/lib/python3.12/typing.py +3494 -0
- package/python/lib/python3.12/unittest/__init__.py +85 -0
- package/python/lib/python3.12/unittest/__main__.py +18 -0
- package/python/lib/python3.12/unittest/_log.py +86 -0
- package/python/lib/python3.12/unittest/async_case.py +143 -0
- package/python/lib/python3.12/unittest/case.py +1456 -0
- package/python/lib/python3.12/unittest/loader.py +497 -0
- package/python/lib/python3.12/unittest/main.py +291 -0
- package/python/lib/python3.12/unittest/mock.py +3054 -0
- package/python/lib/python3.12/unittest/result.py +256 -0
- package/python/lib/python3.12/unittest/runner.py +292 -0
- package/python/lib/python3.12/unittest/signals.py +71 -0
- package/python/lib/python3.12/unittest/suite.py +379 -0
- package/python/lib/python3.12/unittest/util.py +170 -0
- package/python/lib/python3.12/urllib/__init__.py +0 -0
- package/python/lib/python3.12/urllib/error.py +74 -0
- package/python/lib/python3.12/urllib/parse.py +1262 -0
- package/python/lib/python3.12/urllib/request.py +2829 -0
- package/python/lib/python3.12/urllib/response.py +84 -0
- package/python/lib/python3.12/urllib/robotparser.py +275 -0
- package/python/lib/python3.12/uu.py +216 -0
- package/python/lib/python3.12/uuid.py +793 -0
- package/python/lib/python3.12/venv/__init__.py +608 -0
- package/python/lib/python3.12/venv/__main__.py +10 -0
- package/python/lib/python3.12/venv/scripts/common/Activate.ps1 +247 -0
- package/python/lib/python3.12/venv/scripts/common/activate +76 -0
- package/python/lib/python3.12/venv/scripts/posix/activate.csh +27 -0
- package/python/lib/python3.12/venv/scripts/posix/activate.fish +69 -0
- package/python/lib/python3.12/warnings.py +598 -0
- package/python/lib/python3.12/wave.py +653 -0
- package/python/lib/python3.12/weakref.py +674 -0
- package/python/lib/python3.12/webbrowser.py +702 -0
- package/python/lib/python3.12/wsgiref/__init__.py +25 -0
- package/python/lib/python3.12/wsgiref/handlers.py +575 -0
- package/python/lib/python3.12/wsgiref/headers.py +192 -0
- package/python/lib/python3.12/wsgiref/simple_server.py +165 -0
- package/python/lib/python3.12/wsgiref/types.py +54 -0
- package/python/lib/python3.12/wsgiref/util.py +159 -0
- package/python/lib/python3.12/wsgiref/validate.py +438 -0
- package/python/lib/python3.12/xdrlib.py +242 -0
- package/python/lib/python3.12/xml/__init__.py +20 -0
- package/python/lib/python3.12/xml/dom/NodeFilter.py +27 -0
- package/python/lib/python3.12/xml/dom/__init__.py +140 -0
- package/python/lib/python3.12/xml/dom/domreg.py +99 -0
- package/python/lib/python3.12/xml/dom/expatbuilder.py +962 -0
- package/python/lib/python3.12/xml/dom/minicompat.py +109 -0
- package/python/lib/python3.12/xml/dom/minidom.py +2008 -0
- package/python/lib/python3.12/xml/dom/pulldom.py +336 -0
- package/python/lib/python3.12/xml/dom/xmlbuilder.py +389 -0
- package/python/lib/python3.12/xml/etree/ElementInclude.py +186 -0
- package/python/lib/python3.12/xml/etree/ElementPath.py +430 -0
- package/python/lib/python3.12/xml/etree/ElementTree.py +2085 -0
- package/python/lib/python3.12/xml/etree/__init__.py +33 -0
- package/python/lib/python3.12/xml/etree/cElementTree.py +3 -0
- package/python/lib/python3.12/xml/parsers/__init__.py +8 -0
- package/python/lib/python3.12/xml/parsers/expat.py +8 -0
- package/python/lib/python3.12/xml/sax/__init__.py +94 -0
- package/python/lib/python3.12/xml/sax/_exceptions.py +127 -0
- package/python/lib/python3.12/xml/sax/expatreader.py +454 -0
- package/python/lib/python3.12/xml/sax/handler.py +387 -0
- package/python/lib/python3.12/xml/sax/saxutils.py +369 -0
- package/python/lib/python3.12/xml/sax/xmlreader.py +378 -0
- package/python/lib/python3.12/xmlrpc/__init__.py +1 -0
- package/python/lib/python3.12/xmlrpc/client.py +1529 -0
- package/python/lib/python3.12/xmlrpc/server.py +1002 -0
- package/python/lib/python3.12/zipapp.py +206 -0
- package/python/lib/python3.12/zipfile/__init__.py +2376 -0
- package/python/lib/python3.12/zipfile/__main__.py +4 -0
- package/python/lib/python3.12/zipfile/_path/__init__.py +412 -0
- package/python/lib/python3.12/zipfile/_path/glob.py +53 -0
- package/python/lib/python3.12/zipimport.py +712 -0
- package/python/lib/python3.12/zoneinfo/__init__.py +31 -0
- package/python/lib/python3.12/zoneinfo/_common.py +164 -0
- package/python/lib/python3.12/zoneinfo/_tzpath.py +181 -0
- package/python/lib/python3.12/zoneinfo/_zoneinfo.py +772 -0
- package/python/share/terminfo/1/1178 +0 -0
- package/python/share/terminfo/1/1730-lm +0 -0
- package/python/share/terminfo/2/2621 +0 -0
- package/python/share/terminfo/2/2621-wl +0 -0
- package/python/share/terminfo/2/2621A +0 -0
- package/python/share/terminfo/2/2621a +0 -0
- package/python/share/terminfo/3/386at +0 -0
- package/python/share/terminfo/3/3b1 +0 -0
- package/python/share/terminfo/4/4025ex +0 -0
- package/python/share/terminfo/4/4027ex +0 -0
- package/python/share/terminfo/4/4410-w +0 -0
- package/python/share/terminfo/5/5051 +0 -0
- package/python/share/terminfo/5/5410-w +0 -0
- package/python/share/terminfo/5/5620 +0 -0
- package/python/share/terminfo/5/5630-24 +0 -0
- package/python/share/terminfo/5/5630DMD-24 +0 -0
- package/python/share/terminfo/6/6053 +0 -0
- package/python/share/terminfo/6/6053-dg +0 -0
- package/python/share/terminfo/6/605x +0 -0
- package/python/share/terminfo/6/605x-dg +0 -0
- package/python/share/terminfo/6/630-lm +0 -0
- package/python/share/terminfo/6/630MTG-24 +0 -0
- package/python/share/terminfo/7/730MTG-24 +0 -0
- package/python/share/terminfo/7/730MTG-41 +0 -0
- package/python/share/terminfo/7/730MTG-41r +0 -0
- package/python/share/terminfo/7/730MTGr +0 -0
- package/python/share/terminfo/7/730MTGr-24 +0 -0
- package/python/share/terminfo/8/8510 +0 -0
- package/python/share/terminfo/9/955-hb +0 -0
- package/python/share/terminfo/9/955-w +0 -0
- package/python/share/terminfo/9/9term +0 -0
- package/python/share/terminfo/A/Apple_Terminal +0 -0
- package/python/share/terminfo/E/Eterm +0 -0
- package/python/share/terminfo/E/Eterm-256color +0 -0
- package/python/share/terminfo/E/Eterm-88color +0 -0
- package/python/share/terminfo/E/Eterm-color +0 -0
- package/python/share/terminfo/L/LFT-PC850 +0 -0
- package/python/share/terminfo/M/MtxOrb +0 -0
- package/python/share/terminfo/M/MtxOrb162 +0 -0
- package/python/share/terminfo/M/MtxOrb204 +0 -0
- package/python/share/terminfo/N/NCR260VT300WPP +0 -0
- package/python/share/terminfo/N/NCRVT100WPP +0 -0
- package/python/share/terminfo/P/P12 +0 -0
- package/python/share/terminfo/P/P12-M +0 -0
- package/python/share/terminfo/P/P12-M-W +0 -0
- package/python/share/terminfo/P/P12-W +0 -0
- package/python/share/terminfo/P/P14 +0 -0
- package/python/share/terminfo/P/P14-M +0 -0
- package/python/share/terminfo/P/P14-M-W +0 -0
- package/python/share/terminfo/P/P14-W +0 -0
- package/python/share/terminfo/P/P4 +0 -0
- package/python/share/terminfo/P/P5 +0 -0
- package/python/share/terminfo/P/P7 +0 -0
- package/python/share/terminfo/P/P8 +0 -0
- package/python/share/terminfo/P/P8-W +0 -0
- package/python/share/terminfo/P/P9 +0 -0
- package/python/share/terminfo/P/P9-8 +0 -0
- package/python/share/terminfo/P/P9-8-W +0 -0
- package/python/share/terminfo/P/P9-W +0 -0
- package/python/share/terminfo/Q/Q306-8-pc +0 -0
- package/python/share/terminfo/Q/Q310-vip-H +0 -0
- package/python/share/terminfo/Q/Q310-vip-H-am +0 -0
- package/python/share/terminfo/Q/Q310-vip-Hw +0 -0
- package/python/share/terminfo/Q/Q310-vip-w +0 -0
- package/python/share/terminfo/Q/Q310-vip-w-am +0 -0
- package/python/share/terminfo/X/X-hpterm +0 -0
- package/python/share/terminfo/X/X-hpterm-color2 +0 -0
- package/python/share/terminfo/a/a210 +0 -0
- package/python/share/terminfo/a/a80 +0 -0
- package/python/share/terminfo/a/a980 +0 -0
- package/python/share/terminfo/a/aa4080 +0 -0
- package/python/share/terminfo/a/aaa +0 -0
- package/python/share/terminfo/a/aaa+dec +0 -0
- package/python/share/terminfo/a/aaa+rv +0 -0
- package/python/share/terminfo/a/aaa+unk +0 -0
- package/python/share/terminfo/a/aaa-18 +0 -0
- package/python/share/terminfo/a/aaa-18-rv +0 -0
- package/python/share/terminfo/a/aaa-20 +0 -0
- package/python/share/terminfo/a/aaa-22 +0 -0
- package/python/share/terminfo/a/aaa-24 +0 -0
- package/python/share/terminfo/a/aaa-24-rv +0 -0
- package/python/share/terminfo/a/aaa-26 +0 -0
- package/python/share/terminfo/a/aaa-28 +0 -0
- package/python/share/terminfo/a/aaa-30 +0 -0
- package/python/share/terminfo/a/aaa-30-ctxt +0 -0
- package/python/share/terminfo/a/aaa-30-rv +0 -0
- package/python/share/terminfo/a/aaa-30-rv-ctxt +0 -0
- package/python/share/terminfo/a/aaa-30-s +0 -0
- package/python/share/terminfo/a/aaa-30-s-ctxt +0 -0
- package/python/share/terminfo/a/aaa-30-s-rv +0 -0
- package/python/share/terminfo/a/aaa-30-s-rv-ct +0 -0
- package/python/share/terminfo/a/aaa-36 +0 -0
- package/python/share/terminfo/a/aaa-36-rv +0 -0
- package/python/share/terminfo/a/aaa-40 +0 -0
- package/python/share/terminfo/a/aaa-40-rv +0 -0
- package/python/share/terminfo/a/aaa-48 +0 -0
- package/python/share/terminfo/a/aaa-48-rv +0 -0
- package/python/share/terminfo/a/aaa-60 +0 -0
- package/python/share/terminfo/a/aaa-60-dec-rv +0 -0
- package/python/share/terminfo/a/aaa-60-rv +0 -0
- package/python/share/terminfo/a/aaa-60-s +0 -0
- package/python/share/terminfo/a/aaa-60-s-rv +0 -0
- package/python/share/terminfo/a/aaa-ctxt +0 -0
- package/python/share/terminfo/a/aaa-db +0 -0
- package/python/share/terminfo/a/aaa-rv +0 -0
- package/python/share/terminfo/a/aaa-rv-ctxt +0 -0
- package/python/share/terminfo/a/aaa-rv-unk +0 -0
- package/python/share/terminfo/a/aaa-s +0 -0
- package/python/share/terminfo/a/aaa-s-ctxt +0 -0
- package/python/share/terminfo/a/aaa-s-rv +0 -0
- package/python/share/terminfo/a/aaa-s-rv-ctxt +0 -0
- package/python/share/terminfo/a/aaa-unk +0 -0
- package/python/share/terminfo/a/aas1901 +0 -0
- package/python/share/terminfo/a/abm80 +0 -0
- package/python/share/terminfo/a/abm85 +0 -0
- package/python/share/terminfo/a/abm85e +0 -0
- package/python/share/terminfo/a/abm85h +0 -0
- package/python/share/terminfo/a/abm85h-old +0 -0
- package/python/share/terminfo/a/absolute +0 -0
- package/python/share/terminfo/a/act4 +0 -0
- package/python/share/terminfo/a/act5 +0 -0
- package/python/share/terminfo/a/addrinfo +0 -0
- package/python/share/terminfo/a/adds200 +0 -0
- package/python/share/terminfo/a/adds980 +0 -0
- package/python/share/terminfo/a/addsviewpoint +0 -0
- package/python/share/terminfo/a/addsvp60 +0 -0
- package/python/share/terminfo/a/adm+sgr +0 -0
- package/python/share/terminfo/a/adm1 +0 -0
- package/python/share/terminfo/a/adm11 +0 -0
- package/python/share/terminfo/a/adm1178 +0 -0
- package/python/share/terminfo/a/adm12 +0 -0
- package/python/share/terminfo/a/adm1a +0 -0
- package/python/share/terminfo/a/adm2 +0 -0
- package/python/share/terminfo/a/adm20 +0 -0
- package/python/share/terminfo/a/adm21 +0 -0
- package/python/share/terminfo/a/adm22 +0 -0
- package/python/share/terminfo/a/adm3 +0 -0
- package/python/share/terminfo/a/adm31 +0 -0
- package/python/share/terminfo/a/adm31-old +0 -0
- package/python/share/terminfo/a/adm36 +0 -0
- package/python/share/terminfo/a/adm3a +0 -0
- package/python/share/terminfo/a/adm3a+ +0 -0
- package/python/share/terminfo/a/adm42 +0 -0
- package/python/share/terminfo/a/adm42-ns +0 -0
- package/python/share/terminfo/a/adm5 +0 -0
- package/python/share/terminfo/a/aepro +0 -0
- package/python/share/terminfo/a/aixterm +0 -0
- package/python/share/terminfo/a/aixterm+sl +0 -0
- package/python/share/terminfo/a/aixterm-16color +0 -0
- package/python/share/terminfo/a/aixterm-m +0 -0
- package/python/share/terminfo/a/aixterm-m-old +0 -0
- package/python/share/terminfo/a/aj +0 -0
- package/python/share/terminfo/a/aj510 +0 -0
- package/python/share/terminfo/a/aj830 +0 -0
- package/python/share/terminfo/a/aj832 +0 -0
- package/python/share/terminfo/a/alacritty +0 -0
- package/python/share/terminfo/a/alacritty+common +0 -0
- package/python/share/terminfo/a/alacritty-direct +0 -0
- package/python/share/terminfo/a/alt2 +0 -0
- package/python/share/terminfo/a/alt3 +0 -0
- package/python/share/terminfo/a/alt4 +0 -0
- package/python/share/terminfo/a/alt5 +0 -0
- package/python/share/terminfo/a/alt7 +0 -0
- package/python/share/terminfo/a/alt7pc +0 -0
- package/python/share/terminfo/a/alto-h19 +0 -0
- package/python/share/terminfo/a/alto-heath +0 -0
- package/python/share/terminfo/a/altoh19 +0 -0
- package/python/share/terminfo/a/altoheath +0 -0
- package/python/share/terminfo/a/altos-2 +0 -0
- package/python/share/terminfo/a/altos-3 +0 -0
- package/python/share/terminfo/a/altos-4 +0 -0
- package/python/share/terminfo/a/altos-5 +0 -0
- package/python/share/terminfo/a/altos2 +0 -0
- package/python/share/terminfo/a/altos3 +0 -0
- package/python/share/terminfo/a/altos4 +0 -0
- package/python/share/terminfo/a/altos5 +0 -0
- package/python/share/terminfo/a/altos7 +0 -0
- package/python/share/terminfo/a/altos7pc +0 -0
- package/python/share/terminfo/a/ambas +0 -0
- package/python/share/terminfo/a/ambassador +0 -0
- package/python/share/terminfo/a/amiga +0 -0
- package/python/share/terminfo/a/amiga-8bit +0 -0
- package/python/share/terminfo/a/amiga-h +0 -0
- package/python/share/terminfo/a/amiga-vnc +0 -0
- package/python/share/terminfo/a/amp219 +0 -0
- package/python/share/terminfo/a/amp219w +0 -0
- package/python/share/terminfo/a/ampex-219 +0 -0
- package/python/share/terminfo/a/ampex-219w +0 -0
- package/python/share/terminfo/a/ampex-232 +0 -0
- package/python/share/terminfo/a/ampex175 +0 -0
- package/python/share/terminfo/a/ampex175-b +0 -0
- package/python/share/terminfo/a/ampex210 +0 -0
- package/python/share/terminfo/a/ampex219 +0 -0
- package/python/share/terminfo/a/ampex219w +0 -0
- package/python/share/terminfo/a/ampex232 +0 -0
- package/python/share/terminfo/a/ampex232w +0 -0
- package/python/share/terminfo/a/ampex80 +0 -0
- package/python/share/terminfo/a/annarbor4080 +0 -0
- package/python/share/terminfo/a/ansi +0 -0
- package/python/share/terminfo/a/ansi+apparrows +0 -0
- package/python/share/terminfo/a/ansi+arrows +0 -0
- package/python/share/terminfo/a/ansi+cpr +0 -0
- package/python/share/terminfo/a/ansi+csr +0 -0
- package/python/share/terminfo/a/ansi+cup +0 -0
- package/python/share/terminfo/a/ansi+enq +0 -0
- package/python/share/terminfo/a/ansi+erase +0 -0
- package/python/share/terminfo/a/ansi+idc +0 -0
- package/python/share/terminfo/a/ansi+idc1 +0 -0
- package/python/share/terminfo/a/ansi+idl +0 -0
- package/python/share/terminfo/a/ansi+idl1 +0 -0
- package/python/share/terminfo/a/ansi+inittabs +0 -0
- package/python/share/terminfo/a/ansi+local +0 -0
- package/python/share/terminfo/a/ansi+local1 +0 -0
- package/python/share/terminfo/a/ansi+pp +0 -0
- package/python/share/terminfo/a/ansi+rca +0 -0
- package/python/share/terminfo/a/ansi+rca2 +0 -0
- package/python/share/terminfo/a/ansi+rep +0 -0
- package/python/share/terminfo/a/ansi+sgr +0 -0
- package/python/share/terminfo/a/ansi+sgrbold +0 -0
- package/python/share/terminfo/a/ansi+sgrdim +0 -0
- package/python/share/terminfo/a/ansi+sgrso +0 -0
- package/python/share/terminfo/a/ansi+sgrul +0 -0
- package/python/share/terminfo/a/ansi+tabs +0 -0
- package/python/share/terminfo/a/ansi-color-2-emx +0 -0
- package/python/share/terminfo/a/ansi-color-3-emx +0 -0
- package/python/share/terminfo/a/ansi-emx +0 -0
- package/python/share/terminfo/a/ansi-generic +0 -0
- package/python/share/terminfo/a/ansi-m +0 -0
- package/python/share/terminfo/a/ansi-mini +0 -0
- package/python/share/terminfo/a/ansi-mono +0 -0
- package/python/share/terminfo/a/ansi-mr +0 -0
- package/python/share/terminfo/a/ansi-mtabs +0 -0
- package/python/share/terminfo/a/ansi-nt +0 -0
- package/python/share/terminfo/a/ansi.sys +0 -0
- package/python/share/terminfo/a/ansi.sys-old +0 -0
- package/python/share/terminfo/a/ansi.sysk +0 -0
- package/python/share/terminfo/a/ansi43m +0 -0
- package/python/share/terminfo/a/ansi77 +0 -0
- package/python/share/terminfo/a/ansi80x25 +0 -0
- package/python/share/terminfo/a/ansi80x25-mono +0 -0
- package/python/share/terminfo/a/ansi80x25-raw +0 -0
- package/python/share/terminfo/a/ansi80x30 +0 -0
- package/python/share/terminfo/a/ansi80x30-mono +0 -0
- package/python/share/terminfo/a/ansi80x43 +0 -0
- package/python/share/terminfo/a/ansi80x43-mono +0 -0
- package/python/share/terminfo/a/ansi80x50 +0 -0
- package/python/share/terminfo/a/ansi80x50-mono +0 -0
- package/python/share/terminfo/a/ansi80x60 +0 -0
- package/python/share/terminfo/a/ansi80x60-mono +0 -0
- package/python/share/terminfo/a/ansil +0 -0
- package/python/share/terminfo/a/ansil-mono +0 -0
- package/python/share/terminfo/a/ansis +0 -0
- package/python/share/terminfo/a/ansis-mono +0 -0
- package/python/share/terminfo/a/ansisysk +0 -0
- package/python/share/terminfo/a/ansiterm +0 -0
- package/python/share/terminfo/a/ansiw +0 -0
- package/python/share/terminfo/a/ap-vm80 +0 -0
- package/python/share/terminfo/a/apl +0 -0
- package/python/share/terminfo/a/apollo +0 -0
- package/python/share/terminfo/a/apollo+vt132 +0 -0
- package/python/share/terminfo/a/apollo_15P +0 -0
- package/python/share/terminfo/a/apollo_19L +0 -0
- package/python/share/terminfo/a/apollo_color +0 -0
- package/python/share/terminfo/a/apple-80 +0 -0
- package/python/share/terminfo/a/apple-ae +0 -0
- package/python/share/terminfo/a/apple-soroc +0 -0
- package/python/share/terminfo/a/apple-uterm +0 -0
- package/python/share/terminfo/a/apple-uterm-vb +0 -0
- package/python/share/terminfo/a/apple-videx +0 -0
- package/python/share/terminfo/a/apple-videx2 +0 -0
- package/python/share/terminfo/a/apple-videx3 +0 -0
- package/python/share/terminfo/a/apple-vm80 +0 -0
- package/python/share/terminfo/a/apple2e +0 -0
- package/python/share/terminfo/a/apple2e-p +0 -0
- package/python/share/terminfo/a/apple80p +0 -0
- package/python/share/terminfo/a/appleII +0 -0
- package/python/share/terminfo/a/appleIIc +0 -0
- package/python/share/terminfo/a/appleIIe +0 -0
- package/python/share/terminfo/a/appleIIgs +0 -0
- package/python/share/terminfo/a/arm100 +0 -0
- package/python/share/terminfo/a/arm100-am +0 -0
- package/python/share/terminfo/a/arm100-w +0 -0
- package/python/share/terminfo/a/arm100-wam +0 -0
- package/python/share/terminfo/a/at +0 -0
- package/python/share/terminfo/a/at-color +0 -0
- package/python/share/terminfo/a/at-m +0 -0
- package/python/share/terminfo/a/at386 +0 -0
- package/python/share/terminfo/a/atari +0 -0
- package/python/share/terminfo/a/atari-color +0 -0
- package/python/share/terminfo/a/atari-m +0 -0
- package/python/share/terminfo/a/atari-old +0 -0
- package/python/share/terminfo/a/atari_st +0 -0
- package/python/share/terminfo/a/atari_st-color +0 -0
- package/python/share/terminfo/a/atarist-m +0 -0
- package/python/share/terminfo/a/aterm +0 -0
- package/python/share/terminfo/a/att2300 +0 -0
- package/python/share/terminfo/a/att2350 +0 -0
- package/python/share/terminfo/a/att4410 +0 -0
- package/python/share/terminfo/a/att4410-w +0 -0
- package/python/share/terminfo/a/att4410v1 +0 -0
- package/python/share/terminfo/a/att4410v1-w +0 -0
- package/python/share/terminfo/a/att4415 +0 -0
- package/python/share/terminfo/a/att4415+nl +0 -0
- package/python/share/terminfo/a/att4415-nl +0 -0
- package/python/share/terminfo/a/att4415-rv +0 -0
- package/python/share/terminfo/a/att4415-rv-nl +0 -0
- package/python/share/terminfo/a/att4415-w +0 -0
- package/python/share/terminfo/a/att4415-w-nl +0 -0
- package/python/share/terminfo/a/att4415-w-rv +0 -0
- package/python/share/terminfo/a/att4415-w-rv-n +0 -0
- package/python/share/terminfo/a/att4418 +0 -0
- package/python/share/terminfo/a/att4418-w +0 -0
- package/python/share/terminfo/a/att4420 +0 -0
- package/python/share/terminfo/a/att4424 +0 -0
- package/python/share/terminfo/a/att4424-1 +0 -0
- package/python/share/terminfo/a/att4424m +0 -0
- package/python/share/terminfo/a/att4425 +0 -0
- package/python/share/terminfo/a/att4425-nl +0 -0
- package/python/share/terminfo/a/att4425-w +0 -0
- package/python/share/terminfo/a/att4426 +0 -0
- package/python/share/terminfo/a/att500 +0 -0
- package/python/share/terminfo/a/att505 +0 -0
- package/python/share/terminfo/a/att505-22 +0 -0
- package/python/share/terminfo/a/att505-24 +0 -0
- package/python/share/terminfo/a/att510a +0 -0
- package/python/share/terminfo/a/att510d +0 -0
- package/python/share/terminfo/a/att513 +0 -0
- package/python/share/terminfo/a/att5310 +0 -0
- package/python/share/terminfo/a/att5320 +0 -0
- package/python/share/terminfo/a/att5410 +0 -0
- package/python/share/terminfo/a/att5410-w +0 -0
- package/python/share/terminfo/a/att5410v1 +0 -0
- package/python/share/terminfo/a/att5410v1-w +0 -0
- package/python/share/terminfo/a/att5418 +0 -0
- package/python/share/terminfo/a/att5418-w +0 -0
- package/python/share/terminfo/a/att5420 +0 -0
- package/python/share/terminfo/a/att5420+nl +0 -0
- package/python/share/terminfo/a/att5420-nl +0 -0
- package/python/share/terminfo/a/att5420-rv +0 -0
- package/python/share/terminfo/a/att5420-rv-nl +0 -0
- package/python/share/terminfo/a/att5420-w +0 -0
- package/python/share/terminfo/a/att5420-w-nl +0 -0
- package/python/share/terminfo/a/att5420-w-rv +0 -0
- package/python/share/terminfo/a/att5420-w-rv-n +0 -0
- package/python/share/terminfo/a/att5420_2 +0 -0
- package/python/share/terminfo/a/att5420_2-w +0 -0
- package/python/share/terminfo/a/att5425 +0 -0
- package/python/share/terminfo/a/att5425-nl +0 -0
- package/python/share/terminfo/a/att5425-w +0 -0
- package/python/share/terminfo/a/att5430 +0 -0
- package/python/share/terminfo/a/att5620 +0 -0
- package/python/share/terminfo/a/att5620-1 +0 -0
- package/python/share/terminfo/a/att5620-24 +0 -0
- package/python/share/terminfo/a/att5620-34 +0 -0
- package/python/share/terminfo/a/att5620-s +0 -0
- package/python/share/terminfo/a/att605 +0 -0
- package/python/share/terminfo/a/att605-pc +0 -0
- package/python/share/terminfo/a/att605-w +0 -0
- package/python/share/terminfo/a/att610 +0 -0
- package/python/share/terminfo/a/att610+cvis +0 -0
- package/python/share/terminfo/a/att610+cvis0 +0 -0
- package/python/share/terminfo/a/att610-103k +0 -0
- package/python/share/terminfo/a/att610-103k-w +0 -0
- package/python/share/terminfo/a/att610-w +0 -0
- package/python/share/terminfo/a/att615 +0 -0
- package/python/share/terminfo/a/att615-103k +0 -0
- package/python/share/terminfo/a/att615-103k-w +0 -0
- package/python/share/terminfo/a/att615-w +0 -0
- package/python/share/terminfo/a/att620 +0 -0
- package/python/share/terminfo/a/att620-103k +0 -0
- package/python/share/terminfo/a/att620-103k-w +0 -0
- package/python/share/terminfo/a/att620-w +0 -0
- package/python/share/terminfo/a/att630 +0 -0
- package/python/share/terminfo/a/att630-24 +0 -0
- package/python/share/terminfo/a/att6386 +0 -0
- package/python/share/terminfo/a/att700 +0 -0
- package/python/share/terminfo/a/att730 +0 -0
- package/python/share/terminfo/a/att730-24 +0 -0
- package/python/share/terminfo/a/att730-41 +0 -0
- package/python/share/terminfo/a/att7300 +0 -0
- package/python/share/terminfo/a/att730r +0 -0
- package/python/share/terminfo/a/att730r-24 +0 -0
- package/python/share/terminfo/a/att730r-41 +0 -0
- package/python/share/terminfo/a/avatar +0 -0
- package/python/share/terminfo/a/avatar0 +0 -0
- package/python/share/terminfo/a/avatar0+ +0 -0
- package/python/share/terminfo/a/avatar1 +0 -0
- package/python/share/terminfo/a/avt +0 -0
- package/python/share/terminfo/a/avt+s +0 -0
- package/python/share/terminfo/a/avt-ns +0 -0
- package/python/share/terminfo/a/avt-rv +0 -0
- package/python/share/terminfo/a/avt-rv-ns +0 -0
- package/python/share/terminfo/a/avt-rv-s +0 -0
- package/python/share/terminfo/a/avt-s +0 -0
- package/python/share/terminfo/a/avt-w +0 -0
- package/python/share/terminfo/a/avt-w-ns +0 -0
- package/python/share/terminfo/a/avt-w-rv +0 -0
- package/python/share/terminfo/a/avt-w-rv-ns +0 -0
- package/python/share/terminfo/a/avt-w-rv-s +0 -0
- package/python/share/terminfo/a/avt-w-s +0 -0
- package/python/share/terminfo/a/aws +0 -0
- package/python/share/terminfo/a/awsc +0 -0
- package/python/share/terminfo/b/b-128 +0 -0
- package/python/share/terminfo/b/bantam +0 -0
- package/python/share/terminfo/b/basic4 +0 -0
- package/python/share/terminfo/b/basis +0 -0
- package/python/share/terminfo/b/bct510a +0 -0
- package/python/share/terminfo/b/bct510d +0 -0
- package/python/share/terminfo/b/beacon +0 -0
- package/python/share/terminfo/b/bee +0 -0
- package/python/share/terminfo/b/beehive +0 -0
- package/python/share/terminfo/b/beehive3 +0 -0
- package/python/share/terminfo/b/beehive4 +0 -0
- package/python/share/terminfo/b/beehiveIIIm +0 -0
- package/python/share/terminfo/b/beterm +0 -0
- package/python/share/terminfo/b/bg1.25 +0 -0
- package/python/share/terminfo/b/bg1.25nv +0 -0
- package/python/share/terminfo/b/bg1.25rv +0 -0
- package/python/share/terminfo/b/bg2.0 +0 -0
- package/python/share/terminfo/b/bg2.0nv +0 -0
- package/python/share/terminfo/b/bg2.0rv +0 -0
- package/python/share/terminfo/b/bg3.10 +0 -0
- package/python/share/terminfo/b/bg3.10nv +0 -0
- package/python/share/terminfo/b/bg3.10rv +0 -0
- package/python/share/terminfo/b/bh3m +0 -0
- package/python/share/terminfo/b/bh4 +0 -0
- package/python/share/terminfo/b/bitgraph +0 -0
- package/python/share/terminfo/b/blit +0 -0
- package/python/share/terminfo/b/bobcat +0 -0
- package/python/share/terminfo/b/bq300 +0 -0
- package/python/share/terminfo/b/bq300-8 +0 -0
- package/python/share/terminfo/b/bq300-8-pc +0 -0
- package/python/share/terminfo/b/bq300-8-pc-rv +0 -0
- package/python/share/terminfo/b/bq300-8-pc-w +0 -0
- package/python/share/terminfo/b/bq300-8-pc-w-rv +0 -0
- package/python/share/terminfo/b/bq300-8rv +0 -0
- package/python/share/terminfo/b/bq300-8w +0 -0
- package/python/share/terminfo/b/bq300-pc +0 -0
- package/python/share/terminfo/b/bq300-pc-rv +0 -0
- package/python/share/terminfo/b/bq300-pc-w +0 -0
- package/python/share/terminfo/b/bq300-pc-w-rv +0 -0
- package/python/share/terminfo/b/bq300-rv +0 -0
- package/python/share/terminfo/b/bq300-w +0 -0
- package/python/share/terminfo/b/bq300-w-8rv +0 -0
- package/python/share/terminfo/b/bq300-w-rv +0 -0
- package/python/share/terminfo/b/bracketed+paste +0 -0
- package/python/share/terminfo/b/bsdos-pc +0 -0
- package/python/share/terminfo/b/bsdos-pc-m +0 -0
- package/python/share/terminfo/b/bsdos-pc-mono +0 -0
- package/python/share/terminfo/b/bsdos-pc-nobold +0 -0
- package/python/share/terminfo/b/bsdos-ppc +0 -0
- package/python/share/terminfo/b/bsdos-sparc +0 -0
- package/python/share/terminfo/b/bterm +0 -0
- package/python/share/terminfo/c/c100 +0 -0
- package/python/share/terminfo/c/c100-1p +0 -0
- package/python/share/terminfo/c/c100-4p +0 -0
- package/python/share/terminfo/c/c100-rv +0 -0
- package/python/share/terminfo/c/c100-rv-4p +0 -0
- package/python/share/terminfo/c/c104 +0 -0
- package/python/share/terminfo/c/c108 +0 -0
- package/python/share/terminfo/c/c108-4p +0 -0
- package/python/share/terminfo/c/c108-8p +0 -0
- package/python/share/terminfo/c/c108-rv +0 -0
- package/python/share/terminfo/c/c108-rv-4p +0 -0
- package/python/share/terminfo/c/c108-rv-8p +0 -0
- package/python/share/terminfo/c/c108-w +0 -0
- package/python/share/terminfo/c/c108-w-8p +0 -0
- package/python/share/terminfo/c/c300 +0 -0
- package/python/share/terminfo/c/c301 +0 -0
- package/python/share/terminfo/c/c321 +0 -0
- package/python/share/terminfo/c/ca22851 +0 -0
- package/python/share/terminfo/c/cad68-2 +0 -0
- package/python/share/terminfo/c/cad68-3 +0 -0
- package/python/share/terminfo/c/cbblit +0 -0
- package/python/share/terminfo/c/cbunix +0 -0
- package/python/share/terminfo/c/cci +0 -0
- package/python/share/terminfo/c/cci1 +0 -0
- package/python/share/terminfo/c/cdc456 +0 -0
- package/python/share/terminfo/c/cdc721 +0 -0
- package/python/share/terminfo/c/cdc721-esc +0 -0
- package/python/share/terminfo/c/cdc721ll +0 -0
- package/python/share/terminfo/c/cdc752 +0 -0
- package/python/share/terminfo/c/cdc756 +0 -0
- package/python/share/terminfo/c/cg7900 +0 -0
- package/python/share/terminfo/c/cgc2 +0 -0
- package/python/share/terminfo/c/cgc3 +0 -0
- package/python/share/terminfo/c/chromatics +0 -0
- package/python/share/terminfo/c/ci8510 +0 -0
- package/python/share/terminfo/c/cit-80 +0 -0
- package/python/share/terminfo/c/cit101 +0 -0
- package/python/share/terminfo/c/cit101e +0 -0
- package/python/share/terminfo/c/cit101e-132 +0 -0
- package/python/share/terminfo/c/cit101e-n +0 -0
- package/python/share/terminfo/c/cit101e-n132 +0 -0
- package/python/share/terminfo/c/cit101e-rv +0 -0
- package/python/share/terminfo/c/cit500 +0 -0
- package/python/share/terminfo/c/cit80 +0 -0
- package/python/share/terminfo/c/citc +0 -0
- package/python/share/terminfo/c/citoh +0 -0
- package/python/share/terminfo/c/citoh-6lpi +0 -0
- package/python/share/terminfo/c/citoh-8lpi +0 -0
- package/python/share/terminfo/c/citoh-comp +0 -0
- package/python/share/terminfo/c/citoh-elite +0 -0
- package/python/share/terminfo/c/citoh-pica +0 -0
- package/python/share/terminfo/c/citoh-prop +0 -0
- package/python/share/terminfo/c/citoh-ps +0 -0
- package/python/share/terminfo/c/coco3 +0 -0
- package/python/share/terminfo/c/coherent +0 -0
- package/python/share/terminfo/c/color_xterm +0 -0
- package/python/share/terminfo/c/colorscan +0 -0
- package/python/share/terminfo/c/commodore +0 -0
- package/python/share/terminfo/c/concept +0 -0
- package/python/share/terminfo/c/concept-avt +0 -0
- package/python/share/terminfo/c/concept100 +0 -0
- package/python/share/terminfo/c/concept100-rv +0 -0
- package/python/share/terminfo/c/concept108 +0 -0
- package/python/share/terminfo/c/concept108-4p +0 -0
- package/python/share/terminfo/c/concept108-8p +0 -0
- package/python/share/terminfo/c/concept108-w-8 +0 -0
- package/python/share/terminfo/c/concept108-w8p +0 -0
- package/python/share/terminfo/c/concept108rv4p +0 -0
- package/python/share/terminfo/c/cons25 +0 -0
- package/python/share/terminfo/c/cons25-debian +0 -0
- package/python/share/terminfo/c/cons25-iso-m +0 -0
- package/python/share/terminfo/c/cons25-iso8859 +0 -0
- package/python/share/terminfo/c/cons25-koi8-r +0 -0
- package/python/share/terminfo/c/cons25-koi8r-m +0 -0
- package/python/share/terminfo/c/cons25-m +0 -0
- package/python/share/terminfo/c/cons25l1 +0 -0
- package/python/share/terminfo/c/cons25l1-m +0 -0
- package/python/share/terminfo/c/cons25r +0 -0
- package/python/share/terminfo/c/cons25r-m +0 -0
- package/python/share/terminfo/c/cons25w +0 -0
- package/python/share/terminfo/c/cons30 +0 -0
- package/python/share/terminfo/c/cons30-m +0 -0
- package/python/share/terminfo/c/cons43 +0 -0
- package/python/share/terminfo/c/cons43-m +0 -0
- package/python/share/terminfo/c/cons50 +0 -0
- package/python/share/terminfo/c/cons50-iso-m +0 -0
- package/python/share/terminfo/c/cons50-iso8859 +0 -0
- package/python/share/terminfo/c/cons50-koi8r +0 -0
- package/python/share/terminfo/c/cons50-koi8r-m +0 -0
- package/python/share/terminfo/c/cons50-m +0 -0
- package/python/share/terminfo/c/cons50l1 +0 -0
- package/python/share/terminfo/c/cons50l1-m +0 -0
- package/python/share/terminfo/c/cons50r +0 -0
- package/python/share/terminfo/c/cons50r-m +0 -0
- package/python/share/terminfo/c/cons60 +0 -0
- package/python/share/terminfo/c/cons60-iso +0 -0
- package/python/share/terminfo/c/cons60-iso-m +0 -0
- package/python/share/terminfo/c/cons60-koi8r +0 -0
- package/python/share/terminfo/c/cons60-koi8r-m +0 -0
- package/python/share/terminfo/c/cons60-m +0 -0
- package/python/share/terminfo/c/cons60l1 +0 -0
- package/python/share/terminfo/c/cons60l1-m +0 -0
- package/python/share/terminfo/c/cons60r +0 -0
- package/python/share/terminfo/c/cons60r-m +0 -0
- package/python/share/terminfo/c/contel300 +0 -0
- package/python/share/terminfo/c/contel301 +0 -0
- package/python/share/terminfo/c/contel320 +0 -0
- package/python/share/terminfo/c/contel321 +0 -0
- package/python/share/terminfo/c/contour +0 -0
- package/python/share/terminfo/c/contour-direct +0 -0
- package/python/share/terminfo/c/contour-latest +0 -0
- package/python/share/terminfo/c/cops +0 -0
- package/python/share/terminfo/c/cops-10 +0 -0
- package/python/share/terminfo/c/cops10 +0 -0
- package/python/share/terminfo/c/crt +0 -0
- package/python/share/terminfo/c/crt-vt220 +0 -0
- package/python/share/terminfo/c/cs10 +0 -0
- package/python/share/terminfo/c/cs10-w +0 -0
- package/python/share/terminfo/c/ct82 +0 -0
- package/python/share/terminfo/c/ct8500 +0 -0
- package/python/share/terminfo/c/ctrm +0 -0
- package/python/share/terminfo/c/cx +0 -0
- package/python/share/terminfo/c/cx100 +0 -0
- package/python/share/terminfo/c/cyb110 +0 -0
- package/python/share/terminfo/c/cyb83 +0 -0
- package/python/share/terminfo/c/cygwin +0 -0
- package/python/share/terminfo/c/cygwinB19 +0 -0
- package/python/share/terminfo/c/cygwinDBG +0 -0
- package/python/share/terminfo/d/d132 +0 -0
- package/python/share/terminfo/d/d2 +0 -0
- package/python/share/terminfo/d/d2-dg +0 -0
- package/python/share/terminfo/d/d200 +0 -0
- package/python/share/terminfo/d/d200-dg +0 -0
- package/python/share/terminfo/d/d210 +0 -0
- package/python/share/terminfo/d/d210-dg +0 -0
- package/python/share/terminfo/d/d211 +0 -0
- package/python/share/terminfo/d/d211-7b +0 -0
- package/python/share/terminfo/d/d211-dg +0 -0
- package/python/share/terminfo/d/d214 +0 -0
- package/python/share/terminfo/d/d214-dg +0 -0
- package/python/share/terminfo/d/d215 +0 -0
- package/python/share/terminfo/d/d215-7b +0 -0
- package/python/share/terminfo/d/d215-dg +0 -0
- package/python/share/terminfo/d/d216+ +0 -0
- package/python/share/terminfo/d/d216+25 +0 -0
- package/python/share/terminfo/d/d216+dg +0 -0
- package/python/share/terminfo/d/d216-dg +0 -0
- package/python/share/terminfo/d/d216-unix +0 -0
- package/python/share/terminfo/d/d216-unix-25 +0 -0
- package/python/share/terminfo/d/d216e+ +0 -0
- package/python/share/terminfo/d/d216e+dg +0 -0
- package/python/share/terminfo/d/d216e-dg +0 -0
- package/python/share/terminfo/d/d216e-unix +0 -0
- package/python/share/terminfo/d/d217-dg +0 -0
- package/python/share/terminfo/d/d217-unix +0 -0
- package/python/share/terminfo/d/d217-unix-25 +0 -0
- package/python/share/terminfo/d/d220 +0 -0
- package/python/share/terminfo/d/d220-7b +0 -0
- package/python/share/terminfo/d/d220-dg +0 -0
- package/python/share/terminfo/d/d230 +0 -0
- package/python/share/terminfo/d/d230-dg +0 -0
- package/python/share/terminfo/d/d230c +0 -0
- package/python/share/terminfo/d/d230c-dg +0 -0
- package/python/share/terminfo/d/d400 +0 -0
- package/python/share/terminfo/d/d400-dg +0 -0
- package/python/share/terminfo/d/d410 +0 -0
- package/python/share/terminfo/d/d410-7b +0 -0
- package/python/share/terminfo/d/d410-7b-w +0 -0
- package/python/share/terminfo/d/d410-dg +0 -0
- package/python/share/terminfo/d/d410-w +0 -0
- package/python/share/terminfo/d/d411 +0 -0
- package/python/share/terminfo/d/d411-7b +0 -0
- package/python/share/terminfo/d/d411-7b-w +0 -0
- package/python/share/terminfo/d/d411-dg +0 -0
- package/python/share/terminfo/d/d411-w +0 -0
- package/python/share/terminfo/d/d412+ +0 -0
- package/python/share/terminfo/d/d412+25 +0 -0
- package/python/share/terminfo/d/d412+dg +0 -0
- package/python/share/terminfo/d/d412+s +0 -0
- package/python/share/terminfo/d/d412+sr +0 -0
- package/python/share/terminfo/d/d412+w +0 -0
- package/python/share/terminfo/d/d412-dg +0 -0
- package/python/share/terminfo/d/d412-unix +0 -0
- package/python/share/terminfo/d/d412-unix-25 +0 -0
- package/python/share/terminfo/d/d412-unix-s +0 -0
- package/python/share/terminfo/d/d412-unix-sr +0 -0
- package/python/share/terminfo/d/d412-unix-w +0 -0
- package/python/share/terminfo/d/d413-dg +0 -0
- package/python/share/terminfo/d/d413-unix +0 -0
- package/python/share/terminfo/d/d413-unix-25 +0 -0
- package/python/share/terminfo/d/d413-unix-s +0 -0
- package/python/share/terminfo/d/d413-unix-sr +0 -0
- package/python/share/terminfo/d/d413-unix-w +0 -0
- package/python/share/terminfo/d/d414-unix +0 -0
- package/python/share/terminfo/d/d414-unix-25 +0 -0
- package/python/share/terminfo/d/d414-unix-s +0 -0
- package/python/share/terminfo/d/d414-unix-sr +0 -0
- package/python/share/terminfo/d/d414-unix-w +0 -0
- package/python/share/terminfo/d/d430-dg +0 -0
- package/python/share/terminfo/d/d430-dg-ccc +0 -0
- package/python/share/terminfo/d/d430-unix +0 -0
- package/python/share/terminfo/d/d430-unix-25 +0 -0
- package/python/share/terminfo/d/d430-unix-25-ccc +0 -0
- package/python/share/terminfo/d/d430-unix-ccc +0 -0
- package/python/share/terminfo/d/d430-unix-s +0 -0
- package/python/share/terminfo/d/d430-unix-s-ccc +0 -0
- package/python/share/terminfo/d/d430-unix-sr +0 -0
- package/python/share/terminfo/d/d430-unix-sr-ccc +0 -0
- package/python/share/terminfo/d/d430-unix-w +0 -0
- package/python/share/terminfo/d/d430-unix-w-ccc +0 -0
- package/python/share/terminfo/d/d430c-dg +0 -0
- package/python/share/terminfo/d/d430c-dg-ccc +0 -0
- package/python/share/terminfo/d/d430c-unix +0 -0
- package/python/share/terminfo/d/d430c-unix-25 +0 -0
- package/python/share/terminfo/d/d430c-unix-25-ccc +0 -0
- package/python/share/terminfo/d/d430c-unix-ccc +0 -0
- package/python/share/terminfo/d/d430c-unix-s +0 -0
- package/python/share/terminfo/d/d430c-unix-s-ccc +0 -0
- package/python/share/terminfo/d/d430c-unix-sr +0 -0
- package/python/share/terminfo/d/d430c-unix-sr-ccc +0 -0
- package/python/share/terminfo/d/d430c-unix-w +0 -0
- package/python/share/terminfo/d/d430c-unix-w-ccc +0 -0
- package/python/share/terminfo/d/d450 +0 -0
- package/python/share/terminfo/d/d450-dg +0 -0
- package/python/share/terminfo/d/d460 +0 -0
- package/python/share/terminfo/d/d460-7b +0 -0
- package/python/share/terminfo/d/d460-7b-w +0 -0
- package/python/share/terminfo/d/d460-dg +0 -0
- package/python/share/terminfo/d/d460-w +0 -0
- package/python/share/terminfo/d/d461 +0 -0
- package/python/share/terminfo/d/d461-7b +0 -0
- package/python/share/terminfo/d/d461-7b-w +0 -0
- package/python/share/terminfo/d/d461-dg +0 -0
- package/python/share/terminfo/d/d461-w +0 -0
- package/python/share/terminfo/d/d462+ +0 -0
- package/python/share/terminfo/d/d462+25 +0 -0
- package/python/share/terminfo/d/d462+dg +0 -0
- package/python/share/terminfo/d/d462+s +0 -0
- package/python/share/terminfo/d/d462+sr +0 -0
- package/python/share/terminfo/d/d462+w +0 -0
- package/python/share/terminfo/d/d462-dg +0 -0
- package/python/share/terminfo/d/d462-unix +0 -0
- package/python/share/terminfo/d/d462-unix-25 +0 -0
- package/python/share/terminfo/d/d462-unix-s +0 -0
- package/python/share/terminfo/d/d462-unix-sr +0 -0
- package/python/share/terminfo/d/d462-unix-w +0 -0
- package/python/share/terminfo/d/d462e-dg +0 -0
- package/python/share/terminfo/d/d463-dg +0 -0
- package/python/share/terminfo/d/d463-unix +0 -0
- package/python/share/terminfo/d/d463-unix-25 +0 -0
- package/python/share/terminfo/d/d463-unix-s +0 -0
- package/python/share/terminfo/d/d463-unix-sr +0 -0
- package/python/share/terminfo/d/d463-unix-w +0 -0
- package/python/share/terminfo/d/d464-unix +0 -0
- package/python/share/terminfo/d/d464-unix-25 +0 -0
- package/python/share/terminfo/d/d464-unix-s +0 -0
- package/python/share/terminfo/d/d464-unix-sr +0 -0
- package/python/share/terminfo/d/d464-unix-w +0 -0
- package/python/share/terminfo/d/d470 +0 -0
- package/python/share/terminfo/d/d470-7b +0 -0
- package/python/share/terminfo/d/d470-dg +0 -0
- package/python/share/terminfo/d/d470c +0 -0
- package/python/share/terminfo/d/d470c-7b +0 -0
- package/python/share/terminfo/d/d470c-dg +0 -0
- package/python/share/terminfo/d/d555 +0 -0
- package/python/share/terminfo/d/d555-7b +0 -0
- package/python/share/terminfo/d/d555-7b-w +0 -0
- package/python/share/terminfo/d/d555-dg +0 -0
- package/python/share/terminfo/d/d555-w +0 -0
- package/python/share/terminfo/d/d577 +0 -0
- package/python/share/terminfo/d/d577-7b +0 -0
- package/python/share/terminfo/d/d577-7b-w +0 -0
- package/python/share/terminfo/d/d577-dg +0 -0
- package/python/share/terminfo/d/d577-w +0 -0
- package/python/share/terminfo/d/d578 +0 -0
- package/python/share/terminfo/d/d578-7b +0 -0
- package/python/share/terminfo/d/d578-dg +0 -0
- package/python/share/terminfo/d/d80 +0 -0
- package/python/share/terminfo/d/d800 +0 -0
- package/python/share/terminfo/d/darwin +0 -0
- package/python/share/terminfo/d/darwin-100x37 +0 -0
- package/python/share/terminfo/d/darwin-100x37-m +0 -0
- package/python/share/terminfo/d/darwin-112x37 +0 -0
- package/python/share/terminfo/d/darwin-112x37-m +0 -0
- package/python/share/terminfo/d/darwin-128x40 +0 -0
- package/python/share/terminfo/d/darwin-128x40-m +0 -0
- package/python/share/terminfo/d/darwin-128x48 +0 -0
- package/python/share/terminfo/d/darwin-128x48-m +0 -0
- package/python/share/terminfo/d/darwin-144x48 +0 -0
- package/python/share/terminfo/d/darwin-144x48-m +0 -0
- package/python/share/terminfo/d/darwin-160x64 +0 -0
- package/python/share/terminfo/d/darwin-160x64-m +0 -0
- package/python/share/terminfo/d/darwin-200x64 +0 -0
- package/python/share/terminfo/d/darwin-200x64-m +0 -0
- package/python/share/terminfo/d/darwin-200x75 +0 -0
- package/python/share/terminfo/d/darwin-200x75-m +0 -0
- package/python/share/terminfo/d/darwin-256x96 +0 -0
- package/python/share/terminfo/d/darwin-256x96-m +0 -0
- package/python/share/terminfo/d/darwin-80x25 +0 -0
- package/python/share/terminfo/d/darwin-80x25-m +0 -0
- package/python/share/terminfo/d/darwin-80x30 +0 -0
- package/python/share/terminfo/d/darwin-80x30-m +0 -0
- package/python/share/terminfo/d/darwin-90x30 +0 -0
- package/python/share/terminfo/d/darwin-90x30-m +0 -0
- package/python/share/terminfo/d/darwin-b +0 -0
- package/python/share/terminfo/d/darwin-f +0 -0
- package/python/share/terminfo/d/darwin-f2 +0 -0
- package/python/share/terminfo/d/darwin-m +0 -0
- package/python/share/terminfo/d/darwin-m-b +0 -0
- package/python/share/terminfo/d/darwin-m-f +0 -0
- package/python/share/terminfo/d/darwin-m-f2 +0 -0
- package/python/share/terminfo/d/datagraphix +0 -0
- package/python/share/terminfo/d/datamedia2500 +0 -0
- package/python/share/terminfo/d/datapoint +0 -0
- package/python/share/terminfo/d/dataspeed40 +0 -0
- package/python/share/terminfo/d/dd5000 +0 -0
- package/python/share/terminfo/d/ddr +0 -0
- package/python/share/terminfo/d/ddr3180 +0 -0
- package/python/share/terminfo/d/dec+pp +0 -0
- package/python/share/terminfo/d/dec+sl +0 -0
- package/python/share/terminfo/d/dec-vt100 +0 -0
- package/python/share/terminfo/d/dec-vt220 +0 -0
- package/python/share/terminfo/d/dec-vt330 +0 -0
- package/python/share/terminfo/d/dec-vt340 +0 -0
- package/python/share/terminfo/d/dec-vt400 +0 -0
- package/python/share/terminfo/d/decansi +0 -0
- package/python/share/terminfo/d/decid+cpr +0 -0
- package/python/share/terminfo/d/decpro +0 -0
- package/python/share/terminfo/d/decwriter +0 -0
- package/python/share/terminfo/d/delta +0 -0
- package/python/share/terminfo/d/dg+ccc +0 -0
- package/python/share/terminfo/d/dg+color +0 -0
- package/python/share/terminfo/d/dg+color8 +0 -0
- package/python/share/terminfo/d/dg+fixed +0 -0
- package/python/share/terminfo/d/dg-ansi +0 -0
- package/python/share/terminfo/d/dg-generic +0 -0
- package/python/share/terminfo/d/dg100 +0 -0
- package/python/share/terminfo/d/dg200 +0 -0
- package/python/share/terminfo/d/dg210 +0 -0
- package/python/share/terminfo/d/dg211 +0 -0
- package/python/share/terminfo/d/dg450 +0 -0
- package/python/share/terminfo/d/dg460-ansi +0 -0
- package/python/share/terminfo/d/dg6053 +0 -0
- package/python/share/terminfo/d/dg6053-old +0 -0
- package/python/share/terminfo/d/dg605x +0 -0
- package/python/share/terminfo/d/dg6134 +0 -0
- package/python/share/terminfo/d/dgkeys+11 +0 -0
- package/python/share/terminfo/d/dgkeys+15 +0 -0
- package/python/share/terminfo/d/dgkeys+7b +0 -0
- package/python/share/terminfo/d/dgkeys+8b +0 -0
- package/python/share/terminfo/d/dgmode+color +0 -0
- package/python/share/terminfo/d/dgmode+color8 +0 -0
- package/python/share/terminfo/d/dgunix+ccc +0 -0
- package/python/share/terminfo/d/dgunix+fixed +0 -0
- package/python/share/terminfo/d/diablo +0 -0
- package/python/share/terminfo/d/diablo-lm +0 -0
- package/python/share/terminfo/d/diablo1620 +0 -0
- package/python/share/terminfo/d/diablo1620-m8 +0 -0
- package/python/share/terminfo/d/diablo1640 +0 -0
- package/python/share/terminfo/d/diablo1640-lm +0 -0
- package/python/share/terminfo/d/diablo1640-m8 +0 -0
- package/python/share/terminfo/d/diablo1720 +0 -0
- package/python/share/terminfo/d/diablo1730 +0 -0
- package/python/share/terminfo/d/diablo1740 +0 -0
- package/python/share/terminfo/d/diablo1740-lm +0 -0
- package/python/share/terminfo/d/diablo450 +0 -0
- package/python/share/terminfo/d/diablo630 +0 -0
- package/python/share/terminfo/d/dialogue +0 -0
- package/python/share/terminfo/d/dialogue80 +0 -0
- package/python/share/terminfo/d/digilog +0 -0
- package/python/share/terminfo/d/djgpp +0 -0
- package/python/share/terminfo/d/djgpp203 +0 -0
- package/python/share/terminfo/d/djgpp204 +0 -0
- package/python/share/terminfo/d/dku7003 +0 -0
- package/python/share/terminfo/d/dku7003-dumb +0 -0
- package/python/share/terminfo/d/dku7102 +0 -0
- package/python/share/terminfo/d/dku7102-old +0 -0
- package/python/share/terminfo/d/dku7102-sna +0 -0
- package/python/share/terminfo/d/dku7103-sna +0 -0
- package/python/share/terminfo/d/dku7202 +0 -0
- package/python/share/terminfo/d/dm1520 +0 -0
- package/python/share/terminfo/d/dm1521 +0 -0
- package/python/share/terminfo/d/dm2500 +0 -0
- package/python/share/terminfo/d/dm3025 +0 -0
- package/python/share/terminfo/d/dm3045 +0 -0
- package/python/share/terminfo/d/dm80 +0 -0
- package/python/share/terminfo/d/dm80w +0 -0
- package/python/share/terminfo/d/dmchat +0 -0
- package/python/share/terminfo/d/dmd +0 -0
- package/python/share/terminfo/d/dmd-24 +0 -0
- package/python/share/terminfo/d/dmd-34 +0 -0
- package/python/share/terminfo/d/dmd1 +0 -0
- package/python/share/terminfo/d/dmdt80 +0 -0
- package/python/share/terminfo/d/dmdt80w +0 -0
- package/python/share/terminfo/d/dmterm +0 -0
- package/python/share/terminfo/d/domterm +0 -0
- package/python/share/terminfo/d/dp3360 +0 -0
- package/python/share/terminfo/d/dp8242 +0 -0
- package/python/share/terminfo/d/ds40 +0 -0
- package/python/share/terminfo/d/ds40-2 +0 -0
- package/python/share/terminfo/d/dt-100 +0 -0
- package/python/share/terminfo/d/dt-100w +0 -0
- package/python/share/terminfo/d/dt100 +0 -0
- package/python/share/terminfo/d/dt100w +0 -0
- package/python/share/terminfo/d/dt110 +0 -0
- package/python/share/terminfo/d/dt80 +0 -0
- package/python/share/terminfo/d/dt80-sas +0 -0
- package/python/share/terminfo/d/dt80w +0 -0
- package/python/share/terminfo/d/dtc300s +0 -0
- package/python/share/terminfo/d/dtc382 +0 -0
- package/python/share/terminfo/d/dtterm +0 -0
- package/python/share/terminfo/d/dumb +0 -0
- package/python/share/terminfo/d/dumb-emacs-ansi +0 -0
- package/python/share/terminfo/d/dvtm +0 -0
- package/python/share/terminfo/d/dvtm-256color +0 -0
- package/python/share/terminfo/d/dw +0 -0
- package/python/share/terminfo/d/dw1 +0 -0
- package/python/share/terminfo/d/dw2 +0 -0
- package/python/share/terminfo/d/dw3 +0 -0
- package/python/share/terminfo/d/dw4 +0 -0
- package/python/share/terminfo/d/dwk +0 -0
- package/python/share/terminfo/d/dwk-vt +0 -0
- package/python/share/terminfo/e/ecma+color +0 -0
- package/python/share/terminfo/e/ecma+index +0 -0
- package/python/share/terminfo/e/ecma+italics +0 -0
- package/python/share/terminfo/e/ecma+sgr +0 -0
- package/python/share/terminfo/e/ecma+strikeout +0 -0
- package/python/share/terminfo/e/elks +0 -0
- package/python/share/terminfo/e/elks-ansi +0 -0
- package/python/share/terminfo/e/elks-glasstty +0 -0
- package/python/share/terminfo/e/elks-vt52 +0 -0
- package/python/share/terminfo/e/emots +0 -0
- package/python/share/terminfo/e/emu +0 -0
- package/python/share/terminfo/e/emu-220 +0 -0
- package/python/share/terminfo/e/emx-base +0 -0
- package/python/share/terminfo/e/env230 +0 -0
- package/python/share/terminfo/e/envision230 +0 -0
- package/python/share/terminfo/e/ep40 +0 -0
- package/python/share/terminfo/e/ep4000 +0 -0
- package/python/share/terminfo/e/ep4080 +0 -0
- package/python/share/terminfo/e/ep48 +0 -0
- package/python/share/terminfo/e/ergo4000 +0 -0
- package/python/share/terminfo/e/esprit +0 -0
- package/python/share/terminfo/e/esprit-am +0 -0
- package/python/share/terminfo/e/eterm +0 -0
- package/python/share/terminfo/e/eterm-color +0 -0
- package/python/share/terminfo/e/ex155 +0 -0
- package/python/share/terminfo/e/excel62 +0 -0
- package/python/share/terminfo/e/excel62-rv +0 -0
- package/python/share/terminfo/e/excel62-w +0 -0
- package/python/share/terminfo/e/excel64 +0 -0
- package/python/share/terminfo/e/excel64-rv +0 -0
- package/python/share/terminfo/e/excel64-w +0 -0
- package/python/share/terminfo/e/exec80 +0 -0
- package/python/share/terminfo/f/f100 +0 -0
- package/python/share/terminfo/f/f100-rv +0 -0
- package/python/share/terminfo/f/f110 +0 -0
- package/python/share/terminfo/f/f110-14 +0 -0
- package/python/share/terminfo/f/f110-14w +0 -0
- package/python/share/terminfo/f/f110-w +0 -0
- package/python/share/terminfo/f/f1720 +0 -0
- package/python/share/terminfo/f/f1720a +0 -0
- package/python/share/terminfo/f/f200 +0 -0
- package/python/share/terminfo/f/f200-w +0 -0
- package/python/share/terminfo/f/f200vi +0 -0
- package/python/share/terminfo/f/f200vi-w +0 -0
- package/python/share/terminfo/f/falco +0 -0
- package/python/share/terminfo/f/falco-p +0 -0
- package/python/share/terminfo/f/fbterm +0 -0
- package/python/share/terminfo/f/fenix +0 -0
- package/python/share/terminfo/f/fenixw +0 -0
- package/python/share/terminfo/f/fixterm +0 -0
- package/python/share/terminfo/f/foot +0 -0
- package/python/share/terminfo/f/foot+base +0 -0
- package/python/share/terminfo/f/foot-direct +0 -0
- package/python/share/terminfo/f/fortune +0 -0
- package/python/share/terminfo/f/fos +0 -0
- package/python/share/terminfo/f/fox +0 -0
- package/python/share/terminfo/f/freedom +0 -0
- package/python/share/terminfo/f/freedom-rv +0 -0
- package/python/share/terminfo/f/freedom100 +0 -0
- package/python/share/terminfo/f/freedom110 +0 -0
- package/python/share/terminfo/f/freedom200 +0 -0
- package/python/share/terminfo/g/gator +0 -0
- package/python/share/terminfo/g/gator-52 +0 -0
- package/python/share/terminfo/g/gator-52t +0 -0
- package/python/share/terminfo/g/gator-t +0 -0
- package/python/share/terminfo/g/gigi +0 -0
- package/python/share/terminfo/g/glasstty +0 -0
- package/python/share/terminfo/g/gnome +0 -0
- package/python/share/terminfo/g/gnome+pcfkeys +0 -0
- package/python/share/terminfo/g/gnome-2007 +0 -0
- package/python/share/terminfo/g/gnome-2008 +0 -0
- package/python/share/terminfo/g/gnome-2012 +0 -0
- package/python/share/terminfo/g/gnome-256color +0 -0
- package/python/share/terminfo/g/gnome-fc5 +0 -0
- package/python/share/terminfo/g/gnome-rh62 +0 -0
- package/python/share/terminfo/g/gnome-rh72 +0 -0
- package/python/share/terminfo/g/gnome-rh80 +0 -0
- package/python/share/terminfo/g/gnome-rh90 +0 -0
- package/python/share/terminfo/g/go-225 +0 -0
- package/python/share/terminfo/g/go140 +0 -0
- package/python/share/terminfo/g/go140w +0 -0
- package/python/share/terminfo/g/go225 +0 -0
- package/python/share/terminfo/g/graphos +0 -0
- package/python/share/terminfo/g/graphos-30 +0 -0
- package/python/share/terminfo/g/gs5430 +0 -0
- package/python/share/terminfo/g/gs5430-22 +0 -0
- package/python/share/terminfo/g/gs5430-24 +0 -0
- package/python/share/terminfo/g/gs6300 +0 -0
- package/python/share/terminfo/g/gsi +0 -0
- package/python/share/terminfo/g/gt100 +0 -0
- package/python/share/terminfo/g/gt100a +0 -0
- package/python/share/terminfo/g/gt40 +0 -0
- package/python/share/terminfo/g/gt42 +0 -0
- package/python/share/terminfo/g/guru +0 -0
- package/python/share/terminfo/g/guru+rv +0 -0
- package/python/share/terminfo/g/guru+s +0 -0
- package/python/share/terminfo/g/guru+unk +0 -0
- package/python/share/terminfo/g/guru-24 +0 -0
- package/python/share/terminfo/g/guru-33 +0 -0
- package/python/share/terminfo/g/guru-33-rv +0 -0
- package/python/share/terminfo/g/guru-33-s +0 -0
- package/python/share/terminfo/g/guru-44 +0 -0
- package/python/share/terminfo/g/guru-44-s +0 -0
- package/python/share/terminfo/g/guru-76 +0 -0
- package/python/share/terminfo/g/guru-76-lp +0 -0
- package/python/share/terminfo/g/guru-76-s +0 -0
- package/python/share/terminfo/g/guru-76-w +0 -0
- package/python/share/terminfo/g/guru-76-w-s +0 -0
- package/python/share/terminfo/g/guru-76-wm +0 -0
- package/python/share/terminfo/g/guru-lp +0 -0
- package/python/share/terminfo/g/guru-nctxt +0 -0
- package/python/share/terminfo/g/guru-rv +0 -0
- package/python/share/terminfo/g/guru-s +0 -0
- package/python/share/terminfo/h/h-100 +0 -0
- package/python/share/terminfo/h/h-100bw +0 -0
- package/python/share/terminfo/h/h100 +0 -0
- package/python/share/terminfo/h/h100bw +0 -0
- package/python/share/terminfo/h/h19 +0 -0
- package/python/share/terminfo/h/h19-a +0 -0
- package/python/share/terminfo/h/h19-b +0 -0
- package/python/share/terminfo/h/h19-bs +0 -0
- package/python/share/terminfo/h/h19-g +0 -0
- package/python/share/terminfo/h/h19-smul +0 -0
- package/python/share/terminfo/h/h19-u +0 -0
- package/python/share/terminfo/h/h19-us +0 -0
- package/python/share/terminfo/h/h19a +0 -0
- package/python/share/terminfo/h/h19g +0 -0
- package/python/share/terminfo/h/h19k +0 -0
- package/python/share/terminfo/h/h19kermit +0 -0
- package/python/share/terminfo/h/h19us +0 -0
- package/python/share/terminfo/h/h29a-kc-bc +0 -0
- package/python/share/terminfo/h/h29a-kc-uc +0 -0
- package/python/share/terminfo/h/h29a-nkc-bc +0 -0
- package/python/share/terminfo/h/h29a-nkc-uc +0 -0
- package/python/share/terminfo/h/h80 +0 -0
- package/python/share/terminfo/h/ha8675 +0 -0
- package/python/share/terminfo/h/ha8686 +0 -0
- package/python/share/terminfo/h/hazel +0 -0
- package/python/share/terminfo/h/hds200 +0 -0
- package/python/share/terminfo/h/he80 +0 -0
- package/python/share/terminfo/h/heath +0 -0
- package/python/share/terminfo/h/heath-19 +0 -0
- package/python/share/terminfo/h/heath-ansi +0 -0
- package/python/share/terminfo/h/heathkit +0 -0
- package/python/share/terminfo/h/heathkit-a +0 -0
- package/python/share/terminfo/h/hft +0 -0
- package/python/share/terminfo/h/hft-c +0 -0
- package/python/share/terminfo/h/hft-c-old +0 -0
- package/python/share/terminfo/h/hft-old +0 -0
- package/python/share/terminfo/h/hirez100 +0 -0
- package/python/share/terminfo/h/hirez100-w +0 -0
- package/python/share/terminfo/h/hmod1 +0 -0
- package/python/share/terminfo/h/hp +0 -0
- package/python/share/terminfo/h/hp+arrows +0 -0
- package/python/share/terminfo/h/hp+color +0 -0
- package/python/share/terminfo/h/hp+labels +0 -0
- package/python/share/terminfo/h/hp+pfk+arrows +0 -0
- package/python/share/terminfo/h/hp+pfk+cr +0 -0
- package/python/share/terminfo/h/hp+pfk-cr +0 -0
- package/python/share/terminfo/h/hp+printer +0 -0
- package/python/share/terminfo/h/hp110 +0 -0
- package/python/share/terminfo/h/hp150 +0 -0
- package/python/share/terminfo/h/hp2 +0 -0
- package/python/share/terminfo/h/hp236 +0 -0
- package/python/share/terminfo/h/hp2382 +0 -0
- package/python/share/terminfo/h/hp2382a +0 -0
- package/python/share/terminfo/h/hp2392 +0 -0
- package/python/share/terminfo/h/hp2397 +0 -0
- package/python/share/terminfo/h/hp2397a +0 -0
- package/python/share/terminfo/h/hp2621 +0 -0
- package/python/share/terminfo/h/hp2621-48 +0 -0
- package/python/share/terminfo/h/hp2621-a +0 -0
- package/python/share/terminfo/h/hp2621-ba +0 -0
- package/python/share/terminfo/h/hp2621-fl +0 -0
- package/python/share/terminfo/h/hp2621-k45 +0 -0
- package/python/share/terminfo/h/hp2621-nl +0 -0
- package/python/share/terminfo/h/hp2621-nt +0 -0
- package/python/share/terminfo/h/hp2621-wl +0 -0
- package/python/share/terminfo/h/hp2621A +0 -0
- package/python/share/terminfo/h/hp2621a +0 -0
- package/python/share/terminfo/h/hp2621a-a +0 -0
- package/python/share/terminfo/h/hp2621b +0 -0
- package/python/share/terminfo/h/hp2621b-kx +0 -0
- package/python/share/terminfo/h/hp2621b-kx-p +0 -0
- package/python/share/terminfo/h/hp2621b-p +0 -0
- package/python/share/terminfo/h/hp2621k45 +0 -0
- package/python/share/terminfo/h/hp2621p +0 -0
- package/python/share/terminfo/h/hp2621p-a +0 -0
- package/python/share/terminfo/h/hp2622 +0 -0
- package/python/share/terminfo/h/hp2622a +0 -0
- package/python/share/terminfo/h/hp2623 +0 -0
- package/python/share/terminfo/h/hp2623a +0 -0
- package/python/share/terminfo/h/hp2624 +0 -0
- package/python/share/terminfo/h/hp2624-10p +0 -0
- package/python/share/terminfo/h/hp2624a +0 -0
- package/python/share/terminfo/h/hp2624a-10p +0 -0
- package/python/share/terminfo/h/hp2624b +0 -0
- package/python/share/terminfo/h/hp2624b-10p +0 -0
- package/python/share/terminfo/h/hp2624b-10p-p +0 -0
- package/python/share/terminfo/h/hp2624b-4p +0 -0
- package/python/share/terminfo/h/hp2624b-4p-p +0 -0
- package/python/share/terminfo/h/hp2624b-p +0 -0
- package/python/share/terminfo/h/hp2626 +0 -0
- package/python/share/terminfo/h/hp2626-12 +0 -0
- package/python/share/terminfo/h/hp2626-12-s +0 -0
- package/python/share/terminfo/h/hp2626-12x40 +0 -0
- package/python/share/terminfo/h/hp2626-ns +0 -0
- package/python/share/terminfo/h/hp2626-s +0 -0
- package/python/share/terminfo/h/hp2626-x40 +0 -0
- package/python/share/terminfo/h/hp2626a +0 -0
- package/python/share/terminfo/h/hp2626p +0 -0
- package/python/share/terminfo/h/hp2627a +0 -0
- package/python/share/terminfo/h/hp2627a-rev +0 -0
- package/python/share/terminfo/h/hp2627c +0 -0
- package/python/share/terminfo/h/hp262x +0 -0
- package/python/share/terminfo/h/hp2640a +0 -0
- package/python/share/terminfo/h/hp2640b +0 -0
- package/python/share/terminfo/h/hp2641a +0 -0
- package/python/share/terminfo/h/hp2644a +0 -0
- package/python/share/terminfo/h/hp2645 +0 -0
- package/python/share/terminfo/h/hp2645a +0 -0
- package/python/share/terminfo/h/hp2647a +0 -0
- package/python/share/terminfo/h/hp2648 +0 -0
- package/python/share/terminfo/h/hp2648a +0 -0
- package/python/share/terminfo/h/hp300h +0 -0
- package/python/share/terminfo/h/hp45 +0 -0
- package/python/share/terminfo/h/hp700 +0 -0
- package/python/share/terminfo/h/hp700-wy +0 -0
- package/python/share/terminfo/h/hp70092 +0 -0
- package/python/share/terminfo/h/hp70092A +0 -0
- package/python/share/terminfo/h/hp70092a +0 -0
- package/python/share/terminfo/h/hp9837 +0 -0
- package/python/share/terminfo/h/hp9845 +0 -0
- package/python/share/terminfo/h/hp98550 +0 -0
- package/python/share/terminfo/h/hp98550-color +0 -0
- package/python/share/terminfo/h/hp98550a +0 -0
- package/python/share/terminfo/h/hp98550a-color +0 -0
- package/python/share/terminfo/h/hp98720 +0 -0
- package/python/share/terminfo/h/hp98721 +0 -0
- package/python/share/terminfo/h/hpansi +0 -0
- package/python/share/terminfo/h/hpex +0 -0
- package/python/share/terminfo/h/hpex2 +0 -0
- package/python/share/terminfo/h/hpgeneric +0 -0
- package/python/share/terminfo/h/hpsub +0 -0
- package/python/share/terminfo/h/hpterm +0 -0
- package/python/share/terminfo/h/hpterm-color +0 -0
- package/python/share/terminfo/h/hpterm-color2 +0 -0
- package/python/share/terminfo/h/hterm +0 -0
- package/python/share/terminfo/h/hterm-256color +0 -0
- package/python/share/terminfo/h/htx11 +0 -0
- package/python/share/terminfo/h/hurd +0 -0
- package/python/share/terminfo/h/hz1000 +0 -0
- package/python/share/terminfo/h/hz1420 +0 -0
- package/python/share/terminfo/h/hz1500 +0 -0
- package/python/share/terminfo/h/hz1510 +0 -0
- package/python/share/terminfo/h/hz1520 +0 -0
- package/python/share/terminfo/h/hz1520-noesc +0 -0
- package/python/share/terminfo/h/hz1552 +0 -0
- package/python/share/terminfo/h/hz1552-rv +0 -0
- package/python/share/terminfo/h/hz2000 +0 -0
- package/python/share/terminfo/i/i100 +0 -0
- package/python/share/terminfo/i/i3101 +0 -0
- package/python/share/terminfo/i/i3164 +0 -0
- package/python/share/terminfo/i/i400 +0 -0
- package/python/share/terminfo/i/iTerm.app +0 -0
- package/python/share/terminfo/i/iTerm2.app +0 -0
- package/python/share/terminfo/i/ibcs2 +0 -0
- package/python/share/terminfo/i/ibm+16color +0 -0
- package/python/share/terminfo/i/ibm+color +0 -0
- package/python/share/terminfo/i/ibm-apl +0 -0
- package/python/share/terminfo/i/ibm-pc +0 -0
- package/python/share/terminfo/i/ibm-system1 +0 -0
- package/python/share/terminfo/i/ibm3101 +0 -0
- package/python/share/terminfo/i/ibm3151 +0 -0
- package/python/share/terminfo/i/ibm3161 +0 -0
- package/python/share/terminfo/i/ibm3161-C +0 -0
- package/python/share/terminfo/i/ibm3162 +0 -0
- package/python/share/terminfo/i/ibm3163 +0 -0
- package/python/share/terminfo/i/ibm3164 +0 -0
- package/python/share/terminfo/i/ibm327x +0 -0
- package/python/share/terminfo/i/ibm5051 +0 -0
- package/python/share/terminfo/i/ibm5081 +0 -0
- package/python/share/terminfo/i/ibm5081-c +0 -0
- package/python/share/terminfo/i/ibm5151 +0 -0
- package/python/share/terminfo/i/ibm5154 +0 -0
- package/python/share/terminfo/i/ibm5154-c +0 -0
- package/python/share/terminfo/i/ibm6153 +0 -0
- package/python/share/terminfo/i/ibm6153-40 +0 -0
- package/python/share/terminfo/i/ibm6153-90 +0 -0
- package/python/share/terminfo/i/ibm6154 +0 -0
- package/python/share/terminfo/i/ibm6154-c +0 -0
- package/python/share/terminfo/i/ibm6155 +0 -0
- package/python/share/terminfo/i/ibm8503 +0 -0
- package/python/share/terminfo/i/ibm8507 +0 -0
- package/python/share/terminfo/i/ibm8512 +0 -0
- package/python/share/terminfo/i/ibm8513 +0 -0
- package/python/share/terminfo/i/ibm8514 +0 -0
- package/python/share/terminfo/i/ibm8514-c +0 -0
- package/python/share/terminfo/i/ibm8604 +0 -0
- package/python/share/terminfo/i/ibmaed +0 -0
- package/python/share/terminfo/i/ibmapa16 +0 -0
- package/python/share/terminfo/i/ibmapa8 +0 -0
- package/python/share/terminfo/i/ibmapa8c +0 -0
- package/python/share/terminfo/i/ibmapa8c-c +0 -0
- package/python/share/terminfo/i/ibmega +0 -0
- package/python/share/terminfo/i/ibmega-c +0 -0
- package/python/share/terminfo/i/ibmmono +0 -0
- package/python/share/terminfo/i/ibmmpel-c +0 -0
- package/python/share/terminfo/i/ibmpc +0 -0
- package/python/share/terminfo/i/ibmpc3 +0 -0
- package/python/share/terminfo/i/ibmpc3r +0 -0
- package/python/share/terminfo/i/ibmpc3r-mono +0 -0
- package/python/share/terminfo/i/ibmpcx +0 -0
- package/python/share/terminfo/i/ibmvga +0 -0
- package/python/share/terminfo/i/ibmvga-c +0 -0
- package/python/share/terminfo/i/ibmx +0 -0
- package/python/share/terminfo/i/icl6402 +0 -0
- package/python/share/terminfo/i/icl6404 +0 -0
- package/python/share/terminfo/i/icl6404-w +0 -0
- package/python/share/terminfo/i/ifmr +0 -0
- package/python/share/terminfo/i/ims-ansi +0 -0
- package/python/share/terminfo/i/ims950 +0 -0
- package/python/share/terminfo/i/ims950-b +0 -0
- package/python/share/terminfo/i/ims950-rv +0 -0
- package/python/share/terminfo/i/infoton +0 -0
- package/python/share/terminfo/i/infoton2 +0 -0
- package/python/share/terminfo/i/interix +0 -0
- package/python/share/terminfo/i/interix-nti +0 -0
- package/python/share/terminfo/i/intertec +0 -0
- package/python/share/terminfo/i/intertube +0 -0
- package/python/share/terminfo/i/intertube2 +0 -0
- package/python/share/terminfo/i/intext +0 -0
- package/python/share/terminfo/i/intext2 +0 -0
- package/python/share/terminfo/i/intextii +0 -0
- package/python/share/terminfo/i/ips +0 -0
- package/python/share/terminfo/i/ipsi +0 -0
- package/python/share/terminfo/i/iq120 +0 -0
- package/python/share/terminfo/i/iq140 +0 -0
- package/python/share/terminfo/i/iris-ansi +0 -0
- package/python/share/terminfo/i/iris-ansi-ap +0 -0
- package/python/share/terminfo/i/iris-ansi-net +0 -0
- package/python/share/terminfo/i/iris-color +0 -0
- package/python/share/terminfo/i/iris40 +0 -0
- package/python/share/terminfo/i/iterm +0 -0
- package/python/share/terminfo/i/iterm2 +0 -0
- package/python/share/terminfo/i/iterm2-direct +0 -0
- package/python/share/terminfo/j/jaixterm +0 -0
- package/python/share/terminfo/j/jaixterm-m +0 -0
- package/python/share/terminfo/j/jerq +0 -0
- package/python/share/terminfo/j/jfbterm +0 -0
- package/python/share/terminfo/k/k45 +0 -0
- package/python/share/terminfo/k/kaypro +0 -0
- package/python/share/terminfo/k/kaypro2 +0 -0
- package/python/share/terminfo/k/kds6402 +0 -0
- package/python/share/terminfo/k/kds7372 +0 -0
- package/python/share/terminfo/k/kds7372-w +0 -0
- package/python/share/terminfo/k/kermit +0 -0
- package/python/share/terminfo/k/kermit-am +0 -0
- package/python/share/terminfo/k/kitty +0 -0
- package/python/share/terminfo/k/kitty+common +0 -0
- package/python/share/terminfo/k/kitty+setal +0 -0
- package/python/share/terminfo/k/kitty-direct +0 -0
- package/python/share/terminfo/k/klone+acs +0 -0
- package/python/share/terminfo/k/klone+color +0 -0
- package/python/share/terminfo/k/klone+koi8acs +0 -0
- package/python/share/terminfo/k/klone+sgr +0 -0
- package/python/share/terminfo/k/klone+sgr-dumb +0 -0
- package/python/share/terminfo/k/klone+sgr8 +0 -0
- package/python/share/terminfo/k/kon +0 -0
- package/python/share/terminfo/k/kon2 +0 -0
- package/python/share/terminfo/k/konsole +0 -0
- package/python/share/terminfo/k/konsole+pcfkeys +0 -0
- package/python/share/terminfo/k/konsole-16color +0 -0
- package/python/share/terminfo/k/konsole-256color +0 -0
- package/python/share/terminfo/k/konsole-base +0 -0
- package/python/share/terminfo/k/konsole-direct +0 -0
- package/python/share/terminfo/k/konsole-linux +0 -0
- package/python/share/terminfo/k/konsole-solaris +0 -0
- package/python/share/terminfo/k/konsole-vt100 +0 -0
- package/python/share/terminfo/k/konsole-vt420pc +0 -0
- package/python/share/terminfo/k/konsole-xf3x +0 -0
- package/python/share/terminfo/k/konsole-xf4x +0 -0
- package/python/share/terminfo/k/kt7 +0 -0
- package/python/share/terminfo/k/kt7ix +0 -0
- package/python/share/terminfo/k/kterm +0 -0
- package/python/share/terminfo/k/kterm-co +0 -0
- package/python/share/terminfo/k/kterm-color +0 -0
- package/python/share/terminfo/k/ktm +0 -0
- package/python/share/terminfo/k/kvt +0 -0
- package/python/share/terminfo/l/la120 +0 -0
- package/python/share/terminfo/l/layer +0 -0
- package/python/share/terminfo/l/lft +0 -0
- package/python/share/terminfo/l/lft-pc850 +0 -0
- package/python/share/terminfo/l/linux +0 -0
- package/python/share/terminfo/l/linux+decid +0 -0
- package/python/share/terminfo/l/linux+kbs +0 -0
- package/python/share/terminfo/l/linux+sfkeys +0 -0
- package/python/share/terminfo/l/linux-16color +0 -0
- package/python/share/terminfo/l/linux-basic +0 -0
- package/python/share/terminfo/l/linux-c +0 -0
- package/python/share/terminfo/l/linux-c-nc +0 -0
- package/python/share/terminfo/l/linux-koi8 +0 -0
- package/python/share/terminfo/l/linux-koi8r +0 -0
- package/python/share/terminfo/l/linux-lat +0 -0
- package/python/share/terminfo/l/linux-m +0 -0
- package/python/share/terminfo/l/linux-m1 +0 -0
- package/python/share/terminfo/l/linux-m1b +0 -0
- package/python/share/terminfo/l/linux-m2 +0 -0
- package/python/share/terminfo/l/linux-nic +0 -0
- package/python/share/terminfo/l/linux-s +0 -0
- package/python/share/terminfo/l/linux-vt +0 -0
- package/python/share/terminfo/l/linux2.2 +0 -0
- package/python/share/terminfo/l/linux2.6 +0 -0
- package/python/share/terminfo/l/linux2.6.26 +0 -0
- package/python/share/terminfo/l/linux3.0 +0 -0
- package/python/share/terminfo/l/lisa +0 -0
- package/python/share/terminfo/l/lisaterm +0 -0
- package/python/share/terminfo/l/lisaterm-w +0 -0
- package/python/share/terminfo/l/liswb +0 -0
- package/python/share/terminfo/l/ln03 +0 -0
- package/python/share/terminfo/l/ln03-w +0 -0
- package/python/share/terminfo/l/lpr +0 -0
- package/python/share/terminfo/l/luna +0 -0
- package/python/share/terminfo/l/luna68k +0 -0
- package/python/share/terminfo/m/m2-nam +0 -0
- package/python/share/terminfo/m/mac +0 -0
- package/python/share/terminfo/m/mac-w +0 -0
- package/python/share/terminfo/m/mach +0 -0
- package/python/share/terminfo/m/mach-bold +0 -0
- package/python/share/terminfo/m/mach-color +0 -0
- package/python/share/terminfo/m/mach-gnu +0 -0
- package/python/share/terminfo/m/mach-gnu-color +0 -0
- package/python/share/terminfo/m/macintosh +0 -0
- package/python/share/terminfo/m/macterminal-w +0 -0
- package/python/share/terminfo/m/mai +0 -0
- package/python/share/terminfo/m/masscomp +0 -0
- package/python/share/terminfo/m/masscomp1 +0 -0
- package/python/share/terminfo/m/masscomp2 +0 -0
- package/python/share/terminfo/m/mdl110 +0 -0
- package/python/share/terminfo/m/megatek +0 -0
- package/python/share/terminfo/m/memhp +0 -0
- package/python/share/terminfo/m/mgr +0 -0
- package/python/share/terminfo/m/mgr-linux +0 -0
- package/python/share/terminfo/m/mgr-sun +0 -0
- package/python/share/terminfo/m/mgt +0 -0
- package/python/share/terminfo/m/mgterm +0 -0
- package/python/share/terminfo/m/microb +0 -0
- package/python/share/terminfo/m/microbee +0 -0
- package/python/share/terminfo/m/microterm +0 -0
- package/python/share/terminfo/m/microterm5 +0 -0
- package/python/share/terminfo/m/mime +0 -0
- package/python/share/terminfo/m/mime-3ax +0 -0
- package/python/share/terminfo/m/mime-fb +0 -0
- package/python/share/terminfo/m/mime-hb +0 -0
- package/python/share/terminfo/m/mime1 +0 -0
- package/python/share/terminfo/m/mime2 +0 -0
- package/python/share/terminfo/m/mime2a +0 -0
- package/python/share/terminfo/m/mime2a-s +0 -0
- package/python/share/terminfo/m/mime2a-v +0 -0
- package/python/share/terminfo/m/mime314 +0 -0
- package/python/share/terminfo/m/mime340 +0 -0
- package/python/share/terminfo/m/mime3a +0 -0
- package/python/share/terminfo/m/mime3ax +0 -0
- package/python/share/terminfo/m/mimei +0 -0
- package/python/share/terminfo/m/mimeii +0 -0
- package/python/share/terminfo/m/minitel +0 -0
- package/python/share/terminfo/m/minitel-2 +0 -0
- package/python/share/terminfo/m/minitel-2-nam +0 -0
- package/python/share/terminfo/m/minitel1 +0 -0
- package/python/share/terminfo/m/minitel1-nb +0 -0
- package/python/share/terminfo/m/minitel12-80 +0 -0
- package/python/share/terminfo/m/minitel1b +0 -0
- package/python/share/terminfo/m/minitel1b-80 +0 -0
- package/python/share/terminfo/m/minitel1b-nb +0 -0
- package/python/share/terminfo/m/minitel2-80 +0 -0
- package/python/share/terminfo/m/minix +0 -0
- package/python/share/terminfo/m/minix-1.5 +0 -0
- package/python/share/terminfo/m/minix-1.7 +0 -0
- package/python/share/terminfo/m/minix-3.0 +0 -0
- package/python/share/terminfo/m/minix-old +0 -0
- package/python/share/terminfo/m/minix-old-am +0 -0
- package/python/share/terminfo/m/mintty +0 -0
- package/python/share/terminfo/m/mintty+common +0 -0
- package/python/share/terminfo/m/mintty-direct +0 -0
- package/python/share/terminfo/m/mlterm +0 -0
- package/python/share/terminfo/m/mlterm+pcfkeys +0 -0
- package/python/share/terminfo/m/mlterm-256color +0 -0
- package/python/share/terminfo/m/mlterm-direct +0 -0
- package/python/share/terminfo/m/mlterm2 +0 -0
- package/python/share/terminfo/m/mlterm3 +0 -0
- package/python/share/terminfo/m/mm314 +0 -0
- package/python/share/terminfo/m/mm340 +0 -0
- package/python/share/terminfo/m/mod +0 -0
- package/python/share/terminfo/m/mod24 +0 -0
- package/python/share/terminfo/m/modgraph +0 -0
- package/python/share/terminfo/m/modgraph2 +0 -0
- package/python/share/terminfo/m/modgraph48 +0 -0
- package/python/share/terminfo/m/mono-emx +0 -0
- package/python/share/terminfo/m/morphos +0 -0
- package/python/share/terminfo/m/mosh +0 -0
- package/python/share/terminfo/m/mosh-256color +0 -0
- package/python/share/terminfo/m/mostlike +0 -0
- package/python/share/terminfo/m/mouse-sun +0 -0
- package/python/share/terminfo/m/mrxvt +0 -0
- package/python/share/terminfo/m/mrxvt-256color +0 -0
- package/python/share/terminfo/m/ms-terminal +0 -0
- package/python/share/terminfo/m/ms-vt-utf8 +0 -0
- package/python/share/terminfo/m/ms-vt100 +0 -0
- package/python/share/terminfo/m/ms-vt100+ +0 -0
- package/python/share/terminfo/m/ms-vt100-16color +0 -0
- package/python/share/terminfo/m/ms-vt100-color +0 -0
- package/python/share/terminfo/m/msk227 +0 -0
- package/python/share/terminfo/m/msk22714 +0 -0
- package/python/share/terminfo/m/msk227am +0 -0
- package/python/share/terminfo/m/mskermit227 +0 -0
- package/python/share/terminfo/m/mskermit22714 +0 -0
- package/python/share/terminfo/m/mskermit227am +0 -0
- package/python/share/terminfo/m/mt-70 +0 -0
- package/python/share/terminfo/m/mt4520-rv +0 -0
- package/python/share/terminfo/m/mt70 +0 -0
- package/python/share/terminfo/m/mterm +0 -0
- package/python/share/terminfo/m/mterm-ansi +0 -0
- package/python/share/terminfo/m/mvterm +0 -0
- package/python/share/terminfo/n/n7900 +0 -0
- package/python/share/terminfo/n/nansi.sys +0 -0
- package/python/share/terminfo/n/nansi.sysk +0 -0
- package/python/share/terminfo/n/nansisys +0 -0
- package/python/share/terminfo/n/nansisysk +0 -0
- package/python/share/terminfo/n/ncr160vppp +0 -0
- package/python/share/terminfo/n/ncr160vpwpp +0 -0
- package/python/share/terminfo/n/ncr160vt100an +0 -0
- package/python/share/terminfo/n/ncr160vt100pp +0 -0
- package/python/share/terminfo/n/ncr160vt100wan +0 -0
- package/python/share/terminfo/n/ncr160vt100wpp +0 -0
- package/python/share/terminfo/n/ncr160vt200an +0 -0
- package/python/share/terminfo/n/ncr160vt200pp +0 -0
- package/python/share/terminfo/n/ncr160vt200wan +0 -0
- package/python/share/terminfo/n/ncr160vt200wpp +0 -0
- package/python/share/terminfo/n/ncr160vt300an +0 -0
- package/python/share/terminfo/n/ncr160vt300pp +0 -0
- package/python/share/terminfo/n/ncr160vt300wan +0 -0
- package/python/share/terminfo/n/ncr160vt300wpp +0 -0
- package/python/share/terminfo/n/ncr160wy50+pp +0 -0
- package/python/share/terminfo/n/ncr160wy50+wpp +0 -0
- package/python/share/terminfo/n/ncr160wy60pp +0 -0
- package/python/share/terminfo/n/ncr160wy60wpp +0 -0
- package/python/share/terminfo/n/ncr260intan +0 -0
- package/python/share/terminfo/n/ncr260intpp +0 -0
- package/python/share/terminfo/n/ncr260intwan +0 -0
- package/python/share/terminfo/n/ncr260intwpp +0 -0
- package/python/share/terminfo/n/ncr260vp+sl +0 -0
- package/python/share/terminfo/n/ncr260vppp +0 -0
- package/python/share/terminfo/n/ncr260vpwpp +0 -0
- package/python/share/terminfo/n/ncr260vt+sl +0 -0
- package/python/share/terminfo/n/ncr260vt100an +0 -0
- package/python/share/terminfo/n/ncr260vt100pp +0 -0
- package/python/share/terminfo/n/ncr260vt100wan +0 -0
- package/python/share/terminfo/n/ncr260vt100wpp +0 -0
- package/python/share/terminfo/n/ncr260vt200an +0 -0
- package/python/share/terminfo/n/ncr260vt200pp +0 -0
- package/python/share/terminfo/n/ncr260vt200wan +0 -0
- package/python/share/terminfo/n/ncr260vt200wpp +0 -0
- package/python/share/terminfo/n/ncr260vt300an +0 -0
- package/python/share/terminfo/n/ncr260vt300pp +0 -0
- package/python/share/terminfo/n/ncr260vt300wan +0 -0
- package/python/share/terminfo/n/ncr260vt300wpp +0 -0
- package/python/share/terminfo/n/ncr260wy325pp +0 -0
- package/python/share/terminfo/n/ncr260wy325wpp +0 -0
- package/python/share/terminfo/n/ncr260wy350pp +0 -0
- package/python/share/terminfo/n/ncr260wy350wpp +0 -0
- package/python/share/terminfo/n/ncr260wy50+pp +0 -0
- package/python/share/terminfo/n/ncr260wy50+wpp +0 -0
- package/python/share/terminfo/n/ncr260wy60pp +0 -0
- package/python/share/terminfo/n/ncr260wy60wpp +0 -0
- package/python/share/terminfo/n/ncr7900 +0 -0
- package/python/share/terminfo/n/ncr7900i +0 -0
- package/python/share/terminfo/n/ncr7900iv +0 -0
- package/python/share/terminfo/n/ncr7901 +0 -0
- package/python/share/terminfo/n/ncrvt100an +0 -0
- package/python/share/terminfo/n/ncrvt100pp +0 -0
- package/python/share/terminfo/n/ncrvt100wan +0 -0
- package/python/share/terminfo/n/ncrvt100wpp +0 -0
- package/python/share/terminfo/n/ncsa +0 -0
- package/python/share/terminfo/n/ncsa-m +0 -0
- package/python/share/terminfo/n/ncsa-m-ns +0 -0
- package/python/share/terminfo/n/ncsa-ns +0 -0
- package/python/share/terminfo/n/ncsa-vt220 +0 -0
- package/python/share/terminfo/n/ncsa-vt220-8 +0 -0
- package/python/share/terminfo/n/nd9500 +0 -0
- package/python/share/terminfo/n/ndr9500 +0 -0
- package/python/share/terminfo/n/ndr9500-25 +0 -0
- package/python/share/terminfo/n/ndr9500-25-mc +0 -0
- package/python/share/terminfo/n/ndr9500-25-mc-nl +0 -0
- package/python/share/terminfo/n/ndr9500-25-nl +0 -0
- package/python/share/terminfo/n/ndr9500-mc +0 -0
- package/python/share/terminfo/n/ndr9500-mc-nl +0 -0
- package/python/share/terminfo/n/ndr9500-nl +0 -0
- package/python/share/terminfo/n/nec +0 -0
- package/python/share/terminfo/n/nec5520 +0 -0
- package/python/share/terminfo/n/netbsd6 +0 -0
- package/python/share/terminfo/n/newhp +0 -0
- package/python/share/terminfo/n/newhpkeyboard +0 -0
- package/python/share/terminfo/n/news +0 -0
- package/python/share/terminfo/n/news-29 +0 -0
- package/python/share/terminfo/n/news-29-euc +0 -0
- package/python/share/terminfo/n/news-29-sjis +0 -0
- package/python/share/terminfo/n/news-33 +0 -0
- package/python/share/terminfo/n/news-33-euc +0 -0
- package/python/share/terminfo/n/news-33-sjis +0 -0
- package/python/share/terminfo/n/news-42 +0 -0
- package/python/share/terminfo/n/news-42-euc +0 -0
- package/python/share/terminfo/n/news-42-sjis +0 -0
- package/python/share/terminfo/n/news-a +0 -0
- package/python/share/terminfo/n/news-o +0 -0
- package/python/share/terminfo/n/news-old-unk +0 -0
- package/python/share/terminfo/n/news-unk +0 -0
- package/python/share/terminfo/n/news28 +0 -0
- package/python/share/terminfo/n/news28-a +0 -0
- package/python/share/terminfo/n/news29 +0 -0
- package/python/share/terminfo/n/news31 +0 -0
- package/python/share/terminfo/n/news31-a +0 -0
- package/python/share/terminfo/n/news31-o +0 -0
- package/python/share/terminfo/n/news33 +0 -0
- package/python/share/terminfo/n/news40 +0 -0
- package/python/share/terminfo/n/news40-a +0 -0
- package/python/share/terminfo/n/news40-o +0 -0
- package/python/share/terminfo/n/news42 +0 -0
- package/python/share/terminfo/n/newscbm +0 -0
- package/python/share/terminfo/n/newscbm-a +0 -0
- package/python/share/terminfo/n/newscbm-o +0 -0
- package/python/share/terminfo/n/newscbm33 +0 -0
- package/python/share/terminfo/n/next +0 -0
- package/python/share/terminfo/n/nextshell +0 -0
- package/python/share/terminfo/n/no+brackets +0 -0
- package/python/share/terminfo/n/northstar +0 -0
- package/python/share/terminfo/n/nsterm +0 -0
- package/python/share/terminfo/n/nsterm+7 +0 -0
- package/python/share/terminfo/n/nsterm+acs +0 -0
- package/python/share/terminfo/n/nsterm+c +0 -0
- package/python/share/terminfo/n/nsterm+c41 +0 -0
- package/python/share/terminfo/n/nsterm+mac +0 -0
- package/python/share/terminfo/n/nsterm+s +0 -0
- package/python/share/terminfo/n/nsterm-16color +0 -0
- package/python/share/terminfo/n/nsterm-256color +0 -0
- package/python/share/terminfo/n/nsterm-7 +0 -0
- package/python/share/terminfo/n/nsterm-7-c +0 -0
- package/python/share/terminfo/n/nsterm-7-c-s +0 -0
- package/python/share/terminfo/n/nsterm-7-m +0 -0
- package/python/share/terminfo/n/nsterm-7-m-s +0 -0
- package/python/share/terminfo/n/nsterm-7-s +0 -0
- package/python/share/terminfo/n/nsterm-acs +0 -0
- package/python/share/terminfo/n/nsterm-acs-c +0 -0
- package/python/share/terminfo/n/nsterm-acs-c-s +0 -0
- package/python/share/terminfo/n/nsterm-acs-m +0 -0
- package/python/share/terminfo/n/nsterm-acs-m-s +0 -0
- package/python/share/terminfo/n/nsterm-acs-s +0 -0
- package/python/share/terminfo/n/nsterm-bce +0 -0
- package/python/share/terminfo/n/nsterm-build309 +0 -0
- package/python/share/terminfo/n/nsterm-build326 +0 -0
- package/python/share/terminfo/n/nsterm-build343 +0 -0
- package/python/share/terminfo/n/nsterm-build361 +0 -0
- package/python/share/terminfo/n/nsterm-build400 +0 -0
- package/python/share/terminfo/n/nsterm-build440 +0 -0
- package/python/share/terminfo/n/nsterm-c +0 -0
- package/python/share/terminfo/n/nsterm-c-7 +0 -0
- package/python/share/terminfo/n/nsterm-c-acs +0 -0
- package/python/share/terminfo/n/nsterm-c-s +0 -0
- package/python/share/terminfo/n/nsterm-c-s-7 +0 -0
- package/python/share/terminfo/n/nsterm-c-s-acs +0 -0
- package/python/share/terminfo/n/nsterm-direct +0 -0
- package/python/share/terminfo/n/nsterm-m +0 -0
- package/python/share/terminfo/n/nsterm-m-7 +0 -0
- package/python/share/terminfo/n/nsterm-m-acs +0 -0
- package/python/share/terminfo/n/nsterm-m-s +0 -0
- package/python/share/terminfo/n/nsterm-m-s-7 +0 -0
- package/python/share/terminfo/n/nsterm-m-s-acs +0 -0
- package/python/share/terminfo/n/nsterm-old +0 -0
- package/python/share/terminfo/n/nsterm-s +0 -0
- package/python/share/terminfo/n/nsterm-s-7 +0 -0
- package/python/share/terminfo/n/nsterm-s-acs +0 -0
- package/python/share/terminfo/n/ntconsole +0 -0
- package/python/share/terminfo/n/ntconsole-100 +0 -0
- package/python/share/terminfo/n/ntconsole-100-nti +0 -0
- package/python/share/terminfo/n/ntconsole-25 +0 -0
- package/python/share/terminfo/n/ntconsole-25-nti +0 -0
- package/python/share/terminfo/n/ntconsole-25-w +0 -0
- package/python/share/terminfo/n/ntconsole-25-w-vt +0 -0
- package/python/share/terminfo/n/ntconsole-35 +0 -0
- package/python/share/terminfo/n/ntconsole-35-nti +0 -0
- package/python/share/terminfo/n/ntconsole-35-w +0 -0
- package/python/share/terminfo/n/ntconsole-50 +0 -0
- package/python/share/terminfo/n/ntconsole-50-nti +0 -0
- package/python/share/terminfo/n/ntconsole-50-w +0 -0
- package/python/share/terminfo/n/ntconsole-60 +0 -0
- package/python/share/terminfo/n/ntconsole-60-nti +0 -0
- package/python/share/terminfo/n/ntconsole-60-w +0 -0
- package/python/share/terminfo/n/ntconsole-w +0 -0
- package/python/share/terminfo/n/ntconsole-w-vt +0 -0
- package/python/share/terminfo/n/nwe501 +0 -0
- package/python/share/terminfo/n/nwe501-a +0 -0
- package/python/share/terminfo/n/nwe501-o +0 -0
- package/python/share/terminfo/n/nwp-511 +0 -0
- package/python/share/terminfo/n/nwp-517 +0 -0
- package/python/share/terminfo/n/nwp-517-w +0 -0
- package/python/share/terminfo/n/nwp251-a +0 -0
- package/python/share/terminfo/n/nwp251-o +0 -0
- package/python/share/terminfo/n/nwp511 +0 -0
- package/python/share/terminfo/n/nwp512 +0 -0
- package/python/share/terminfo/n/nwp512-a +0 -0
- package/python/share/terminfo/n/nwp512-o +0 -0
- package/python/share/terminfo/n/nwp513 +0 -0
- package/python/share/terminfo/n/nwp513-a +0 -0
- package/python/share/terminfo/n/nwp513-o +0 -0
- package/python/share/terminfo/n/nwp514 +0 -0
- package/python/share/terminfo/n/nwp514-a +0 -0
- package/python/share/terminfo/n/nwp514-o +0 -0
- package/python/share/terminfo/n/nwp517 +0 -0
- package/python/share/terminfo/n/nwp517-w +0 -0
- package/python/share/terminfo/n/nwp518 +0 -0
- package/python/share/terminfo/n/nwp518-a +0 -0
- package/python/share/terminfo/n/nwp518-o +0 -0
- package/python/share/terminfo/n/nxterm +0 -0
- package/python/share/terminfo/o/o31 +0 -0
- package/python/share/terminfo/o/o4112-nd +0 -0
- package/python/share/terminfo/o/o85h +0 -0
- package/python/share/terminfo/o/oabm85h +0 -0
- package/python/share/terminfo/o/oblit +0 -0
- package/python/share/terminfo/o/oc100 +0 -0
- package/python/share/terminfo/o/oconcept +0 -0
- package/python/share/terminfo/o/ofcons +0 -0
- package/python/share/terminfo/o/ojerq +0 -0
- package/python/share/terminfo/o/old-st +0 -0
- package/python/share/terminfo/o/oldibmpc3 +0 -0
- package/python/share/terminfo/o/oldpc3 +0 -0
- package/python/share/terminfo/o/oldsun +0 -0
- package/python/share/terminfo/o/oldxterm+sm+1006 +0 -0
- package/python/share/terminfo/o/omron +0 -0
- package/python/share/terminfo/o/opennt +0 -0
- package/python/share/terminfo/o/opennt-100 +0 -0
- package/python/share/terminfo/o/opennt-100-nti +0 -0
- package/python/share/terminfo/o/opennt-25 +0 -0
- package/python/share/terminfo/o/opennt-25-nti +0 -0
- package/python/share/terminfo/o/opennt-25-w +0 -0
- package/python/share/terminfo/o/opennt-25-w-vt +0 -0
- package/python/share/terminfo/o/opennt-35 +0 -0
- package/python/share/terminfo/o/opennt-35-nti +0 -0
- package/python/share/terminfo/o/opennt-35-w +0 -0
- package/python/share/terminfo/o/opennt-50 +0 -0
- package/python/share/terminfo/o/opennt-50-nti +0 -0
- package/python/share/terminfo/o/opennt-50-w +0 -0
- package/python/share/terminfo/o/opennt-60 +0 -0
- package/python/share/terminfo/o/opennt-60-nti +0 -0
- package/python/share/terminfo/o/opennt-60-w +0 -0
- package/python/share/terminfo/o/opennt-nti +0 -0
- package/python/share/terminfo/o/opennt-w +0 -0
- package/python/share/terminfo/o/opennt-w-vt +0 -0
- package/python/share/terminfo/o/opus3n1+ +0 -0
- package/python/share/terminfo/o/origibmpc3 +0 -0
- package/python/share/terminfo/o/origpc3 +0 -0
- package/python/share/terminfo/o/os9LII +0 -0
- package/python/share/terminfo/o/osborne +0 -0
- package/python/share/terminfo/o/osborne-w +0 -0
- package/python/share/terminfo/o/osborne1 +0 -0
- package/python/share/terminfo/o/osborne1-w +0 -0
- package/python/share/terminfo/o/osexec +0 -0
- package/python/share/terminfo/o/otek4112 +0 -0
- package/python/share/terminfo/o/otek4113 +0 -0
- package/python/share/terminfo/o/otek4114 +0 -0
- package/python/share/terminfo/o/otek4115 +0 -0
- package/python/share/terminfo/o/owl +0 -0
- package/python/share/terminfo/p/p12 +0 -0
- package/python/share/terminfo/p/p12-m +0 -0
- package/python/share/terminfo/p/p12-m-w +0 -0
- package/python/share/terminfo/p/p12-w +0 -0
- package/python/share/terminfo/p/p14 +0 -0
- package/python/share/terminfo/p/p14-m +0 -0
- package/python/share/terminfo/p/p14-m-w +0 -0
- package/python/share/terminfo/p/p14-w +0 -0
- package/python/share/terminfo/p/p19 +0 -0
- package/python/share/terminfo/p/p4 +0 -0
- package/python/share/terminfo/p/p5 +0 -0
- package/python/share/terminfo/p/p7 +0 -0
- package/python/share/terminfo/p/p8 +0 -0
- package/python/share/terminfo/p/p8-w +0 -0
- package/python/share/terminfo/p/p8gl +0 -0
- package/python/share/terminfo/p/p9 +0 -0
- package/python/share/terminfo/p/p9-8 +0 -0
- package/python/share/terminfo/p/p9-8-w +0 -0
- package/python/share/terminfo/p/p9-w +0 -0
- package/python/share/terminfo/p/pc-coherent +0 -0
- package/python/share/terminfo/p/pc-minix +0 -0
- package/python/share/terminfo/p/pc-venix +0 -0
- package/python/share/terminfo/p/pc3 +0 -0
- package/python/share/terminfo/p/pc3-bold +0 -0
- package/python/share/terminfo/p/pc3r +0 -0
- package/python/share/terminfo/p/pc3r-m +0 -0
- package/python/share/terminfo/p/pc6300plus +0 -0
- package/python/share/terminfo/p/pc7300 +0 -0
- package/python/share/terminfo/p/pcansi +0 -0
- package/python/share/terminfo/p/pcansi-25 +0 -0
- package/python/share/terminfo/p/pcansi-25-m +0 -0
- package/python/share/terminfo/p/pcansi-33 +0 -0
- package/python/share/terminfo/p/pcansi-33-m +0 -0
- package/python/share/terminfo/p/pcansi-43 +0 -0
- package/python/share/terminfo/p/pcansi-43-m +0 -0
- package/python/share/terminfo/p/pcansi-m +0 -0
- package/python/share/terminfo/p/pcansi-mono +0 -0
- package/python/share/terminfo/p/pcansi25 +0 -0
- package/python/share/terminfo/p/pcansi25m +0 -0
- package/python/share/terminfo/p/pcansi33 +0 -0
- package/python/share/terminfo/p/pcansi33m +0 -0
- package/python/share/terminfo/p/pcansi43 +0 -0
- package/python/share/terminfo/p/pccon +0 -0
- package/python/share/terminfo/p/pccon+base +0 -0
- package/python/share/terminfo/p/pccon+colors +0 -0
- package/python/share/terminfo/p/pccon+keys +0 -0
- package/python/share/terminfo/p/pccon+sgr+acs +0 -0
- package/python/share/terminfo/p/pccon+sgr+acs0 +0 -0
- package/python/share/terminfo/p/pccon-m +0 -0
- package/python/share/terminfo/p/pccon0 +0 -0
- package/python/share/terminfo/p/pccon0-m +0 -0
- package/python/share/terminfo/p/pccons +0 -0
- package/python/share/terminfo/p/pcconsole +0 -0
- package/python/share/terminfo/p/pcix +0 -0
- package/python/share/terminfo/p/pckermit +0 -0
- package/python/share/terminfo/p/pckermit12 +0 -0
- package/python/share/terminfo/p/pckermit120 +0 -0
- package/python/share/terminfo/p/pcmw +0 -0
- package/python/share/terminfo/p/pcplot +0 -0
- package/python/share/terminfo/p/pcvt25 +0 -0
- package/python/share/terminfo/p/pcvt25-color +0 -0
- package/python/share/terminfo/p/pcvt25w +0 -0
- package/python/share/terminfo/p/pcvt28 +0 -0
- package/python/share/terminfo/p/pcvt28w +0 -0
- package/python/share/terminfo/p/pcvt35 +0 -0
- package/python/share/terminfo/p/pcvt35w +0 -0
- package/python/share/terminfo/p/pcvt40 +0 -0
- package/python/share/terminfo/p/pcvt40w +0 -0
- package/python/share/terminfo/p/pcvt43 +0 -0
- package/python/share/terminfo/p/pcvt43w +0 -0
- package/python/share/terminfo/p/pcvt50 +0 -0
- package/python/share/terminfo/p/pcvt50w +0 -0
- package/python/share/terminfo/p/pcvtXX +0 -0
- package/python/share/terminfo/p/pcz19 +0 -0
- package/python/share/terminfo/p/pe1100 +0 -0
- package/python/share/terminfo/p/pe1200 +0 -0
- package/python/share/terminfo/p/pe1251 +0 -0
- package/python/share/terminfo/p/pe550 +0 -0
- package/python/share/terminfo/p/pe6100 +0 -0
- package/python/share/terminfo/p/pe6300 +0 -0
- package/python/share/terminfo/p/pe6312 +0 -0
- package/python/share/terminfo/p/pe7000c +0 -0
- package/python/share/terminfo/p/pe7000m +0 -0
- package/python/share/terminfo/p/pilot +0 -0
- package/python/share/terminfo/p/pmcons +0 -0
- package/python/share/terminfo/p/pmconsole +0 -0
- package/python/share/terminfo/p/printer +0 -0
- package/python/share/terminfo/p/prism12 +0 -0
- package/python/share/terminfo/p/prism12-m +0 -0
- package/python/share/terminfo/p/prism12-m-w +0 -0
- package/python/share/terminfo/p/prism12-w +0 -0
- package/python/share/terminfo/p/prism14 +0 -0
- package/python/share/terminfo/p/prism14-m +0 -0
- package/python/share/terminfo/p/prism14-m-w +0 -0
- package/python/share/terminfo/p/prism14-w +0 -0
- package/python/share/terminfo/p/prism2 +0 -0
- package/python/share/terminfo/p/prism4 +0 -0
- package/python/share/terminfo/p/prism5 +0 -0
- package/python/share/terminfo/p/prism7 +0 -0
- package/python/share/terminfo/p/prism8 +0 -0
- package/python/share/terminfo/p/prism8-w +0 -0
- package/python/share/terminfo/p/prism8gl +0 -0
- package/python/share/terminfo/p/prism9 +0 -0
- package/python/share/terminfo/p/prism9-8 +0 -0
- package/python/share/terminfo/p/prism9-8-w +0 -0
- package/python/share/terminfo/p/prism9-w +0 -0
- package/python/share/terminfo/p/pro350 +0 -0
- package/python/share/terminfo/p/ps300 +0 -0
- package/python/share/terminfo/p/psterm +0 -0
- package/python/share/terminfo/p/psterm-80x24 +0 -0
- package/python/share/terminfo/p/psterm-90x28 +0 -0
- package/python/share/terminfo/p/psterm-96x48 +0 -0
- package/python/share/terminfo/p/psterm-basic +0 -0
- package/python/share/terminfo/p/psterm-fast +0 -0
- package/python/share/terminfo/p/psx_ansi +0 -0
- package/python/share/terminfo/p/pt100 +0 -0
- package/python/share/terminfo/p/pt100w +0 -0
- package/python/share/terminfo/p/pt200 +0 -0
- package/python/share/terminfo/p/pt200w +0 -0
- package/python/share/terminfo/p/pt210 +0 -0
- package/python/share/terminfo/p/pt250 +0 -0
- package/python/share/terminfo/p/pt250w +0 -0
- package/python/share/terminfo/p/pt505 +0 -0
- package/python/share/terminfo/p/pt505-22 +0 -0
- package/python/share/terminfo/p/pt505-24 +0 -0
- package/python/share/terminfo/p/pty +0 -0
- package/python/share/terminfo/p/putty +0 -0
- package/python/share/terminfo/p/putty+cursor +0 -0
- package/python/share/terminfo/p/putty+fnkeys +0 -0
- package/python/share/terminfo/p/putty+fnkeys+esc +0 -0
- package/python/share/terminfo/p/putty+fnkeys+linux +0 -0
- package/python/share/terminfo/p/putty+fnkeys+sco +0 -0
- package/python/share/terminfo/p/putty+fnkeys+vt100 +0 -0
- package/python/share/terminfo/p/putty+fnkeys+vt400 +0 -0
- package/python/share/terminfo/p/putty+fnkeys+xterm +0 -0
- package/python/share/terminfo/p/putty+keypad +0 -0
- package/python/share/terminfo/p/putty+screen +0 -0
- package/python/share/terminfo/p/putty-256color +0 -0
- package/python/share/terminfo/p/putty-m1 +0 -0
- package/python/share/terminfo/p/putty-m1b +0 -0
- package/python/share/terminfo/p/putty-m2 +0 -0
- package/python/share/terminfo/p/putty-noapp +0 -0
- package/python/share/terminfo/p/putty-sco +0 -0
- package/python/share/terminfo/p/putty-screen +0 -0
- package/python/share/terminfo/p/putty-vt100 +0 -0
- package/python/share/terminfo/q/qansi +0 -0
- package/python/share/terminfo/q/qansi-g +0 -0
- package/python/share/terminfo/q/qansi-m +0 -0
- package/python/share/terminfo/q/qansi-t +0 -0
- package/python/share/terminfo/q/qansi-w +0 -0
- package/python/share/terminfo/q/qdcons +0 -0
- package/python/share/terminfo/q/qdss +0 -0
- package/python/share/terminfo/q/qnx +0 -0
- package/python/share/terminfo/q/qnx4 +0 -0
- package/python/share/terminfo/q/qnxm +0 -0
- package/python/share/terminfo/q/qnxt +0 -0
- package/python/share/terminfo/q/qnxt2 +0 -0
- package/python/share/terminfo/q/qnxt4 +0 -0
- package/python/share/terminfo/q/qnxtmono +0 -0
- package/python/share/terminfo/q/qnxw +0 -0
- package/python/share/terminfo/q/qume +0 -0
- package/python/share/terminfo/q/qume5 +0 -0
- package/python/share/terminfo/q/qvt101 +0 -0
- package/python/share/terminfo/q/qvt101+ +0 -0
- package/python/share/terminfo/q/qvt101p +0 -0
- package/python/share/terminfo/q/qvt102 +0 -0
- package/python/share/terminfo/q/qvt103 +0 -0
- package/python/share/terminfo/q/qvt103-w +0 -0
- package/python/share/terminfo/q/qvt108 +0 -0
- package/python/share/terminfo/q/qvt119 +0 -0
- package/python/share/terminfo/q/qvt119+ +0 -0
- package/python/share/terminfo/q/qvt119+-25 +0 -0
- package/python/share/terminfo/q/qvt119+-25-w +0 -0
- package/python/share/terminfo/q/qvt119+-w +0 -0
- package/python/share/terminfo/q/qvt119-25-w +0 -0
- package/python/share/terminfo/q/qvt119-w +0 -0
- package/python/share/terminfo/q/qvt119p +0 -0
- package/python/share/terminfo/q/qvt119p-25 +0 -0
- package/python/share/terminfo/q/qvt119p-25-w +0 -0
- package/python/share/terminfo/q/qvt119p-w +0 -0
- package/python/share/terminfo/q/qvt203 +0 -0
- package/python/share/terminfo/q/qvt203+ +0 -0
- package/python/share/terminfo/q/qvt203-25 +0 -0
- package/python/share/terminfo/q/qvt203-25-w +0 -0
- package/python/share/terminfo/q/qvt203-w +0 -0
- package/python/share/terminfo/q/qvt203-w-am +0 -0
- package/python/share/terminfo/r/rbcomm +0 -0
- package/python/share/terminfo/r/rbcomm-nam +0 -0
- package/python/share/terminfo/r/rbcomm-w +0 -0
- package/python/share/terminfo/r/rca +0 -0
- package/python/share/terminfo/r/rcons +0 -0
- package/python/share/terminfo/r/rcons-color +0 -0
- package/python/share/terminfo/r/rebus3180 +0 -0
- package/python/share/terminfo/r/regent +0 -0
- package/python/share/terminfo/r/regent100 +0 -0
- package/python/share/terminfo/r/regent20 +0 -0
- package/python/share/terminfo/r/regent200 +0 -0
- package/python/share/terminfo/r/regent25 +0 -0
- package/python/share/terminfo/r/regent40 +0 -0
- package/python/share/terminfo/r/regent40+ +0 -0
- package/python/share/terminfo/r/regent60 +0 -0
- package/python/share/terminfo/r/report+da2 +0 -0
- package/python/share/terminfo/r/report+version +0 -0
- package/python/share/terminfo/r/rio +0 -0
- package/python/share/terminfo/r/rio-direct +0 -0
- package/python/share/terminfo/r/rt6221 +0 -0
- package/python/share/terminfo/r/rt6221-w +0 -0
- package/python/share/terminfo/r/rtpc +0 -0
- package/python/share/terminfo/r/rxvt +0 -0
- package/python/share/terminfo/r/rxvt+pcfkeys +0 -0
- package/python/share/terminfo/r/rxvt-16color +0 -0
- package/python/share/terminfo/r/rxvt-256color +0 -0
- package/python/share/terminfo/r/rxvt-88color +0 -0
- package/python/share/terminfo/r/rxvt-basic +0 -0
- package/python/share/terminfo/r/rxvt-color +0 -0
- package/python/share/terminfo/r/rxvt-cygwin +0 -0
- package/python/share/terminfo/r/rxvt-cygwin-native +0 -0
- package/python/share/terminfo/r/rxvt-xpm +0 -0
- package/python/share/terminfo/s/s4 +0 -0
- package/python/share/terminfo/s/sb1 +0 -0
- package/python/share/terminfo/s/sb2 +0 -0
- package/python/share/terminfo/s/sb3 +0 -0
- package/python/share/terminfo/s/sbi +0 -0
- package/python/share/terminfo/s/sbobcat +0 -0
- package/python/share/terminfo/s/sc410 +0 -0
- package/python/share/terminfo/s/sc415 +0 -0
- package/python/share/terminfo/s/scanset +0 -0
- package/python/share/terminfo/s/scoansi +0 -0
- package/python/share/terminfo/s/scoansi-new +0 -0
- package/python/share/terminfo/s/scoansi-old +0 -0
- package/python/share/terminfo/s/screen +0 -0
- package/python/share/terminfo/s/screen+fkeys +0 -0
- package/python/share/terminfo/s/screen+italics +0 -0
- package/python/share/terminfo/s/screen-16color +0 -0
- package/python/share/terminfo/s/screen-16color-bce +0 -0
- package/python/share/terminfo/s/screen-16color-bce-s +0 -0
- package/python/share/terminfo/s/screen-16color-s +0 -0
- package/python/share/terminfo/s/screen-256color +0 -0
- package/python/share/terminfo/s/screen-256color-bce +0 -0
- package/python/share/terminfo/s/screen-256color-bce-s +0 -0
- package/python/share/terminfo/s/screen-256color-s +0 -0
- package/python/share/terminfo/s/screen-base +0 -0
- package/python/share/terminfo/s/screen-bce +0 -0
- package/python/share/terminfo/s/screen-bce.Eterm +0 -0
- package/python/share/terminfo/s/screen-bce.gnome +0 -0
- package/python/share/terminfo/s/screen-bce.konsole +0 -0
- package/python/share/terminfo/s/screen-bce.linux +0 -0
- package/python/share/terminfo/s/screen-bce.mrxvt +0 -0
- package/python/share/terminfo/s/screen-bce.rxvt +0 -0
- package/python/share/terminfo/s/screen-bce.xterm-new +0 -0
- package/python/share/terminfo/s/screen-s +0 -0
- package/python/share/terminfo/s/screen-w +0 -0
- package/python/share/terminfo/s/screen.Eterm +0 -0
- package/python/share/terminfo/s/screen.gnome +0 -0
- package/python/share/terminfo/s/screen.konsole +0 -0
- package/python/share/terminfo/s/screen.konsole-256color +0 -0
- package/python/share/terminfo/s/screen.linux +0 -0
- package/python/share/terminfo/s/screen.linux-m1 +0 -0
- package/python/share/terminfo/s/screen.linux-m1b +0 -0
- package/python/share/terminfo/s/screen.linux-m2 +0 -0
- package/python/share/terminfo/s/screen.linux-s +0 -0
- package/python/share/terminfo/s/screen.minitel1 +0 -0
- package/python/share/terminfo/s/screen.minitel1-nb +0 -0
- package/python/share/terminfo/s/screen.minitel12-80 +0 -0
- package/python/share/terminfo/s/screen.minitel1b +0 -0
- package/python/share/terminfo/s/screen.minitel1b-80 +0 -0
- package/python/share/terminfo/s/screen.minitel1b-nb +0 -0
- package/python/share/terminfo/s/screen.minitel2-80 +0 -0
- package/python/share/terminfo/s/screen.mlterm +0 -0
- package/python/share/terminfo/s/screen.mlterm-256color +0 -0
- package/python/share/terminfo/s/screen.mrxvt +0 -0
- package/python/share/terminfo/s/screen.putty +0 -0
- package/python/share/terminfo/s/screen.putty-256color +0 -0
- package/python/share/terminfo/s/screen.putty-m1 +0 -0
- package/python/share/terminfo/s/screen.putty-m1b +0 -0
- package/python/share/terminfo/s/screen.putty-m2 +0 -0
- package/python/share/terminfo/s/screen.rxvt +0 -0
- package/python/share/terminfo/s/screen.teraterm +0 -0
- package/python/share/terminfo/s/screen.vte +0 -0
- package/python/share/terminfo/s/screen.vte-256color +0 -0
- package/python/share/terminfo/s/screen.xterm-256color +0 -0
- package/python/share/terminfo/s/screen.xterm-new +0 -0
- package/python/share/terminfo/s/screen.xterm-r6 +0 -0
- package/python/share/terminfo/s/screen.xterm-xfree86 +0 -0
- package/python/share/terminfo/s/screen2 +0 -0
- package/python/share/terminfo/s/screen3 +0 -0
- package/python/share/terminfo/s/screen4 +0 -0
- package/python/share/terminfo/s/screen5 +0 -0
- package/python/share/terminfo/s/screwpoint +0 -0
- package/python/share/terminfo/s/scrhp +0 -0
- package/python/share/terminfo/s/scrt +0 -0
- package/python/share/terminfo/s/securecrt +0 -0
- package/python/share/terminfo/s/sibo +0 -0
- package/python/share/terminfo/s/simpleterm +0 -0
- package/python/share/terminfo/s/simterm +0 -0
- package/python/share/terminfo/s/soroc +0 -0
- package/python/share/terminfo/s/soroc120 +0 -0
- package/python/share/terminfo/s/soroc140 +0 -0
- package/python/share/terminfo/s/spinwriter +0 -0
- package/python/share/terminfo/s/st +0 -0
- package/python/share/terminfo/s/st-0.6 +0 -0
- package/python/share/terminfo/s/st-0.7 +0 -0
- package/python/share/terminfo/s/st-0.8 +0 -0
- package/python/share/terminfo/s/st-16color +0 -0
- package/python/share/terminfo/s/st-256color +0 -0
- package/python/share/terminfo/s/st-direct +0 -0
- package/python/share/terminfo/s/st52 +0 -0
- package/python/share/terminfo/s/st52-color +0 -0
- package/python/share/terminfo/s/st52-m +0 -0
- package/python/share/terminfo/s/st52-old +0 -0
- package/python/share/terminfo/s/stterm +0 -0
- package/python/share/terminfo/s/stterm-16color +0 -0
- package/python/share/terminfo/s/stterm-256color +0 -0
- package/python/share/terminfo/s/stv52 +0 -0
- package/python/share/terminfo/s/stv52pc +0 -0
- package/python/share/terminfo/s/sun +0 -0
- package/python/share/terminfo/s/sun+sl +0 -0
- package/python/share/terminfo/s/sun-1 +0 -0
- package/python/share/terminfo/s/sun-12 +0 -0
- package/python/share/terminfo/s/sun-17 +0 -0
- package/python/share/terminfo/s/sun-24 +0 -0
- package/python/share/terminfo/s/sun-34 +0 -0
- package/python/share/terminfo/s/sun-48 +0 -0
- package/python/share/terminfo/s/sun-c +0 -0
- package/python/share/terminfo/s/sun-cgsix +0 -0
- package/python/share/terminfo/s/sun-cmd +0 -0
- package/python/share/terminfo/s/sun-color +0 -0
- package/python/share/terminfo/s/sun-e +0 -0
- package/python/share/terminfo/s/sun-e-s +0 -0
- package/python/share/terminfo/s/sun-il +0 -0
- package/python/share/terminfo/s/sun-nic +0 -0
- package/python/share/terminfo/s/sun-s +0 -0
- package/python/share/terminfo/s/sun-s-e +0 -0
- package/python/share/terminfo/s/sun-ss5 +0 -0
- package/python/share/terminfo/s/sun-type4 +0 -0
- package/python/share/terminfo/s/sun1 +0 -0
- package/python/share/terminfo/s/sun2 +0 -0
- package/python/share/terminfo/s/sune +0 -0
- package/python/share/terminfo/s/superbee +0 -0
- package/python/share/terminfo/s/superbee-xsb +0 -0
- package/python/share/terminfo/s/superbeeic +0 -0
- package/python/share/terminfo/s/superbrain +0 -0
- package/python/share/terminfo/s/sv80 +0 -0
- package/python/share/terminfo/s/swtp +0 -0
- package/python/share/terminfo/s/synertek +0 -0
- package/python/share/terminfo/s/synertek380 +0 -0
- package/python/share/terminfo/s/system1 +0 -0
- package/python/share/terminfo/t/t10 +0 -0
- package/python/share/terminfo/t/t1061 +0 -0
- package/python/share/terminfo/t/t1061f +0 -0
- package/python/share/terminfo/t/t16 +0 -0
- package/python/share/terminfo/t/t3700 +0 -0
- package/python/share/terminfo/t/t3800 +0 -0
- package/python/share/terminfo/t/t653x +0 -0
- package/python/share/terminfo/t/tab +0 -0
- package/python/share/terminfo/t/tab132 +0 -0
- package/python/share/terminfo/t/tab132-15 +0 -0
- package/python/share/terminfo/t/tab132-rv +0 -0
- package/python/share/terminfo/t/tab132-w +0 -0
- package/python/share/terminfo/t/tab132-w-rv +0 -0
- package/python/share/terminfo/t/tandem6510 +0 -0
- package/python/share/terminfo/t/tandem653 +0 -0
- package/python/share/terminfo/t/tek +0 -0
- package/python/share/terminfo/t/tek4012 +0 -0
- package/python/share/terminfo/t/tek4013 +0 -0
- package/python/share/terminfo/t/tek4014 +0 -0
- package/python/share/terminfo/t/tek4014-sm +0 -0
- package/python/share/terminfo/t/tek4015 +0 -0
- package/python/share/terminfo/t/tek4015-sm +0 -0
- package/python/share/terminfo/t/tek4023 +0 -0
- package/python/share/terminfo/t/tek4024 +0 -0
- package/python/share/terminfo/t/tek4025 +0 -0
- package/python/share/terminfo/t/tek4025-17 +0 -0
- package/python/share/terminfo/t/tek4025-17-ws +0 -0
- package/python/share/terminfo/t/tek4025-cr +0 -0
- package/python/share/terminfo/t/tek4025-ex +0 -0
- package/python/share/terminfo/t/tek4025a +0 -0
- package/python/share/terminfo/t/tek4025ex +0 -0
- package/python/share/terminfo/t/tek4027 +0 -0
- package/python/share/terminfo/t/tek4027-ex +0 -0
- package/python/share/terminfo/t/tek4105 +0 -0
- package/python/share/terminfo/t/tek4105-30 +0 -0
- package/python/share/terminfo/t/tek4105a +0 -0
- package/python/share/terminfo/t/tek4106brl +0 -0
- package/python/share/terminfo/t/tek4107 +0 -0
- package/python/share/terminfo/t/tek4107brl +0 -0
- package/python/share/terminfo/t/tek4109 +0 -0
- package/python/share/terminfo/t/tek4109brl +0 -0
- package/python/share/terminfo/t/tek4112 +0 -0
- package/python/share/terminfo/t/tek4112-5 +0 -0
- package/python/share/terminfo/t/tek4112-nd +0 -0
- package/python/share/terminfo/t/tek4113 +0 -0
- package/python/share/terminfo/t/tek4113-34 +0 -0
- package/python/share/terminfo/t/tek4113-nd +0 -0
- package/python/share/terminfo/t/tek4114 +0 -0
- package/python/share/terminfo/t/tek4115 +0 -0
- package/python/share/terminfo/t/tek4125 +0 -0
- package/python/share/terminfo/t/tek4205 +0 -0
- package/python/share/terminfo/t/tek4207 +0 -0
- package/python/share/terminfo/t/tek4207-s +0 -0
- package/python/share/terminfo/t/tek4404 +0 -0
- package/python/share/terminfo/t/teken +0 -0
- package/python/share/terminfo/t/teken-16color +0 -0
- package/python/share/terminfo/t/teken-2018 +0 -0
- package/python/share/terminfo/t/teken-2022 +0 -0
- package/python/share/terminfo/t/teken-sc +0 -0
- package/python/share/terminfo/t/teken-sc+fkeys +0 -0
- package/python/share/terminfo/t/teken-vt +0 -0
- package/python/share/terminfo/t/teken-vt+fkeys +0 -0
- package/python/share/terminfo/t/teleray +0 -0
- package/python/share/terminfo/t/teletec +0 -0
- package/python/share/terminfo/t/teraterm +0 -0
- package/python/share/terminfo/t/teraterm-256color +0 -0
- package/python/share/terminfo/t/teraterm2.3 +0 -0
- package/python/share/terminfo/t/teraterm4.59 +0 -0
- package/python/share/terminfo/t/teraterm4.97 +0 -0
- package/python/share/terminfo/t/terminator +0 -0
- package/python/share/terminfo/t/terminet +0 -0
- package/python/share/terminfo/t/terminet1200 +0 -0
- package/python/share/terminfo/t/terminet300 +0 -0
- package/python/share/terminfo/t/terminology +0 -0
- package/python/share/terminfo/t/terminology-0.6.1 +0 -0
- package/python/share/terminfo/t/terminology-1.0.0 +0 -0
- package/python/share/terminfo/t/terminology-1.8.1 +0 -0
- package/python/share/terminfo/t/termite +0 -0
- package/python/share/terminfo/t/tgtelnet +0 -0
- package/python/share/terminfo/t/ti700 +0 -0
- package/python/share/terminfo/t/ti703 +0 -0
- package/python/share/terminfo/t/ti703-w +0 -0
- package/python/share/terminfo/t/ti707 +0 -0
- package/python/share/terminfo/t/ti707-w +0 -0
- package/python/share/terminfo/t/ti733 +0 -0
- package/python/share/terminfo/t/ti735 +0 -0
- package/python/share/terminfo/t/ti745 +0 -0
- package/python/share/terminfo/t/ti800 +0 -0
- package/python/share/terminfo/t/ti916 +0 -0
- package/python/share/terminfo/t/ti916-132 +0 -0
- package/python/share/terminfo/t/ti916-220-7 +0 -0
- package/python/share/terminfo/t/ti916-220-8 +0 -0
- package/python/share/terminfo/t/ti916-8 +0 -0
- package/python/share/terminfo/t/ti916-8-132 +0 -0
- package/python/share/terminfo/t/ti924 +0 -0
- package/python/share/terminfo/t/ti924-8 +0 -0
- package/python/share/terminfo/t/ti924-8w +0 -0
- package/python/share/terminfo/t/ti924w +0 -0
- package/python/share/terminfo/t/ti926 +0 -0
- package/python/share/terminfo/t/ti926-8 +0 -0
- package/python/share/terminfo/t/ti928 +0 -0
- package/python/share/terminfo/t/ti928-8 +0 -0
- package/python/share/terminfo/t/ti931 +0 -0
- package/python/share/terminfo/t/ti_ansi +0 -0
- package/python/share/terminfo/t/tkterm +0 -0
- package/python/share/terminfo/t/tmux +0 -0
- package/python/share/terminfo/t/tmux-256color +0 -0
- package/python/share/terminfo/t/tmux-direct +0 -0
- package/python/share/terminfo/t/tn1200 +0 -0
- package/python/share/terminfo/t/tn300 +0 -0
- package/python/share/terminfo/t/trs16 +0 -0
- package/python/share/terminfo/t/trs2 +0 -0
- package/python/share/terminfo/t/trs80II +0 -0
- package/python/share/terminfo/t/trsII +0 -0
- package/python/share/terminfo/t/ts-1 +0 -0
- package/python/share/terminfo/t/ts-1p +0 -0
- package/python/share/terminfo/t/ts1 +0 -0
- package/python/share/terminfo/t/ts100 +0 -0
- package/python/share/terminfo/t/ts100-ctxt +0 -0
- package/python/share/terminfo/t/ts100-sp +0 -0
- package/python/share/terminfo/t/ts1p +0 -0
- package/python/share/terminfo/t/tt +0 -0
- package/python/share/terminfo/t/tt52 +0 -0
- package/python/share/terminfo/t/tty33 +0 -0
- package/python/share/terminfo/t/tty35 +0 -0
- package/python/share/terminfo/t/tty37 +0 -0
- package/python/share/terminfo/t/tty40 +0 -0
- package/python/share/terminfo/t/tty43 +0 -0
- package/python/share/terminfo/t/tty4420 +0 -0
- package/python/share/terminfo/t/tty4424 +0 -0
- package/python/share/terminfo/t/tty4424-1 +0 -0
- package/python/share/terminfo/t/tty4424m +0 -0
- package/python/share/terminfo/t/tty4426 +0 -0
- package/python/share/terminfo/t/tty5410 +0 -0
- package/python/share/terminfo/t/tty5410-w +0 -0
- package/python/share/terminfo/t/tty5410v1 +0 -0
- package/python/share/terminfo/t/tty5410v1-w +0 -0
- package/python/share/terminfo/t/tty5420 +0 -0
- package/python/share/terminfo/t/tty5420+nl +0 -0
- package/python/share/terminfo/t/tty5420-nl +0 -0
- package/python/share/terminfo/t/tty5420-rv +0 -0
- package/python/share/terminfo/t/tty5420-rv-nl +0 -0
- package/python/share/terminfo/t/tty5420-w +0 -0
- package/python/share/terminfo/t/tty5420-w-nl +0 -0
- package/python/share/terminfo/t/tty5420-w-rv +0 -0
- package/python/share/terminfo/t/tty5420-w-rv-n +0 -0
- package/python/share/terminfo/t/tty5425 +0 -0
- package/python/share/terminfo/t/tty5425-nl +0 -0
- package/python/share/terminfo/t/tty5425-w +0 -0
- package/python/share/terminfo/t/tty5620 +0 -0
- package/python/share/terminfo/t/tty5620-1 +0 -0
- package/python/share/terminfo/t/tty5620-24 +0 -0
- package/python/share/terminfo/t/tty5620-34 +0 -0
- package/python/share/terminfo/t/tty5620-s +0 -0
- package/python/share/terminfo/t/ttydmd +0 -0
- package/python/share/terminfo/t/tvi803 +0 -0
- package/python/share/terminfo/t/tvi9065 +0 -0
- package/python/share/terminfo/t/tvi910 +0 -0
- package/python/share/terminfo/t/tvi910+ +0 -0
- package/python/share/terminfo/t/tvi912 +0 -0
- package/python/share/terminfo/t/tvi912b +0 -0
- package/python/share/terminfo/t/tvi912b+2p +0 -0
- package/python/share/terminfo/t/tvi912b+dim +0 -0
- package/python/share/terminfo/t/tvi912b+mc +0 -0
- package/python/share/terminfo/t/tvi912b+printer +0 -0
- package/python/share/terminfo/t/tvi912b+vb +0 -0
- package/python/share/terminfo/t/tvi912b-2p +0 -0
- package/python/share/terminfo/t/tvi912b-2p-mc +0 -0
- package/python/share/terminfo/t/tvi912b-2p-p +0 -0
- package/python/share/terminfo/t/tvi912b-2p-unk +0 -0
- package/python/share/terminfo/t/tvi912b-mc +0 -0
- package/python/share/terminfo/t/tvi912b-mc-2p +0 -0
- package/python/share/terminfo/t/tvi912b-mc-vb +0 -0
- package/python/share/terminfo/t/tvi912b-p +0 -0
- package/python/share/terminfo/t/tvi912b-p-2p +0 -0
- package/python/share/terminfo/t/tvi912b-p-vb +0 -0
- package/python/share/terminfo/t/tvi912b-unk +0 -0
- package/python/share/terminfo/t/tvi912b-unk-2p +0 -0
- package/python/share/terminfo/t/tvi912b-unk-vb +0 -0
- package/python/share/terminfo/t/tvi912b-vb +0 -0
- package/python/share/terminfo/t/tvi912b-vb-mc +0 -0
- package/python/share/terminfo/t/tvi912b-vb-p +0 -0
- package/python/share/terminfo/t/tvi912b-vb-unk +0 -0
- package/python/share/terminfo/t/tvi912c +0 -0
- package/python/share/terminfo/t/tvi912c-2p +0 -0
- package/python/share/terminfo/t/tvi912c-2p-mc +0 -0
- package/python/share/terminfo/t/tvi912c-2p-p +0 -0
- package/python/share/terminfo/t/tvi912c-2p-unk +0 -0
- package/python/share/terminfo/t/tvi912c-mc +0 -0
- package/python/share/terminfo/t/tvi912c-mc-2p +0 -0
- package/python/share/terminfo/t/tvi912c-mc-vb +0 -0
- package/python/share/terminfo/t/tvi912c-p +0 -0
- package/python/share/terminfo/t/tvi912c-p-2p +0 -0
- package/python/share/terminfo/t/tvi912c-p-vb +0 -0
- package/python/share/terminfo/t/tvi912c-unk +0 -0
- package/python/share/terminfo/t/tvi912c-unk-2p +0 -0
- package/python/share/terminfo/t/tvi912c-unk-vb +0 -0
- package/python/share/terminfo/t/tvi912c-vb +0 -0
- package/python/share/terminfo/t/tvi912c-vb-mc +0 -0
- package/python/share/terminfo/t/tvi912c-vb-p +0 -0
- package/python/share/terminfo/t/tvi912c-vb-unk +0 -0
- package/python/share/terminfo/t/tvi912cc +0 -0
- package/python/share/terminfo/t/tvi914 +0 -0
- package/python/share/terminfo/t/tvi920 +0 -0
- package/python/share/terminfo/t/tvi920b +0 -0
- package/python/share/terminfo/t/tvi920b+fn +0 -0
- package/python/share/terminfo/t/tvi920b-2p +0 -0
- package/python/share/terminfo/t/tvi920b-2p-mc +0 -0
- package/python/share/terminfo/t/tvi920b-2p-p +0 -0
- package/python/share/terminfo/t/tvi920b-2p-unk +0 -0
- package/python/share/terminfo/t/tvi920b-mc +0 -0
- package/python/share/terminfo/t/tvi920b-mc-2p +0 -0
- package/python/share/terminfo/t/tvi920b-mc-vb +0 -0
- package/python/share/terminfo/t/tvi920b-p +0 -0
- package/python/share/terminfo/t/tvi920b-p-2p +0 -0
- package/python/share/terminfo/t/tvi920b-p-vb +0 -0
- package/python/share/terminfo/t/tvi920b-unk +0 -0
- package/python/share/terminfo/t/tvi920b-unk-2p +0 -0
- package/python/share/terminfo/t/tvi920b-unk-vb +0 -0
- package/python/share/terminfo/t/tvi920b-vb +0 -0
- package/python/share/terminfo/t/tvi920b-vb-mc +0 -0
- package/python/share/terminfo/t/tvi920b-vb-p +0 -0
- package/python/share/terminfo/t/tvi920b-vb-unk +0 -0
- package/python/share/terminfo/t/tvi920c +0 -0
- package/python/share/terminfo/t/tvi920c-2p +0 -0
- package/python/share/terminfo/t/tvi920c-2p-mc +0 -0
- package/python/share/terminfo/t/tvi920c-2p-p +0 -0
- package/python/share/terminfo/t/tvi920c-2p-unk +0 -0
- package/python/share/terminfo/t/tvi920c-mc +0 -0
- package/python/share/terminfo/t/tvi920c-mc-2p +0 -0
- package/python/share/terminfo/t/tvi920c-mc-vb +0 -0
- package/python/share/terminfo/t/tvi920c-p +0 -0
- package/python/share/terminfo/t/tvi920c-p-2p +0 -0
- package/python/share/terminfo/t/tvi920c-p-vb +0 -0
- package/python/share/terminfo/t/tvi920c-unk +0 -0
- package/python/share/terminfo/t/tvi920c-unk-2p +0 -0
- package/python/share/terminfo/t/tvi920c-unk-vb +0 -0
- package/python/share/terminfo/t/tvi920c-vb +0 -0
- package/python/share/terminfo/t/tvi920c-vb-mc +0 -0
- package/python/share/terminfo/t/tvi920c-vb-p +0 -0
- package/python/share/terminfo/t/tvi920c-vb-unk +0 -0
- package/python/share/terminfo/t/tvi921 +0 -0
- package/python/share/terminfo/t/tvi924 +0 -0
- package/python/share/terminfo/t/tvi925 +0 -0
- package/python/share/terminfo/t/tvi925-hi +0 -0
- package/python/share/terminfo/t/tvi92B +0 -0
- package/python/share/terminfo/t/tvi92D +0 -0
- package/python/share/terminfo/t/tvi950 +0 -0
- package/python/share/terminfo/t/tvi950-2p +0 -0
- package/python/share/terminfo/t/tvi950-4p +0 -0
- package/python/share/terminfo/t/tvi950-rv +0 -0
- package/python/share/terminfo/t/tvi950-rv-2p +0 -0
- package/python/share/terminfo/t/tvi950-rv-4p +0 -0
- package/python/share/terminfo/t/tvi955 +0 -0
- package/python/share/terminfo/t/tvi955-hb +0 -0
- package/python/share/terminfo/t/tvi955-w +0 -0
- package/python/share/terminfo/t/tvi970 +0 -0
- package/python/share/terminfo/t/tvi970-2p +0 -0
- package/python/share/terminfo/t/tvi970-vb +0 -0
- package/python/share/terminfo/t/tvipt +0 -0
- package/python/share/terminfo/t/tw100 +0 -0
- package/python/share/terminfo/t/tw52 +0 -0
- package/python/share/terminfo/t/tw52-color +0 -0
- package/python/share/terminfo/t/tw52-m +0 -0
- package/python/share/terminfo/t/tws-generic +0 -0
- package/python/share/terminfo/t/tws2102-sna +0 -0
- package/python/share/terminfo/t/tws2103 +0 -0
- package/python/share/terminfo/t/tws2103-sna +0 -0
- package/python/share/terminfo/u/ultima2 +0 -0
- package/python/share/terminfo/u/ultimaII +0 -0
- package/python/share/terminfo/u/uniterm +0 -0
- package/python/share/terminfo/u/uniterm49 +0 -0
- package/python/share/terminfo/u/unixpc +0 -0
- package/python/share/terminfo/u/unknown +0 -0
- package/python/share/terminfo/u/uts30 +0 -0
- package/python/share/terminfo/u/uwin +0 -0
- package/python/share/terminfo/v/v200-nam +0 -0
- package/python/share/terminfo/v/v320n +0 -0
- package/python/share/terminfo/v/v3220 +0 -0
- package/python/share/terminfo/v/v5410 +0 -0
- package/python/share/terminfo/v/vanilla +0 -0
- package/python/share/terminfo/v/vapple +0 -0
- package/python/share/terminfo/v/vc103 +0 -0
- package/python/share/terminfo/v/vc203 +0 -0
- package/python/share/terminfo/v/vc303 +0 -0
- package/python/share/terminfo/v/vc303a +0 -0
- package/python/share/terminfo/v/vc403a +0 -0
- package/python/share/terminfo/v/vc404 +0 -0
- package/python/share/terminfo/v/vc404-s +0 -0
- package/python/share/terminfo/v/vc414 +0 -0
- package/python/share/terminfo/v/vc414h +0 -0
- package/python/share/terminfo/v/vc415 +0 -0
- package/python/share/terminfo/v/venix +0 -0
- package/python/share/terminfo/v/versaterm +0 -0
- package/python/share/terminfo/v/vi200 +0 -0
- package/python/share/terminfo/v/vi200-f +0 -0
- package/python/share/terminfo/v/vi200-rv +0 -0
- package/python/share/terminfo/v/vi300 +0 -0
- package/python/share/terminfo/v/vi300-old +0 -0
- package/python/share/terminfo/v/vi50 +0 -0
- package/python/share/terminfo/v/vi500 +0 -0
- package/python/share/terminfo/v/vi50adm +0 -0
- package/python/share/terminfo/v/vi55 +0 -0
- package/python/share/terminfo/v/vi550 +0 -0
- package/python/share/terminfo/v/vi603 +0 -0
- package/python/share/terminfo/v/viewdata +0 -0
- package/python/share/terminfo/v/viewdata-o +0 -0
- package/python/share/terminfo/v/viewdata-rv +0 -0
- package/python/share/terminfo/v/viewpoint +0 -0
- package/python/share/terminfo/v/viewpoint3a+ +0 -0
- package/python/share/terminfo/v/viewpoint60 +0 -0
- package/python/share/terminfo/v/viewpoint90 +0 -0
- package/python/share/terminfo/v/vip +0 -0
- package/python/share/terminfo/v/vip-H +0 -0
- package/python/share/terminfo/v/vip-Hw +0 -0
- package/python/share/terminfo/v/vip-w +0 -0
- package/python/share/terminfo/v/vip7800-H +0 -0
- package/python/share/terminfo/v/vip7800-Hw +0 -0
- package/python/share/terminfo/v/vip7800-w +0 -0
- package/python/share/terminfo/v/visa50 +0 -0
- package/python/share/terminfo/v/visual603 +0 -0
- package/python/share/terminfo/v/vitty +0 -0
- package/python/share/terminfo/v/vk100 +0 -0
- package/python/share/terminfo/v/vp3a+ +0 -0
- package/python/share/terminfo/v/vp60 +0 -0
- package/python/share/terminfo/v/vp90 +0 -0
- package/python/share/terminfo/v/vremote +0 -0
- package/python/share/terminfo/v/vs100 +0 -0
- package/python/share/terminfo/v/vs100-x10 +0 -0
- package/python/share/terminfo/v/vsc +0 -0
- package/python/share/terminfo/v/vscode +0 -0
- package/python/share/terminfo/v/vscode-direct +0 -0
- package/python/share/terminfo/v/vt-61 +0 -0
- package/python/share/terminfo/v/vt-utf8 +0 -0
- package/python/share/terminfo/v/vt100 +0 -0
- package/python/share/terminfo/v/vt100+ +0 -0
- package/python/share/terminfo/v/vt100+4bsd +0 -0
- package/python/share/terminfo/v/vt100+enq +0 -0
- package/python/share/terminfo/v/vt100+fnkeys +0 -0
- package/python/share/terminfo/v/vt100+keypad +0 -0
- package/python/share/terminfo/v/vt100+noapp +0 -0
- package/python/share/terminfo/v/vt100+noapp+pc +0 -0
- package/python/share/terminfo/v/vt100+pfkeys +0 -0
- package/python/share/terminfo/v/vt100-am +0 -0
- package/python/share/terminfo/v/vt100-bm +0 -0
- package/python/share/terminfo/v/vt100-bm-o +0 -0
- package/python/share/terminfo/v/vt100-bot-s +0 -0
- package/python/share/terminfo/v/vt100-nam +0 -0
- package/python/share/terminfo/v/vt100-nam-w +0 -0
- package/python/share/terminfo/v/vt100-nav +0 -0
- package/python/share/terminfo/v/vt100-nav-w +0 -0
- package/python/share/terminfo/v/vt100-putty +0 -0
- package/python/share/terminfo/v/vt100-s +0 -0
- package/python/share/terminfo/v/vt100-s-bot +0 -0
- package/python/share/terminfo/v/vt100-s-top +0 -0
- package/python/share/terminfo/v/vt100-top-s +0 -0
- package/python/share/terminfo/v/vt100-vb +0 -0
- package/python/share/terminfo/v/vt100-w +0 -0
- package/python/share/terminfo/v/vt100-w-am +0 -0
- package/python/share/terminfo/v/vt100-w-nam +0 -0
- package/python/share/terminfo/v/vt100-w-nav +0 -0
- package/python/share/terminfo/v/vt100nam +0 -0
- package/python/share/terminfo/v/vt102 +0 -0
- package/python/share/terminfo/v/vt102+enq +0 -0
- package/python/share/terminfo/v/vt102-nsgr +0 -0
- package/python/share/terminfo/v/vt102-w +0 -0
- package/python/share/terminfo/v/vt125 +0 -0
- package/python/share/terminfo/v/vt131 +0 -0
- package/python/share/terminfo/v/vt132 +0 -0
- package/python/share/terminfo/v/vt200 +0 -0
- package/python/share/terminfo/v/vt200-8 +0 -0
- package/python/share/terminfo/v/vt200-8bit +0 -0
- package/python/share/terminfo/v/vt200-js +0 -0
- package/python/share/terminfo/v/vt200-old +0 -0
- package/python/share/terminfo/v/vt200-w +0 -0
- package/python/share/terminfo/v/vt220 +0 -0
- package/python/share/terminfo/v/vt220+cvis +0 -0
- package/python/share/terminfo/v/vt220+cvis8 +0 -0
- package/python/share/terminfo/v/vt220+keypad +0 -0
- package/python/share/terminfo/v/vt220+pcedit +0 -0
- package/python/share/terminfo/v/vt220+vtedit +0 -0
- package/python/share/terminfo/v/vt220-8 +0 -0
- package/python/share/terminfo/v/vt220-8bit +0 -0
- package/python/share/terminfo/v/vt220-base +0 -0
- package/python/share/terminfo/v/vt220-js +0 -0
- package/python/share/terminfo/v/vt220-nam +0 -0
- package/python/share/terminfo/v/vt220-old +0 -0
- package/python/share/terminfo/v/vt220-w +0 -0
- package/python/share/terminfo/v/vt220d +0 -0
- package/python/share/terminfo/v/vt300 +0 -0
- package/python/share/terminfo/v/vt300-nam +0 -0
- package/python/share/terminfo/v/vt300-w +0 -0
- package/python/share/terminfo/v/vt300-w-nam +0 -0
- package/python/share/terminfo/v/vt320 +0 -0
- package/python/share/terminfo/v/vt320-k3 +0 -0
- package/python/share/terminfo/v/vt320-k311 +0 -0
- package/python/share/terminfo/v/vt320-nam +0 -0
- package/python/share/terminfo/v/vt320-w +0 -0
- package/python/share/terminfo/v/vt320-w-nam +0 -0
- package/python/share/terminfo/v/vt320nam +0 -0
- package/python/share/terminfo/v/vt330 +0 -0
- package/python/share/terminfo/v/vt340 +0 -0
- package/python/share/terminfo/v/vt400 +0 -0
- package/python/share/terminfo/v/vt400-24 +0 -0
- package/python/share/terminfo/v/vt420 +0 -0
- package/python/share/terminfo/v/vt420+lrmm +0 -0
- package/python/share/terminfo/v/vt420f +0 -0
- package/python/share/terminfo/v/vt420pc +0 -0
- package/python/share/terminfo/v/vt420pcdos +0 -0
- package/python/share/terminfo/v/vt50 +0 -0
- package/python/share/terminfo/v/vt50h +0 -0
- package/python/share/terminfo/v/vt510 +0 -0
- package/python/share/terminfo/v/vt510pc +0 -0
- package/python/share/terminfo/v/vt510pcdos +0 -0
- package/python/share/terminfo/v/vt52 +0 -0
- package/python/share/terminfo/v/vt52+arrows +0 -0
- package/python/share/terminfo/v/vt52+keypad +0 -0
- package/python/share/terminfo/v/vt52-basic +0 -0
- package/python/share/terminfo/v/vt520 +0 -0
- package/python/share/terminfo/v/vt520ansi +0 -0
- package/python/share/terminfo/v/vt525 +0 -0
- package/python/share/terminfo/v/vt61 +0 -0
- package/python/share/terminfo/v/vt61.5 +0 -0
- package/python/share/terminfo/v/vte +0 -0
- package/python/share/terminfo/v/vte+pcfkeys +0 -0
- package/python/share/terminfo/v/vte-2007 +0 -0
- package/python/share/terminfo/v/vte-2008 +0 -0
- package/python/share/terminfo/v/vte-2012 +0 -0
- package/python/share/terminfo/v/vte-2014 +0 -0
- package/python/share/terminfo/v/vte-2017 +0 -0
- package/python/share/terminfo/v/vte-2018 +0 -0
- package/python/share/terminfo/v/vte-256color +0 -0
- package/python/share/terminfo/v/vte-direct +0 -0
- package/python/share/terminfo/v/vtnt +0 -0
- package/python/share/terminfo/v/vv100 +0 -0
- package/python/share/terminfo/v/vwmterm +0 -0
- package/python/share/terminfo/w/wezterm +0 -0
- package/python/share/terminfo/w/winconsole +0 -0
- package/python/share/terminfo/w/wren +0 -0
- package/python/share/terminfo/w/wrenw +0 -0
- package/python/share/terminfo/w/wsiris +0 -0
- package/python/share/terminfo/w/wsvt25 +0 -0
- package/python/share/terminfo/w/wsvt25m +0 -0
- package/python/share/terminfo/w/wy-75ap +0 -0
- package/python/share/terminfo/w/wy-99fgt +0 -0
- package/python/share/terminfo/w/wy-99fgta +0 -0
- package/python/share/terminfo/w/wy100 +0 -0
- package/python/share/terminfo/w/wy100q +0 -0
- package/python/share/terminfo/w/wy120 +0 -0
- package/python/share/terminfo/w/wy120-25 +0 -0
- package/python/share/terminfo/w/wy120-25-w +0 -0
- package/python/share/terminfo/w/wy120-vb +0 -0
- package/python/share/terminfo/w/wy120-w +0 -0
- package/python/share/terminfo/w/wy120-w-vb +0 -0
- package/python/share/terminfo/w/wy120-wvb +0 -0
- package/python/share/terminfo/w/wy150 +0 -0
- package/python/share/terminfo/w/wy150-25 +0 -0
- package/python/share/terminfo/w/wy150-25-w +0 -0
- package/python/share/terminfo/w/wy150-vb +0 -0
- package/python/share/terminfo/w/wy150-w +0 -0
- package/python/share/terminfo/w/wy150-w-vb +0 -0
- package/python/share/terminfo/w/wy160 +0 -0
- package/python/share/terminfo/w/wy160-25 +0 -0
- package/python/share/terminfo/w/wy160-25-w +0 -0
- package/python/share/terminfo/w/wy160-42 +0 -0
- package/python/share/terminfo/w/wy160-42-w +0 -0
- package/python/share/terminfo/w/wy160-43 +0 -0
- package/python/share/terminfo/w/wy160-43-w +0 -0
- package/python/share/terminfo/w/wy160-tek +0 -0
- package/python/share/terminfo/w/wy160-vb +0 -0
- package/python/share/terminfo/w/wy160-w +0 -0
- package/python/share/terminfo/w/wy160-w-vb +0 -0
- package/python/share/terminfo/w/wy160-wvb +0 -0
- package/python/share/terminfo/w/wy185 +0 -0
- package/python/share/terminfo/w/wy185-24 +0 -0
- package/python/share/terminfo/w/wy185-vb +0 -0
- package/python/share/terminfo/w/wy185-w +0 -0
- package/python/share/terminfo/w/wy185-wvb +0 -0
- package/python/share/terminfo/w/wy30 +0 -0
- package/python/share/terminfo/w/wy30-mc +0 -0
- package/python/share/terminfo/w/wy30-vb +0 -0
- package/python/share/terminfo/w/wy325 +0 -0
- package/python/share/terminfo/w/wy325-25 +0 -0
- package/python/share/terminfo/w/wy325-25w +0 -0
- package/python/share/terminfo/w/wy325-42 +0 -0
- package/python/share/terminfo/w/wy325-42w +0 -0
- package/python/share/terminfo/w/wy325-42w-vb +0 -0
- package/python/share/terminfo/w/wy325-42wvb +0 -0
- package/python/share/terminfo/w/wy325-43 +0 -0
- package/python/share/terminfo/w/wy325-43w +0 -0
- package/python/share/terminfo/w/wy325-43w-vb +0 -0
- package/python/share/terminfo/w/wy325-43wvb +0 -0
- package/python/share/terminfo/w/wy325-80 +0 -0
- package/python/share/terminfo/w/wy325-vb +0 -0
- package/python/share/terminfo/w/wy325-w +0 -0
- package/python/share/terminfo/w/wy325-w-vb +0 -0
- package/python/share/terminfo/w/wy325-wvb +0 -0
- package/python/share/terminfo/w/wy325w-24 +0 -0
- package/python/share/terminfo/w/wy350 +0 -0
- package/python/share/terminfo/w/wy350-vb +0 -0
- package/python/share/terminfo/w/wy350-w +0 -0
- package/python/share/terminfo/w/wy350-wvb +0 -0
- package/python/share/terminfo/w/wy370 +0 -0
- package/python/share/terminfo/w/wy370-101k +0 -0
- package/python/share/terminfo/w/wy370-105k +0 -0
- package/python/share/terminfo/w/wy370-EPC +0 -0
- package/python/share/terminfo/w/wy370-nk +0 -0
- package/python/share/terminfo/w/wy370-rv +0 -0
- package/python/share/terminfo/w/wy370-tek +0 -0
- package/python/share/terminfo/w/wy370-vb +0 -0
- package/python/share/terminfo/w/wy370-w +0 -0
- package/python/share/terminfo/w/wy370-wvb +0 -0
- package/python/share/terminfo/w/wy50 +0 -0
- package/python/share/terminfo/w/wy50-mc +0 -0
- package/python/share/terminfo/w/wy50-vb +0 -0
- package/python/share/terminfo/w/wy50-w +0 -0
- package/python/share/terminfo/w/wy50-wvb +0 -0
- package/python/share/terminfo/w/wy520 +0 -0
- package/python/share/terminfo/w/wy520-24 +0 -0
- package/python/share/terminfo/w/wy520-36 +0 -0
- package/python/share/terminfo/w/wy520-36pc +0 -0
- package/python/share/terminfo/w/wy520-36w +0 -0
- package/python/share/terminfo/w/wy520-36wpc +0 -0
- package/python/share/terminfo/w/wy520-48 +0 -0
- package/python/share/terminfo/w/wy520-48pc +0 -0
- package/python/share/terminfo/w/wy520-48w +0 -0
- package/python/share/terminfo/w/wy520-48wpc +0 -0
- package/python/share/terminfo/w/wy520-epc +0 -0
- package/python/share/terminfo/w/wy520-epc-24 +0 -0
- package/python/share/terminfo/w/wy520-epc-vb +0 -0
- package/python/share/terminfo/w/wy520-epc-w +0 -0
- package/python/share/terminfo/w/wy520-epc-wvb +0 -0
- package/python/share/terminfo/w/wy520-vb +0 -0
- package/python/share/terminfo/w/wy520-w +0 -0
- package/python/share/terminfo/w/wy520-wvb +0 -0
- package/python/share/terminfo/w/wy60 +0 -0
- package/python/share/terminfo/w/wy60-25 +0 -0
- package/python/share/terminfo/w/wy60-25-w +0 -0
- package/python/share/terminfo/w/wy60-316X +0 -0
- package/python/share/terminfo/w/wy60-42 +0 -0
- package/python/share/terminfo/w/wy60-42-w +0 -0
- package/python/share/terminfo/w/wy60-43 +0 -0
- package/python/share/terminfo/w/wy60-43-w +0 -0
- package/python/share/terminfo/w/wy60-AT +0 -0
- package/python/share/terminfo/w/wy60-PC +0 -0
- package/python/share/terminfo/w/wy60-vb +0 -0
- package/python/share/terminfo/w/wy60-w +0 -0
- package/python/share/terminfo/w/wy60-w-vb +0 -0
- package/python/share/terminfo/w/wy60-wvb +0 -0
- package/python/share/terminfo/w/wy75 +0 -0
- package/python/share/terminfo/w/wy75-mc +0 -0
- package/python/share/terminfo/w/wy75-vb +0 -0
- package/python/share/terminfo/w/wy75-w +0 -0
- package/python/share/terminfo/w/wy75-wvb +0 -0
- package/python/share/terminfo/w/wy75ap +0 -0
- package/python/share/terminfo/w/wy85 +0 -0
- package/python/share/terminfo/w/wy85-8bit +0 -0
- package/python/share/terminfo/w/wy85-vb +0 -0
- package/python/share/terminfo/w/wy85-w +0 -0
- package/python/share/terminfo/w/wy85-wvb +0 -0
- package/python/share/terminfo/w/wy99-ansi +0 -0
- package/python/share/terminfo/w/wy99a-ansi +0 -0
- package/python/share/terminfo/w/wy99f +0 -0
- package/python/share/terminfo/w/wy99fa +0 -0
- package/python/share/terminfo/w/wy99fgt +0 -0
- package/python/share/terminfo/w/wy99fgta +0 -0
- package/python/share/terminfo/w/wy99gt +0 -0
- package/python/share/terminfo/w/wy99gt-25 +0 -0
- package/python/share/terminfo/w/wy99gt-25-w +0 -0
- package/python/share/terminfo/w/wy99gt-tek +0 -0
- package/python/share/terminfo/w/wy99gt-vb +0 -0
- package/python/share/terminfo/w/wy99gt-w +0 -0
- package/python/share/terminfo/w/wy99gt-w-vb +0 -0
- package/python/share/terminfo/w/wy99gt-wvb +0 -0
- package/python/share/terminfo/w/wyse+sl +0 -0
- package/python/share/terminfo/w/wyse-325 +0 -0
- package/python/share/terminfo/w/wyse-75ap +0 -0
- package/python/share/terminfo/w/wyse-vp +0 -0
- package/python/share/terminfo/w/wyse120 +0 -0
- package/python/share/terminfo/w/wyse120-25 +0 -0
- package/python/share/terminfo/w/wyse120-25-w +0 -0
- package/python/share/terminfo/w/wyse120-vb +0 -0
- package/python/share/terminfo/w/wyse120-w +0 -0
- package/python/share/terminfo/w/wyse120-wvb +0 -0
- package/python/share/terminfo/w/wyse150 +0 -0
- package/python/share/terminfo/w/wyse150-25 +0 -0
- package/python/share/terminfo/w/wyse150-25-w +0 -0
- package/python/share/terminfo/w/wyse150-vb +0 -0
- package/python/share/terminfo/w/wyse150-w +0 -0
- package/python/share/terminfo/w/wyse150-w-vb +0 -0
- package/python/share/terminfo/w/wyse160 +0 -0
- package/python/share/terminfo/w/wyse160-25 +0 -0
- package/python/share/terminfo/w/wyse160-25-w +0 -0
- package/python/share/terminfo/w/wyse160-42 +0 -0
- package/python/share/terminfo/w/wyse160-42-w +0 -0
- package/python/share/terminfo/w/wyse160-43 +0 -0
- package/python/share/terminfo/w/wyse160-43-w +0 -0
- package/python/share/terminfo/w/wyse160-vb +0 -0
- package/python/share/terminfo/w/wyse160-w +0 -0
- package/python/share/terminfo/w/wyse160-wvb +0 -0
- package/python/share/terminfo/w/wyse185 +0 -0
- package/python/share/terminfo/w/wyse185-24 +0 -0
- package/python/share/terminfo/w/wyse185-vb +0 -0
- package/python/share/terminfo/w/wyse185-w +0 -0
- package/python/share/terminfo/w/wyse185-wvb +0 -0
- package/python/share/terminfo/w/wyse30 +0 -0
- package/python/share/terminfo/w/wyse30-mc +0 -0
- package/python/share/terminfo/w/wyse30-vb +0 -0
- package/python/share/terminfo/w/wyse325 +0 -0
- package/python/share/terminfo/w/wyse325-25 +0 -0
- package/python/share/terminfo/w/wyse325-25w +0 -0
- package/python/share/terminfo/w/wyse325-42 +0 -0
- package/python/share/terminfo/w/wyse325-42w +0 -0
- package/python/share/terminfo/w/wyse325-43 +0 -0
- package/python/share/terminfo/w/wyse325-43w +0 -0
- package/python/share/terminfo/w/wyse325-vb +0 -0
- package/python/share/terminfo/w/wyse325-w +0 -0
- package/python/share/terminfo/w/wyse325-wvb +0 -0
- package/python/share/terminfo/w/wyse350 +0 -0
- package/python/share/terminfo/w/wyse350-vb +0 -0
- package/python/share/terminfo/w/wyse350-w +0 -0
- package/python/share/terminfo/w/wyse350-wvb +0 -0
- package/python/share/terminfo/w/wyse370 +0 -0
- package/python/share/terminfo/w/wyse50 +0 -0
- package/python/share/terminfo/w/wyse50-mc +0 -0
- package/python/share/terminfo/w/wyse50-vb +0 -0
- package/python/share/terminfo/w/wyse50-w +0 -0
- package/python/share/terminfo/w/wyse50-wvb +0 -0
- package/python/share/terminfo/w/wyse520 +0 -0
- package/python/share/terminfo/w/wyse520-24 +0 -0
- package/python/share/terminfo/w/wyse520-36 +0 -0
- package/python/share/terminfo/w/wyse520-36pc +0 -0
- package/python/share/terminfo/w/wyse520-36w +0 -0
- package/python/share/terminfo/w/wyse520-36wpc +0 -0
- package/python/share/terminfo/w/wyse520-48 +0 -0
- package/python/share/terminfo/w/wyse520-48pc +0 -0
- package/python/share/terminfo/w/wyse520-48w +0 -0
- package/python/share/terminfo/w/wyse520-48wpc +0 -0
- package/python/share/terminfo/w/wyse520-epc +0 -0
- package/python/share/terminfo/w/wyse520-epc-w +0 -0
- package/python/share/terminfo/w/wyse520-p-wvb +0 -0
- package/python/share/terminfo/w/wyse520-pc-24 +0 -0
- package/python/share/terminfo/w/wyse520-pc-vb +0 -0
- package/python/share/terminfo/w/wyse520-vb +0 -0
- package/python/share/terminfo/w/wyse520-w +0 -0
- package/python/share/terminfo/w/wyse520-wvb +0 -0
- package/python/share/terminfo/w/wyse60 +0 -0
- package/python/share/terminfo/w/wyse60-25 +0 -0
- package/python/share/terminfo/w/wyse60-25-w +0 -0
- package/python/share/terminfo/w/wyse60-316X +0 -0
- package/python/share/terminfo/w/wyse60-42 +0 -0
- package/python/share/terminfo/w/wyse60-42-w +0 -0
- package/python/share/terminfo/w/wyse60-43 +0 -0
- package/python/share/terminfo/w/wyse60-43-w +0 -0
- package/python/share/terminfo/w/wyse60-AT +0 -0
- package/python/share/terminfo/w/wyse60-PC +0 -0
- package/python/share/terminfo/w/wyse60-vb +0 -0
- package/python/share/terminfo/w/wyse60-w +0 -0
- package/python/share/terminfo/w/wyse60-wvb +0 -0
- package/python/share/terminfo/w/wyse75 +0 -0
- package/python/share/terminfo/w/wyse75-mc +0 -0
- package/python/share/terminfo/w/wyse75-vb +0 -0
- package/python/share/terminfo/w/wyse75-w +0 -0
- package/python/share/terminfo/w/wyse75-wvb +0 -0
- package/python/share/terminfo/w/wyse75ap +0 -0
- package/python/share/terminfo/w/wyse85 +0 -0
- package/python/share/terminfo/w/wyse85-8bit +0 -0
- package/python/share/terminfo/w/wyse85-vb +0 -0
- package/python/share/terminfo/w/wyse85-w +0 -0
- package/python/share/terminfo/w/wyse85-wvb +0 -0
- package/python/share/terminfo/w/wyse99gt +0 -0
- package/python/share/terminfo/w/wyse99gt-25 +0 -0
- package/python/share/terminfo/w/wyse99gt-25-w +0 -0
- package/python/share/terminfo/w/wyse99gt-vb +0 -0
- package/python/share/terminfo/w/wyse99gt-w +0 -0
- package/python/share/terminfo/w/wyse99gt-wvb +0 -0
- package/python/share/terminfo/x/x10term +0 -0
- package/python/share/terminfo/x/x10term+sl +0 -0
- package/python/share/terminfo/x/x1700 +0 -0
- package/python/share/terminfo/x/x1700-lm +0 -0
- package/python/share/terminfo/x/x1720 +0 -0
- package/python/share/terminfo/x/x1750 +0 -0
- package/python/share/terminfo/x/x68k +0 -0
- package/python/share/terminfo/x/x68k-ite +0 -0
- package/python/share/terminfo/x/x820 +0 -0
- package/python/share/terminfo/x/xdku +0 -0
- package/python/share/terminfo/x/xenix +0 -0
- package/python/share/terminfo/x/xerox +0 -0
- package/python/share/terminfo/x/xerox-lm +0 -0
- package/python/share/terminfo/x/xerox1720 +0 -0
- package/python/share/terminfo/x/xerox820 +0 -0
- package/python/share/terminfo/x/xfce +0 -0
- package/python/share/terminfo/x/xgterm +0 -0
- package/python/share/terminfo/x/xiterm +0 -0
- package/python/share/terminfo/x/xl83 +0 -0
- package/python/share/terminfo/x/xnuppc +0 -0
- package/python/share/terminfo/x/xnuppc+100x37 +0 -0
- package/python/share/terminfo/x/xnuppc+112x37 +0 -0
- package/python/share/terminfo/x/xnuppc+128x40 +0 -0
- package/python/share/terminfo/x/xnuppc+128x48 +0 -0
- package/python/share/terminfo/x/xnuppc+144x48 +0 -0
- package/python/share/terminfo/x/xnuppc+160x64 +0 -0
- package/python/share/terminfo/x/xnuppc+200x64 +0 -0
- package/python/share/terminfo/x/xnuppc+200x75 +0 -0
- package/python/share/terminfo/x/xnuppc+256x96 +0 -0
- package/python/share/terminfo/x/xnuppc+80x25 +0 -0
- package/python/share/terminfo/x/xnuppc+80x30 +0 -0
- package/python/share/terminfo/x/xnuppc+90x30 +0 -0
- package/python/share/terminfo/x/xnuppc+b +0 -0
- package/python/share/terminfo/x/xnuppc+basic +0 -0
- package/python/share/terminfo/x/xnuppc+c +0 -0
- package/python/share/terminfo/x/xnuppc+f +0 -0
- package/python/share/terminfo/x/xnuppc+f2 +0 -0
- package/python/share/terminfo/x/xnuppc-100x37 +0 -0
- package/python/share/terminfo/x/xnuppc-100x37-m +0 -0
- package/python/share/terminfo/x/xnuppc-112x37 +0 -0
- package/python/share/terminfo/x/xnuppc-112x37-m +0 -0
- package/python/share/terminfo/x/xnuppc-128x40 +0 -0
- package/python/share/terminfo/x/xnuppc-128x40-m +0 -0
- package/python/share/terminfo/x/xnuppc-128x48 +0 -0
- package/python/share/terminfo/x/xnuppc-128x48-m +0 -0
- package/python/share/terminfo/x/xnuppc-144x48 +0 -0
- package/python/share/terminfo/x/xnuppc-144x48-m +0 -0
- package/python/share/terminfo/x/xnuppc-160x64 +0 -0
- package/python/share/terminfo/x/xnuppc-160x64-m +0 -0
- package/python/share/terminfo/x/xnuppc-200x64 +0 -0
- package/python/share/terminfo/x/xnuppc-200x64-m +0 -0
- package/python/share/terminfo/x/xnuppc-200x75 +0 -0
- package/python/share/terminfo/x/xnuppc-200x75-m +0 -0
- package/python/share/terminfo/x/xnuppc-256x96 +0 -0
- package/python/share/terminfo/x/xnuppc-256x96-m +0 -0
- package/python/share/terminfo/x/xnuppc-80x25 +0 -0
- package/python/share/terminfo/x/xnuppc-80x25-m +0 -0
- package/python/share/terminfo/x/xnuppc-80x30 +0 -0
- package/python/share/terminfo/x/xnuppc-80x30-m +0 -0
- package/python/share/terminfo/x/xnuppc-90x30 +0 -0
- package/python/share/terminfo/x/xnuppc-90x30-m +0 -0
- package/python/share/terminfo/x/xnuppc-b +0 -0
- package/python/share/terminfo/x/xnuppc-f +0 -0
- package/python/share/terminfo/x/xnuppc-f2 +0 -0
- package/python/share/terminfo/x/xnuppc-m +0 -0
- package/python/share/terminfo/x/xnuppc-m-b +0 -0
- package/python/share/terminfo/x/xnuppc-m-f +0 -0
- package/python/share/terminfo/x/xnuppc-m-f2 +0 -0
- package/python/share/terminfo/x/xtalk +0 -0
- package/python/share/terminfo/x/xterm +0 -0
- package/python/share/terminfo/x/xterm+256color +0 -0
- package/python/share/terminfo/x/xterm+256color2 +0 -0
- package/python/share/terminfo/x/xterm+256setaf +0 -0
- package/python/share/terminfo/x/xterm+88color +0 -0
- package/python/share/terminfo/x/xterm+88color2 +0 -0
- package/python/share/terminfo/x/xterm+acs +0 -0
- package/python/share/terminfo/x/xterm+alt+title +0 -0
- package/python/share/terminfo/x/xterm+alt1049 +0 -0
- package/python/share/terminfo/x/xterm+alt47 +0 -0
- package/python/share/terminfo/x/xterm+app +0 -0
- package/python/share/terminfo/x/xterm+app+pc +0 -0
- package/python/share/terminfo/x/xterm+decedit +0 -0
- package/python/share/terminfo/x/xterm+direct +0 -0
- package/python/share/terminfo/x/xterm+direct16 +0 -0
- package/python/share/terminfo/x/xterm+direct2 +0 -0
- package/python/share/terminfo/x/xterm+direct256 +0 -0
- package/python/share/terminfo/x/xterm+edit +0 -0
- package/python/share/terminfo/x/xterm+focus +0 -0
- package/python/share/terminfo/x/xterm+indirect +0 -0
- package/python/share/terminfo/x/xterm+kbs +0 -0
- package/python/share/terminfo/x/xterm+keypad +0 -0
- package/python/share/terminfo/x/xterm+meta +0 -0
- package/python/share/terminfo/x/xterm+noalt +0 -0
- package/python/share/terminfo/x/xterm+noapp +0 -0
- package/python/share/terminfo/x/xterm+nofkeys +0 -0
- package/python/share/terminfo/x/xterm+nopcfkeys +0 -0
- package/python/share/terminfo/x/xterm+osc104 +0 -0
- package/python/share/terminfo/x/xterm+pc+edit +0 -0
- package/python/share/terminfo/x/xterm+pcc0 +0 -0
- package/python/share/terminfo/x/xterm+pcc1 +0 -0
- package/python/share/terminfo/x/xterm+pcc2 +0 -0
- package/python/share/terminfo/x/xterm+pcc3 +0 -0
- package/python/share/terminfo/x/xterm+pce2 +0 -0
- package/python/share/terminfo/x/xterm+pcf0 +0 -0
- package/python/share/terminfo/x/xterm+pcf2 +0 -0
- package/python/share/terminfo/x/xterm+pcfkeys +0 -0
- package/python/share/terminfo/x/xterm+r6f2 +0 -0
- package/python/share/terminfo/x/xterm+sl +0 -0
- package/python/share/terminfo/x/xterm+sl-alt +0 -0
- package/python/share/terminfo/x/xterm+sl-twm +0 -0
- package/python/share/terminfo/x/xterm+sm+1002 +0 -0
- package/python/share/terminfo/x/xterm+sm+1003 +0 -0
- package/python/share/terminfo/x/xterm+sm+1005 +0 -0
- package/python/share/terminfo/x/xterm+sm+1006 +0 -0
- package/python/share/terminfo/x/xterm+titlestack +0 -0
- package/python/share/terminfo/x/xterm+tmux +0 -0
- package/python/share/terminfo/x/xterm+tmux2 +0 -0
- package/python/share/terminfo/x/xterm+vt+edit +0 -0
- package/python/share/terminfo/x/xterm+x10mouse +0 -0
- package/python/share/terminfo/x/xterm+x11hilite +0 -0
- package/python/share/terminfo/x/xterm+x11mouse +0 -0
- package/python/share/terminfo/x/xterm-1002 +0 -0
- package/python/share/terminfo/x/xterm-1003 +0 -0
- package/python/share/terminfo/x/xterm-1005 +0 -0
- package/python/share/terminfo/x/xterm-1006 +0 -0
- package/python/share/terminfo/x/xterm-16color +0 -0
- package/python/share/terminfo/x/xterm-24 +0 -0
- package/python/share/terminfo/x/xterm-256color +0 -0
- package/python/share/terminfo/x/xterm-88color +0 -0
- package/python/share/terminfo/x/xterm-8bit +0 -0
- package/python/share/terminfo/x/xterm-basic +0 -0
- package/python/share/terminfo/x/xterm-bold +0 -0
- package/python/share/terminfo/x/xterm-color +0 -0
- package/python/share/terminfo/x/xterm-direct +0 -0
- package/python/share/terminfo/x/xterm-direct16 +0 -0
- package/python/share/terminfo/x/xterm-direct2 +0 -0
- package/python/share/terminfo/x/xterm-direct256 +0 -0
- package/python/share/terminfo/x/xterm-hp +0 -0
- package/python/share/terminfo/x/xterm-mono +0 -0
- package/python/share/terminfo/x/xterm-new +0 -0
- package/python/share/terminfo/x/xterm-nic +0 -0
- package/python/share/terminfo/x/xterm-noapp +0 -0
- package/python/share/terminfo/x/xterm-old +0 -0
- package/python/share/terminfo/x/xterm-p370 +0 -0
- package/python/share/terminfo/x/xterm-p371 +0 -0
- package/python/share/terminfo/x/xterm-pcolor +0 -0
- package/python/share/terminfo/x/xterm-r5 +0 -0
- package/python/share/terminfo/x/xterm-r6 +0 -0
- package/python/share/terminfo/x/xterm-sco +0 -0
- package/python/share/terminfo/x/xterm-sun +0 -0
- package/python/share/terminfo/x/xterm-utf8 +0 -0
- package/python/share/terminfo/x/xterm-vt220 +0 -0
- package/python/share/terminfo/x/xterm-vt52 +0 -0
- package/python/share/terminfo/x/xterm-x10mouse +0 -0
- package/python/share/terminfo/x/xterm-x11hilite +0 -0
- package/python/share/terminfo/x/xterm-x11mouse +0 -0
- package/python/share/terminfo/x/xterm-xf86-v32 +0 -0
- package/python/share/terminfo/x/xterm-xf86-v33 +0 -0
- package/python/share/terminfo/x/xterm-xf86-v333 +0 -0
- package/python/share/terminfo/x/xterm-xf86-v40 +0 -0
- package/python/share/terminfo/x/xterm-xf86-v43 +0 -0
- package/python/share/terminfo/x/xterm-xf86-v44 +0 -0
- package/python/share/terminfo/x/xterm-xfree86 +0 -0
- package/python/share/terminfo/x/xterm-xi +0 -0
- package/python/share/terminfo/x/xterm.js +0 -0
- package/python/share/terminfo/x/xterm1 +0 -0
- package/python/share/terminfo/x/xtermc +0 -0
- package/python/share/terminfo/x/xtermm +0 -0
- package/python/share/terminfo/x/xterms +0 -0
- package/python/share/terminfo/x/xterms-sun +0 -0
- package/python/share/terminfo/x/xwsh +0 -0
- package/python/share/terminfo/z/z-100 +0 -0
- package/python/share/terminfo/z/z-100bw +0 -0
- package/python/share/terminfo/z/z100 +0 -0
- package/python/share/terminfo/z/z100bw +0 -0
- package/python/share/terminfo/z/z110 +0 -0
- package/python/share/terminfo/z/z110bw +0 -0
- package/python/share/terminfo/z/z19 +0 -0
- package/python/share/terminfo/z/z29 +0 -0
- package/python/share/terminfo/z/z29a +0 -0
- package/python/share/terminfo/z/z29a-kc-bc +0 -0
- package/python/share/terminfo/z/z29a-kc-uc +0 -0
- package/python/share/terminfo/z/z29a-nkc-bc +0 -0
- package/python/share/terminfo/z/z29a-nkc-uc +0 -0
- package/python/share/terminfo/z/z29b +0 -0
- package/python/share/terminfo/z/z30 +0 -0
- package/python/share/terminfo/z/z340 +0 -0
- package/python/share/terminfo/z/z340-nam +0 -0
- package/python/share/terminfo/z/z39-a +0 -0
- package/python/share/terminfo/z/z39a +0 -0
- package/python/share/terminfo/z/z50 +0 -0
- package/python/share/terminfo/z/z8001 +0 -0
- package/python/share/terminfo/z/zen30 +0 -0
- package/python/share/terminfo/z/zen50 +0 -0
- package/python/share/terminfo/z/zen8001 +0 -0
- package/python/share/terminfo/z/zenith +0 -0
- package/python/share/terminfo/z/zenith29 +0 -0
- package/python/share/terminfo/z/zenith39-a +0 -0
- package/python/share/terminfo/z/zenith39-ansi +0 -0
- package/python/share/terminfo/z/zt-1 +0 -0
- package/python/share/terminfo/z/ztx +0 -0
- package/python/share/terminfo/z/ztx-1-a +0 -0
- package/python/share/terminfo/z/ztx11 +0 -0
- package/tool.json +1 -0
- package/README.md +0 -3
|
@@ -0,0 +1,3119 @@
|
|
|
1
|
+
"""Header value parser implementing various email-related RFC parsing rules.
|
|
2
|
+
|
|
3
|
+
The parsing methods defined in this module implement various email related
|
|
4
|
+
parsing rules. Principal among them is RFC 5322, which is the followon
|
|
5
|
+
to RFC 2822 and primarily a clarification of the former. It also implements
|
|
6
|
+
RFC 2047 encoded word decoding.
|
|
7
|
+
|
|
8
|
+
RFC 5322 goes to considerable trouble to maintain backward compatibility with
|
|
9
|
+
RFC 822 in the parse phase, while cleaning up the structure on the generation
|
|
10
|
+
phase. This parser supports correct RFC 5322 generation by tagging white space
|
|
11
|
+
as folding white space only when folding is allowed in the non-obsolete rule
|
|
12
|
+
sets. Actually, the parser is even more generous when accepting input than RFC
|
|
13
|
+
5322 mandates, following the spirit of Postel's Law, which RFC 5322 encourages.
|
|
14
|
+
Where possible deviations from the standard are annotated on the 'defects'
|
|
15
|
+
attribute of tokens that deviate.
|
|
16
|
+
|
|
17
|
+
The general structure of the parser follows RFC 5322, and uses its terminology
|
|
18
|
+
where there is a direct correspondence. Where the implementation requires a
|
|
19
|
+
somewhat different structure than that used by the formal grammar, new terms
|
|
20
|
+
that mimic the closest existing terms are used. Thus, it really helps to have
|
|
21
|
+
a copy of RFC 5322 handy when studying this code.
|
|
22
|
+
|
|
23
|
+
Input to the parser is a string that has already been unfolded according to
|
|
24
|
+
RFC 5322 rules. According to the RFC this unfolding is the very first step, and
|
|
25
|
+
this parser leaves the unfolding step to a higher level message parser, which
|
|
26
|
+
will have already detected the line breaks that need unfolding while
|
|
27
|
+
determining the beginning and end of each header.
|
|
28
|
+
|
|
29
|
+
The output of the parser is a TokenList object, which is a list subclass. A
|
|
30
|
+
TokenList is a recursive data structure. The terminal nodes of the structure
|
|
31
|
+
are Terminal objects, which are subclasses of str. These do not correspond
|
|
32
|
+
directly to terminal objects in the formal grammar, but are instead more
|
|
33
|
+
practical higher level combinations of true terminals.
|
|
34
|
+
|
|
35
|
+
All TokenList and Terminal objects have a 'value' attribute, which produces the
|
|
36
|
+
semantically meaningful value of that part of the parse subtree. The value of
|
|
37
|
+
all whitespace tokens (no matter how many sub-tokens they may contain) is a
|
|
38
|
+
single space, as per the RFC rules. This includes 'CFWS', which is herein
|
|
39
|
+
included in the general class of whitespace tokens. There is one exception to
|
|
40
|
+
the rule that whitespace tokens are collapsed into single spaces in values: in
|
|
41
|
+
the value of a 'bare-quoted-string' (a quoted-string with no leading or
|
|
42
|
+
trailing whitespace), any whitespace that appeared between the quotation marks
|
|
43
|
+
is preserved in the returned value. Note that in all Terminal strings quoted
|
|
44
|
+
pairs are turned into their unquoted values.
|
|
45
|
+
|
|
46
|
+
All TokenList and Terminal objects also have a string value, which attempts to
|
|
47
|
+
be a "canonical" representation of the RFC-compliant form of the substring that
|
|
48
|
+
produced the parsed subtree, including minimal use of quoted pair quoting.
|
|
49
|
+
Whitespace runs are not collapsed.
|
|
50
|
+
|
|
51
|
+
Comment tokens also have a 'content' attribute providing the string found
|
|
52
|
+
between the parens (including any nested comments) with whitespace preserved.
|
|
53
|
+
|
|
54
|
+
All TokenList and Terminal objects have a 'defects' attribute which is a
|
|
55
|
+
possibly empty list all of the defects found while creating the token. Defects
|
|
56
|
+
may appear on any token in the tree, and a composite list of all defects in the
|
|
57
|
+
subtree is available through the 'all_defects' attribute of any node. (For
|
|
58
|
+
Terminal notes x.defects == x.all_defects.)
|
|
59
|
+
|
|
60
|
+
Each object in a parse tree is called a 'token', and each has a 'token_type'
|
|
61
|
+
attribute that gives the name from the RFC 5322 grammar that it represents.
|
|
62
|
+
Not all RFC 5322 nodes are produced, and there is one non-RFC 5322 node that
|
|
63
|
+
may be produced: 'ptext'. A 'ptext' is a string of printable ascii characters.
|
|
64
|
+
It is returned in place of lists of (ctext/quoted-pair) and
|
|
65
|
+
(qtext/quoted-pair).
|
|
66
|
+
|
|
67
|
+
XXX: provide complete list of token types.
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
import re
|
|
71
|
+
import sys
|
|
72
|
+
import urllib # For urllib.parse.unquote
|
|
73
|
+
from string import hexdigits
|
|
74
|
+
from operator import itemgetter
|
|
75
|
+
from email import _encoded_words as _ew
|
|
76
|
+
from email import errors
|
|
77
|
+
from email import utils
|
|
78
|
+
|
|
79
|
+
#
|
|
80
|
+
# Useful constants and functions
|
|
81
|
+
#
|
|
82
|
+
|
|
83
|
+
WSP = set(' \t')
|
|
84
|
+
CFWS_LEADER = WSP | set('(')
|
|
85
|
+
SPECIALS = set(r'()<>@,:;.\"[]')
|
|
86
|
+
ATOM_ENDS = SPECIALS | WSP
|
|
87
|
+
DOT_ATOM_ENDS = ATOM_ENDS - set('.')
|
|
88
|
+
# '.', '"', and '(' do not end phrases in order to support obs-phrase
|
|
89
|
+
PHRASE_ENDS = SPECIALS - set('."(')
|
|
90
|
+
TSPECIALS = (SPECIALS | set('/?=')) - set('.')
|
|
91
|
+
TOKEN_ENDS = TSPECIALS | WSP
|
|
92
|
+
ASPECIALS = TSPECIALS | set("*'%")
|
|
93
|
+
ATTRIBUTE_ENDS = ASPECIALS | WSP
|
|
94
|
+
EXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')
|
|
95
|
+
NLSET = {'\n', '\r'}
|
|
96
|
+
SPECIALSNL = SPECIALS | NLSET
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
def make_quoted_pairs(value):
|
|
100
|
+
"""Escape dquote and backslash for use within a quoted-string."""
|
|
101
|
+
return str(value).replace('\\', '\\\\').replace('"', '\\"')
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def make_parenthesis_pairs(value):
|
|
105
|
+
"""Escape parenthesis and backslash for use within a comment."""
|
|
106
|
+
return str(value).replace('\\', '\\\\') \
|
|
107
|
+
.replace('(', '\\(').replace(')', '\\)')
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
def quote_string(value):
|
|
111
|
+
escaped = make_quoted_pairs(value)
|
|
112
|
+
return f'"{escaped}"'
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
# Match a RFC 2047 word, looks like =?utf-8?q?someword?=
|
|
116
|
+
rfc2047_matcher = re.compile(r'''
|
|
117
|
+
=\? # literal =?
|
|
118
|
+
[^?]* # charset
|
|
119
|
+
\? # literal ?
|
|
120
|
+
[qQbB] # literal 'q' or 'b', case insensitive
|
|
121
|
+
\? # literal ?
|
|
122
|
+
.*? # encoded word
|
|
123
|
+
\?= # literal ?=
|
|
124
|
+
''', re.VERBOSE | re.MULTILINE)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
#
|
|
128
|
+
# TokenList and its subclasses
|
|
129
|
+
#
|
|
130
|
+
|
|
131
|
+
class TokenList(list):
|
|
132
|
+
|
|
133
|
+
token_type = None
|
|
134
|
+
syntactic_break = True
|
|
135
|
+
ew_combine_allowed = True
|
|
136
|
+
|
|
137
|
+
def __init__(self, *args, **kw):
|
|
138
|
+
super().__init__(*args, **kw)
|
|
139
|
+
self.defects = []
|
|
140
|
+
|
|
141
|
+
def __str__(self):
|
|
142
|
+
return ''.join(str(x) for x in self)
|
|
143
|
+
|
|
144
|
+
def __repr__(self):
|
|
145
|
+
return '{}({})'.format(self.__class__.__name__,
|
|
146
|
+
super().__repr__())
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def value(self):
|
|
150
|
+
return ''.join(x.value for x in self if x.value)
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
def all_defects(self):
|
|
154
|
+
return sum((x.all_defects for x in self), self.defects)
|
|
155
|
+
|
|
156
|
+
def startswith_fws(self):
|
|
157
|
+
return self[0].startswith_fws()
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def as_ew_allowed(self):
|
|
161
|
+
"""True if all top level tokens of this part may be RFC2047 encoded."""
|
|
162
|
+
return all(part.as_ew_allowed for part in self)
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def comments(self):
|
|
166
|
+
comments = []
|
|
167
|
+
for token in self:
|
|
168
|
+
comments.extend(token.comments)
|
|
169
|
+
return comments
|
|
170
|
+
|
|
171
|
+
def contains_token_type(self, *token_types):
|
|
172
|
+
if self.token_type in token_types:
|
|
173
|
+
return True
|
|
174
|
+
for t in self:
|
|
175
|
+
if t.contains_token_type(*token_types):
|
|
176
|
+
return True
|
|
177
|
+
return False
|
|
178
|
+
|
|
179
|
+
def fold(self, *, policy):
|
|
180
|
+
return _refold_parse_tree(self, policy=policy)
|
|
181
|
+
|
|
182
|
+
def pprint(self, indent=''):
|
|
183
|
+
print(self.ppstr(indent=indent))
|
|
184
|
+
|
|
185
|
+
def ppstr(self, indent=''):
|
|
186
|
+
return '\n'.join(self._pp(indent=indent))
|
|
187
|
+
|
|
188
|
+
def _pp(self, indent=''):
|
|
189
|
+
yield '{}{}/{}('.format(
|
|
190
|
+
indent,
|
|
191
|
+
self.__class__.__name__,
|
|
192
|
+
self.token_type)
|
|
193
|
+
for token in self:
|
|
194
|
+
if not hasattr(token, '_pp'):
|
|
195
|
+
yield (indent + ' !! invalid element in token '
|
|
196
|
+
'list: {!r}'.format(token))
|
|
197
|
+
else:
|
|
198
|
+
yield from token._pp(indent+' ')
|
|
199
|
+
if self.defects:
|
|
200
|
+
extra = ' Defects: {}'.format(self.defects)
|
|
201
|
+
else:
|
|
202
|
+
extra = ''
|
|
203
|
+
yield '{}){}'.format(indent, extra)
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
class WhiteSpaceTokenList(TokenList):
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
def value(self):
|
|
210
|
+
return ' '
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
def comments(self):
|
|
214
|
+
return [x.content for x in self if x.token_type=='comment']
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
class UnstructuredTokenList(TokenList):
|
|
218
|
+
token_type = 'unstructured'
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
class Phrase(TokenList):
|
|
222
|
+
token_type = 'phrase'
|
|
223
|
+
|
|
224
|
+
class Word(TokenList):
|
|
225
|
+
token_type = 'word'
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
class CFWSList(WhiteSpaceTokenList):
|
|
229
|
+
token_type = 'cfws'
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
class Atom(TokenList):
|
|
233
|
+
token_type = 'atom'
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
class Token(TokenList):
|
|
237
|
+
token_type = 'token'
|
|
238
|
+
encode_as_ew = False
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
class EncodedWord(TokenList):
|
|
242
|
+
token_type = 'encoded-word'
|
|
243
|
+
cte = None
|
|
244
|
+
charset = None
|
|
245
|
+
lang = None
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
class QuotedString(TokenList):
|
|
249
|
+
|
|
250
|
+
token_type = 'quoted-string'
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def content(self):
|
|
254
|
+
for x in self:
|
|
255
|
+
if x.token_type == 'bare-quoted-string':
|
|
256
|
+
return x.value
|
|
257
|
+
|
|
258
|
+
@property
|
|
259
|
+
def quoted_value(self):
|
|
260
|
+
res = []
|
|
261
|
+
for x in self:
|
|
262
|
+
if x.token_type == 'bare-quoted-string':
|
|
263
|
+
res.append(str(x))
|
|
264
|
+
else:
|
|
265
|
+
res.append(x.value)
|
|
266
|
+
return ''.join(res)
|
|
267
|
+
|
|
268
|
+
@property
|
|
269
|
+
def stripped_value(self):
|
|
270
|
+
for token in self:
|
|
271
|
+
if token.token_type == 'bare-quoted-string':
|
|
272
|
+
return token.value
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
class BareQuotedString(QuotedString):
|
|
276
|
+
|
|
277
|
+
token_type = 'bare-quoted-string'
|
|
278
|
+
|
|
279
|
+
def __str__(self):
|
|
280
|
+
return quote_string(''.join(str(x) for x in self))
|
|
281
|
+
|
|
282
|
+
@property
|
|
283
|
+
def value(self):
|
|
284
|
+
return ''.join(str(x) for x in self)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
class Comment(WhiteSpaceTokenList):
|
|
288
|
+
|
|
289
|
+
token_type = 'comment'
|
|
290
|
+
|
|
291
|
+
def __str__(self):
|
|
292
|
+
return ''.join(sum([
|
|
293
|
+
["("],
|
|
294
|
+
[self.quote(x) for x in self],
|
|
295
|
+
[")"],
|
|
296
|
+
], []))
|
|
297
|
+
|
|
298
|
+
def quote(self, value):
|
|
299
|
+
if value.token_type == 'comment':
|
|
300
|
+
return str(value)
|
|
301
|
+
return str(value).replace('\\', '\\\\').replace(
|
|
302
|
+
'(', r'\(').replace(
|
|
303
|
+
')', r'\)')
|
|
304
|
+
|
|
305
|
+
@property
|
|
306
|
+
def content(self):
|
|
307
|
+
return ''.join(str(x) for x in self)
|
|
308
|
+
|
|
309
|
+
@property
|
|
310
|
+
def comments(self):
|
|
311
|
+
return [self.content]
|
|
312
|
+
|
|
313
|
+
class AddressList(TokenList):
|
|
314
|
+
|
|
315
|
+
token_type = 'address-list'
|
|
316
|
+
|
|
317
|
+
@property
|
|
318
|
+
def addresses(self):
|
|
319
|
+
return [x for x in self if x.token_type=='address']
|
|
320
|
+
|
|
321
|
+
@property
|
|
322
|
+
def mailboxes(self):
|
|
323
|
+
return sum((x.mailboxes
|
|
324
|
+
for x in self if x.token_type=='address'), [])
|
|
325
|
+
|
|
326
|
+
@property
|
|
327
|
+
def all_mailboxes(self):
|
|
328
|
+
return sum((x.all_mailboxes
|
|
329
|
+
for x in self if x.token_type=='address'), [])
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
class Address(TokenList):
|
|
333
|
+
|
|
334
|
+
token_type = 'address'
|
|
335
|
+
|
|
336
|
+
@property
|
|
337
|
+
def display_name(self):
|
|
338
|
+
if self[0].token_type == 'group':
|
|
339
|
+
return self[0].display_name
|
|
340
|
+
|
|
341
|
+
@property
|
|
342
|
+
def mailboxes(self):
|
|
343
|
+
if self[0].token_type == 'mailbox':
|
|
344
|
+
return [self[0]]
|
|
345
|
+
elif self[0].token_type == 'invalid-mailbox':
|
|
346
|
+
return []
|
|
347
|
+
return self[0].mailboxes
|
|
348
|
+
|
|
349
|
+
@property
|
|
350
|
+
def all_mailboxes(self):
|
|
351
|
+
if self[0].token_type == 'mailbox':
|
|
352
|
+
return [self[0]]
|
|
353
|
+
elif self[0].token_type == 'invalid-mailbox':
|
|
354
|
+
return [self[0]]
|
|
355
|
+
return self[0].all_mailboxes
|
|
356
|
+
|
|
357
|
+
class MailboxList(TokenList):
|
|
358
|
+
|
|
359
|
+
token_type = 'mailbox-list'
|
|
360
|
+
|
|
361
|
+
@property
|
|
362
|
+
def mailboxes(self):
|
|
363
|
+
return [x for x in self if x.token_type=='mailbox']
|
|
364
|
+
|
|
365
|
+
@property
|
|
366
|
+
def all_mailboxes(self):
|
|
367
|
+
return [x for x in self
|
|
368
|
+
if x.token_type in ('mailbox', 'invalid-mailbox')]
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
class GroupList(TokenList):
|
|
372
|
+
|
|
373
|
+
token_type = 'group-list'
|
|
374
|
+
|
|
375
|
+
@property
|
|
376
|
+
def mailboxes(self):
|
|
377
|
+
if not self or self[0].token_type != 'mailbox-list':
|
|
378
|
+
return []
|
|
379
|
+
return self[0].mailboxes
|
|
380
|
+
|
|
381
|
+
@property
|
|
382
|
+
def all_mailboxes(self):
|
|
383
|
+
if not self or self[0].token_type != 'mailbox-list':
|
|
384
|
+
return []
|
|
385
|
+
return self[0].all_mailboxes
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
class Group(TokenList):
|
|
389
|
+
|
|
390
|
+
token_type = "group"
|
|
391
|
+
|
|
392
|
+
@property
|
|
393
|
+
def mailboxes(self):
|
|
394
|
+
if self[2].token_type != 'group-list':
|
|
395
|
+
return []
|
|
396
|
+
return self[2].mailboxes
|
|
397
|
+
|
|
398
|
+
@property
|
|
399
|
+
def all_mailboxes(self):
|
|
400
|
+
if self[2].token_type != 'group-list':
|
|
401
|
+
return []
|
|
402
|
+
return self[2].all_mailboxes
|
|
403
|
+
|
|
404
|
+
@property
|
|
405
|
+
def display_name(self):
|
|
406
|
+
return self[0].display_name
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
class NameAddr(TokenList):
|
|
410
|
+
|
|
411
|
+
token_type = 'name-addr'
|
|
412
|
+
|
|
413
|
+
@property
|
|
414
|
+
def display_name(self):
|
|
415
|
+
if len(self) == 1:
|
|
416
|
+
return None
|
|
417
|
+
return self[0].display_name
|
|
418
|
+
|
|
419
|
+
@property
|
|
420
|
+
def local_part(self):
|
|
421
|
+
return self[-1].local_part
|
|
422
|
+
|
|
423
|
+
@property
|
|
424
|
+
def domain(self):
|
|
425
|
+
return self[-1].domain
|
|
426
|
+
|
|
427
|
+
@property
|
|
428
|
+
def route(self):
|
|
429
|
+
return self[-1].route
|
|
430
|
+
|
|
431
|
+
@property
|
|
432
|
+
def addr_spec(self):
|
|
433
|
+
return self[-1].addr_spec
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
class AngleAddr(TokenList):
|
|
437
|
+
|
|
438
|
+
token_type = 'angle-addr'
|
|
439
|
+
|
|
440
|
+
@property
|
|
441
|
+
def local_part(self):
|
|
442
|
+
for x in self:
|
|
443
|
+
if x.token_type == 'addr-spec':
|
|
444
|
+
return x.local_part
|
|
445
|
+
|
|
446
|
+
@property
|
|
447
|
+
def domain(self):
|
|
448
|
+
for x in self:
|
|
449
|
+
if x.token_type == 'addr-spec':
|
|
450
|
+
return x.domain
|
|
451
|
+
|
|
452
|
+
@property
|
|
453
|
+
def route(self):
|
|
454
|
+
for x in self:
|
|
455
|
+
if x.token_type == 'obs-route':
|
|
456
|
+
return x.domains
|
|
457
|
+
|
|
458
|
+
@property
|
|
459
|
+
def addr_spec(self):
|
|
460
|
+
for x in self:
|
|
461
|
+
if x.token_type == 'addr-spec':
|
|
462
|
+
if x.local_part:
|
|
463
|
+
return x.addr_spec
|
|
464
|
+
else:
|
|
465
|
+
return quote_string(x.local_part) + x.addr_spec
|
|
466
|
+
else:
|
|
467
|
+
return '<>'
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
class ObsRoute(TokenList):
|
|
471
|
+
|
|
472
|
+
token_type = 'obs-route'
|
|
473
|
+
|
|
474
|
+
@property
|
|
475
|
+
def domains(self):
|
|
476
|
+
return [x.domain for x in self if x.token_type == 'domain']
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
class Mailbox(TokenList):
|
|
480
|
+
|
|
481
|
+
token_type = 'mailbox'
|
|
482
|
+
|
|
483
|
+
@property
|
|
484
|
+
def display_name(self):
|
|
485
|
+
if self[0].token_type == 'name-addr':
|
|
486
|
+
return self[0].display_name
|
|
487
|
+
|
|
488
|
+
@property
|
|
489
|
+
def local_part(self):
|
|
490
|
+
return self[0].local_part
|
|
491
|
+
|
|
492
|
+
@property
|
|
493
|
+
def domain(self):
|
|
494
|
+
return self[0].domain
|
|
495
|
+
|
|
496
|
+
@property
|
|
497
|
+
def route(self):
|
|
498
|
+
if self[0].token_type == 'name-addr':
|
|
499
|
+
return self[0].route
|
|
500
|
+
|
|
501
|
+
@property
|
|
502
|
+
def addr_spec(self):
|
|
503
|
+
return self[0].addr_spec
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
class InvalidMailbox(TokenList):
|
|
507
|
+
|
|
508
|
+
token_type = 'invalid-mailbox'
|
|
509
|
+
|
|
510
|
+
@property
|
|
511
|
+
def display_name(self):
|
|
512
|
+
return None
|
|
513
|
+
|
|
514
|
+
local_part = domain = route = addr_spec = display_name
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
class Domain(TokenList):
|
|
518
|
+
|
|
519
|
+
token_type = 'domain'
|
|
520
|
+
as_ew_allowed = False
|
|
521
|
+
|
|
522
|
+
@property
|
|
523
|
+
def domain(self):
|
|
524
|
+
return ''.join(super().value.split())
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
class DotAtom(TokenList):
|
|
528
|
+
token_type = 'dot-atom'
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
class DotAtomText(TokenList):
|
|
532
|
+
token_type = 'dot-atom-text'
|
|
533
|
+
as_ew_allowed = True
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
class NoFoldLiteral(TokenList):
|
|
537
|
+
token_type = 'no-fold-literal'
|
|
538
|
+
as_ew_allowed = False
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
class AddrSpec(TokenList):
|
|
542
|
+
|
|
543
|
+
token_type = 'addr-spec'
|
|
544
|
+
as_ew_allowed = False
|
|
545
|
+
|
|
546
|
+
@property
|
|
547
|
+
def local_part(self):
|
|
548
|
+
return self[0].local_part
|
|
549
|
+
|
|
550
|
+
@property
|
|
551
|
+
def domain(self):
|
|
552
|
+
if len(self) < 3:
|
|
553
|
+
return None
|
|
554
|
+
return self[-1].domain
|
|
555
|
+
|
|
556
|
+
@property
|
|
557
|
+
def value(self):
|
|
558
|
+
if len(self) < 3:
|
|
559
|
+
return self[0].value
|
|
560
|
+
return self[0].value.rstrip()+self[1].value+self[2].value.lstrip()
|
|
561
|
+
|
|
562
|
+
@property
|
|
563
|
+
def addr_spec(self):
|
|
564
|
+
nameset = set(self.local_part)
|
|
565
|
+
if len(nameset) > len(nameset-DOT_ATOM_ENDS):
|
|
566
|
+
lp = quote_string(self.local_part)
|
|
567
|
+
else:
|
|
568
|
+
lp = self.local_part
|
|
569
|
+
if self.domain is not None:
|
|
570
|
+
return lp + '@' + self.domain
|
|
571
|
+
return lp
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
class ObsLocalPart(TokenList):
|
|
575
|
+
|
|
576
|
+
token_type = 'obs-local-part'
|
|
577
|
+
as_ew_allowed = False
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
class DisplayName(Phrase):
|
|
581
|
+
|
|
582
|
+
token_type = 'display-name'
|
|
583
|
+
ew_combine_allowed = False
|
|
584
|
+
|
|
585
|
+
@property
|
|
586
|
+
def display_name(self):
|
|
587
|
+
res = TokenList(self)
|
|
588
|
+
if len(res) == 0:
|
|
589
|
+
return res.value
|
|
590
|
+
if res[0].token_type == 'cfws':
|
|
591
|
+
res.pop(0)
|
|
592
|
+
else:
|
|
593
|
+
if (isinstance(res[0], TokenList) and
|
|
594
|
+
res[0][0].token_type == 'cfws'):
|
|
595
|
+
res[0] = TokenList(res[0][1:])
|
|
596
|
+
if res[-1].token_type == 'cfws':
|
|
597
|
+
res.pop()
|
|
598
|
+
else:
|
|
599
|
+
if (isinstance(res[-1], TokenList) and
|
|
600
|
+
res[-1][-1].token_type == 'cfws'):
|
|
601
|
+
res[-1] = TokenList(res[-1][:-1])
|
|
602
|
+
return res.value
|
|
603
|
+
|
|
604
|
+
@property
|
|
605
|
+
def value(self):
|
|
606
|
+
quote = False
|
|
607
|
+
if self.defects:
|
|
608
|
+
quote = True
|
|
609
|
+
else:
|
|
610
|
+
for x in self:
|
|
611
|
+
if x.token_type == 'quoted-string':
|
|
612
|
+
quote = True
|
|
613
|
+
if len(self) != 0 and quote:
|
|
614
|
+
pre = post = ''
|
|
615
|
+
if (self[0].token_type == 'cfws' or
|
|
616
|
+
isinstance(self[0], TokenList) and
|
|
617
|
+
self[0][0].token_type == 'cfws'):
|
|
618
|
+
pre = ' '
|
|
619
|
+
if (self[-1].token_type == 'cfws' or
|
|
620
|
+
isinstance(self[-1], TokenList) and
|
|
621
|
+
self[-1][-1].token_type == 'cfws'):
|
|
622
|
+
post = ' '
|
|
623
|
+
return pre+quote_string(self.display_name)+post
|
|
624
|
+
else:
|
|
625
|
+
return super().value
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
class LocalPart(TokenList):
|
|
629
|
+
|
|
630
|
+
token_type = 'local-part'
|
|
631
|
+
as_ew_allowed = False
|
|
632
|
+
|
|
633
|
+
@property
|
|
634
|
+
def value(self):
|
|
635
|
+
if self[0].token_type == "quoted-string":
|
|
636
|
+
return self[0].quoted_value
|
|
637
|
+
else:
|
|
638
|
+
return self[0].value
|
|
639
|
+
|
|
640
|
+
@property
|
|
641
|
+
def local_part(self):
|
|
642
|
+
# Strip whitespace from front, back, and around dots.
|
|
643
|
+
res = [DOT]
|
|
644
|
+
last = DOT
|
|
645
|
+
last_is_tl = False
|
|
646
|
+
for tok in self[0] + [DOT]:
|
|
647
|
+
if tok.token_type == 'cfws':
|
|
648
|
+
continue
|
|
649
|
+
if (last_is_tl and tok.token_type == 'dot' and
|
|
650
|
+
last[-1].token_type == 'cfws'):
|
|
651
|
+
res[-1] = TokenList(last[:-1])
|
|
652
|
+
is_tl = isinstance(tok, TokenList)
|
|
653
|
+
if (is_tl and last.token_type == 'dot' and
|
|
654
|
+
tok[0].token_type == 'cfws'):
|
|
655
|
+
res.append(TokenList(tok[1:]))
|
|
656
|
+
else:
|
|
657
|
+
res.append(tok)
|
|
658
|
+
last = res[-1]
|
|
659
|
+
last_is_tl = is_tl
|
|
660
|
+
res = TokenList(res[1:-1])
|
|
661
|
+
return res.value
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
class DomainLiteral(TokenList):
|
|
665
|
+
|
|
666
|
+
token_type = 'domain-literal'
|
|
667
|
+
as_ew_allowed = False
|
|
668
|
+
|
|
669
|
+
@property
|
|
670
|
+
def domain(self):
|
|
671
|
+
return ''.join(super().value.split())
|
|
672
|
+
|
|
673
|
+
@property
|
|
674
|
+
def ip(self):
|
|
675
|
+
for x in self:
|
|
676
|
+
if x.token_type == 'ptext':
|
|
677
|
+
return x.value
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
class MIMEVersion(TokenList):
|
|
681
|
+
|
|
682
|
+
token_type = 'mime-version'
|
|
683
|
+
major = None
|
|
684
|
+
minor = None
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
class Parameter(TokenList):
|
|
688
|
+
|
|
689
|
+
token_type = 'parameter'
|
|
690
|
+
sectioned = False
|
|
691
|
+
extended = False
|
|
692
|
+
charset = 'us-ascii'
|
|
693
|
+
|
|
694
|
+
@property
|
|
695
|
+
def section_number(self):
|
|
696
|
+
# Because the first token, the attribute (name) eats CFWS, the second
|
|
697
|
+
# token is always the section if there is one.
|
|
698
|
+
return self[1].number if self.sectioned else 0
|
|
699
|
+
|
|
700
|
+
@property
|
|
701
|
+
def param_value(self):
|
|
702
|
+
# This is part of the "handle quoted extended parameters" hack.
|
|
703
|
+
for token in self:
|
|
704
|
+
if token.token_type == 'value':
|
|
705
|
+
return token.stripped_value
|
|
706
|
+
if token.token_type == 'quoted-string':
|
|
707
|
+
for token in token:
|
|
708
|
+
if token.token_type == 'bare-quoted-string':
|
|
709
|
+
for token in token:
|
|
710
|
+
if token.token_type == 'value':
|
|
711
|
+
return token.stripped_value
|
|
712
|
+
return ''
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
class InvalidParameter(Parameter):
|
|
716
|
+
|
|
717
|
+
token_type = 'invalid-parameter'
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
class Attribute(TokenList):
|
|
721
|
+
|
|
722
|
+
token_type = 'attribute'
|
|
723
|
+
|
|
724
|
+
@property
|
|
725
|
+
def stripped_value(self):
|
|
726
|
+
for token in self:
|
|
727
|
+
if token.token_type.endswith('attrtext'):
|
|
728
|
+
return token.value
|
|
729
|
+
|
|
730
|
+
class Section(TokenList):
|
|
731
|
+
|
|
732
|
+
token_type = 'section'
|
|
733
|
+
number = None
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
class Value(TokenList):
|
|
737
|
+
|
|
738
|
+
token_type = 'value'
|
|
739
|
+
|
|
740
|
+
@property
|
|
741
|
+
def stripped_value(self):
|
|
742
|
+
token = self[0]
|
|
743
|
+
if token.token_type == 'cfws':
|
|
744
|
+
token = self[1]
|
|
745
|
+
if token.token_type.endswith(
|
|
746
|
+
('quoted-string', 'attribute', 'extended-attribute')):
|
|
747
|
+
return token.stripped_value
|
|
748
|
+
return self.value
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
class MimeParameters(TokenList):
|
|
752
|
+
|
|
753
|
+
token_type = 'mime-parameters'
|
|
754
|
+
syntactic_break = False
|
|
755
|
+
|
|
756
|
+
@property
|
|
757
|
+
def params(self):
|
|
758
|
+
# The RFC specifically states that the ordering of parameters is not
|
|
759
|
+
# guaranteed and may be reordered by the transport layer. So we have
|
|
760
|
+
# to assume the RFC 2231 pieces can come in any order. However, we
|
|
761
|
+
# output them in the order that we first see a given name, which gives
|
|
762
|
+
# us a stable __str__.
|
|
763
|
+
params = {} # Using order preserving dict from Python 3.7+
|
|
764
|
+
for token in self:
|
|
765
|
+
if not token.token_type.endswith('parameter'):
|
|
766
|
+
continue
|
|
767
|
+
if token[0].token_type != 'attribute':
|
|
768
|
+
continue
|
|
769
|
+
name = token[0].value.strip()
|
|
770
|
+
if name not in params:
|
|
771
|
+
params[name] = []
|
|
772
|
+
params[name].append((token.section_number, token))
|
|
773
|
+
for name, parts in params.items():
|
|
774
|
+
parts = sorted(parts, key=itemgetter(0))
|
|
775
|
+
first_param = parts[0][1]
|
|
776
|
+
charset = first_param.charset
|
|
777
|
+
# Our arbitrary error recovery is to ignore duplicate parameters,
|
|
778
|
+
# to use appearance order if there are duplicate rfc 2231 parts,
|
|
779
|
+
# and to ignore gaps. This mimics the error recovery of get_param.
|
|
780
|
+
if not first_param.extended and len(parts) > 1:
|
|
781
|
+
if parts[1][0] == 0:
|
|
782
|
+
parts[1][1].defects.append(errors.InvalidHeaderDefect(
|
|
783
|
+
'duplicate parameter name; duplicate(s) ignored'))
|
|
784
|
+
parts = parts[:1]
|
|
785
|
+
# Else assume the *0* was missing...note that this is different
|
|
786
|
+
# from get_param, but we registered a defect for this earlier.
|
|
787
|
+
value_parts = []
|
|
788
|
+
i = 0
|
|
789
|
+
for section_number, param in parts:
|
|
790
|
+
if section_number != i:
|
|
791
|
+
# We could get fancier here and look for a complete
|
|
792
|
+
# duplicate extended parameter and ignore the second one
|
|
793
|
+
# seen. But we're not doing that. The old code didn't.
|
|
794
|
+
if not param.extended:
|
|
795
|
+
param.defects.append(errors.InvalidHeaderDefect(
|
|
796
|
+
'duplicate parameter name; duplicate ignored'))
|
|
797
|
+
continue
|
|
798
|
+
else:
|
|
799
|
+
param.defects.append(errors.InvalidHeaderDefect(
|
|
800
|
+
"inconsistent RFC2231 parameter numbering"))
|
|
801
|
+
i += 1
|
|
802
|
+
value = param.param_value
|
|
803
|
+
if param.extended:
|
|
804
|
+
try:
|
|
805
|
+
value = urllib.parse.unquote_to_bytes(value)
|
|
806
|
+
except UnicodeEncodeError:
|
|
807
|
+
# source had surrogate escaped bytes. What we do now
|
|
808
|
+
# is a bit of an open question. I'm not sure this is
|
|
809
|
+
# the best choice, but it is what the old algorithm did
|
|
810
|
+
value = urllib.parse.unquote(value, encoding='latin-1')
|
|
811
|
+
else:
|
|
812
|
+
try:
|
|
813
|
+
value = value.decode(charset, 'surrogateescape')
|
|
814
|
+
except (LookupError, UnicodeEncodeError):
|
|
815
|
+
# XXX: there should really be a custom defect for
|
|
816
|
+
# unknown character set to make it easy to find,
|
|
817
|
+
# because otherwise unknown charset is a silent
|
|
818
|
+
# failure.
|
|
819
|
+
value = value.decode('us-ascii', 'surrogateescape')
|
|
820
|
+
if utils._has_surrogates(value):
|
|
821
|
+
param.defects.append(errors.UndecodableBytesDefect())
|
|
822
|
+
value_parts.append(value)
|
|
823
|
+
value = ''.join(value_parts)
|
|
824
|
+
yield name, value
|
|
825
|
+
|
|
826
|
+
def __str__(self):
|
|
827
|
+
params = []
|
|
828
|
+
for name, value in self.params:
|
|
829
|
+
if value:
|
|
830
|
+
params.append('{}={}'.format(name, quote_string(value)))
|
|
831
|
+
else:
|
|
832
|
+
params.append(name)
|
|
833
|
+
params = '; '.join(params)
|
|
834
|
+
return ' ' + params if params else ''
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
class ParameterizedHeaderValue(TokenList):
|
|
838
|
+
|
|
839
|
+
# Set this false so that the value doesn't wind up on a new line even
|
|
840
|
+
# if it and the parameters would fit there but not on the first line.
|
|
841
|
+
syntactic_break = False
|
|
842
|
+
|
|
843
|
+
@property
|
|
844
|
+
def params(self):
|
|
845
|
+
for token in reversed(self):
|
|
846
|
+
if token.token_type == 'mime-parameters':
|
|
847
|
+
return token.params
|
|
848
|
+
return {}
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
class ContentType(ParameterizedHeaderValue):
|
|
852
|
+
token_type = 'content-type'
|
|
853
|
+
as_ew_allowed = False
|
|
854
|
+
maintype = 'text'
|
|
855
|
+
subtype = 'plain'
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
class ContentDisposition(ParameterizedHeaderValue):
|
|
859
|
+
token_type = 'content-disposition'
|
|
860
|
+
as_ew_allowed = False
|
|
861
|
+
content_disposition = None
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
class ContentTransferEncoding(TokenList):
|
|
865
|
+
token_type = 'content-transfer-encoding'
|
|
866
|
+
as_ew_allowed = False
|
|
867
|
+
cte = '7bit'
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
class HeaderLabel(TokenList):
|
|
871
|
+
token_type = 'header-label'
|
|
872
|
+
as_ew_allowed = False
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
class MsgID(TokenList):
|
|
876
|
+
token_type = 'msg-id'
|
|
877
|
+
as_ew_allowed = False
|
|
878
|
+
|
|
879
|
+
def fold(self, policy):
|
|
880
|
+
# message-id tokens may not be folded.
|
|
881
|
+
return str(self) + policy.linesep
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
class MessageID(MsgID):
|
|
885
|
+
token_type = 'message-id'
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
class InvalidMessageID(MessageID):
|
|
889
|
+
token_type = 'invalid-message-id'
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
class Header(TokenList):
|
|
893
|
+
token_type = 'header'
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
#
|
|
897
|
+
# Terminal classes and instances
|
|
898
|
+
#
|
|
899
|
+
|
|
900
|
+
class Terminal(str):
|
|
901
|
+
|
|
902
|
+
as_ew_allowed = True
|
|
903
|
+
ew_combine_allowed = True
|
|
904
|
+
syntactic_break = True
|
|
905
|
+
|
|
906
|
+
def __new__(cls, value, token_type):
|
|
907
|
+
self = super().__new__(cls, value)
|
|
908
|
+
self.token_type = token_type
|
|
909
|
+
self.defects = []
|
|
910
|
+
return self
|
|
911
|
+
|
|
912
|
+
def __repr__(self):
|
|
913
|
+
return "{}({})".format(self.__class__.__name__, super().__repr__())
|
|
914
|
+
|
|
915
|
+
def pprint(self):
|
|
916
|
+
print(self.__class__.__name__ + '/' + self.token_type)
|
|
917
|
+
|
|
918
|
+
@property
|
|
919
|
+
def all_defects(self):
|
|
920
|
+
return list(self.defects)
|
|
921
|
+
|
|
922
|
+
def _pp(self, indent=''):
|
|
923
|
+
return ["{}{}/{}({}){}".format(
|
|
924
|
+
indent,
|
|
925
|
+
self.__class__.__name__,
|
|
926
|
+
self.token_type,
|
|
927
|
+
super().__repr__(),
|
|
928
|
+
'' if not self.defects else ' {}'.format(self.defects),
|
|
929
|
+
)]
|
|
930
|
+
|
|
931
|
+
def pop_trailing_ws(self):
|
|
932
|
+
# This terminates the recursion.
|
|
933
|
+
return None
|
|
934
|
+
|
|
935
|
+
@property
|
|
936
|
+
def comments(self):
|
|
937
|
+
return []
|
|
938
|
+
|
|
939
|
+
def contains_token_type(self, *token_types):
|
|
940
|
+
return self.token_type in token_types
|
|
941
|
+
|
|
942
|
+
def __getnewargs__(self):
|
|
943
|
+
return(str(self), self.token_type)
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
class WhiteSpaceTerminal(Terminal):
|
|
947
|
+
|
|
948
|
+
@property
|
|
949
|
+
def value(self):
|
|
950
|
+
return ' '
|
|
951
|
+
|
|
952
|
+
def startswith_fws(self):
|
|
953
|
+
return self and self[0] in WSP
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
class ValueTerminal(Terminal):
|
|
957
|
+
|
|
958
|
+
@property
|
|
959
|
+
def value(self):
|
|
960
|
+
return self
|
|
961
|
+
|
|
962
|
+
def startswith_fws(self):
|
|
963
|
+
return False
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
class EWWhiteSpaceTerminal(WhiteSpaceTerminal):
|
|
967
|
+
|
|
968
|
+
@property
|
|
969
|
+
def value(self):
|
|
970
|
+
return ''
|
|
971
|
+
|
|
972
|
+
def __str__(self):
|
|
973
|
+
return ''
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
class _InvalidEwError(errors.HeaderParseError):
|
|
977
|
+
"""Invalid encoded word found while parsing headers."""
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
# XXX these need to become classes and used as instances so
|
|
981
|
+
# that a program can't change them in a parse tree and screw
|
|
982
|
+
# up other parse trees. Maybe should have tests for that, too.
|
|
983
|
+
DOT = ValueTerminal('.', 'dot')
|
|
984
|
+
ListSeparator = ValueTerminal(',', 'list-separator')
|
|
985
|
+
ListSeparator.as_ew_allowed = False
|
|
986
|
+
ListSeparator.syntactic_break = False
|
|
987
|
+
RouteComponentMarker = ValueTerminal('@', 'route-component-marker')
|
|
988
|
+
|
|
989
|
+
#
|
|
990
|
+
# Parser
|
|
991
|
+
#
|
|
992
|
+
|
|
993
|
+
# Parse strings according to RFC822/2047/2822/5322 rules.
|
|
994
|
+
#
|
|
995
|
+
# This is a stateless parser. Each get_XXX function accepts a string and
|
|
996
|
+
# returns either a Terminal or a TokenList representing the RFC object named
|
|
997
|
+
# by the method and a string containing the remaining unparsed characters
|
|
998
|
+
# from the input. Thus a parser method consumes the next syntactic construct
|
|
999
|
+
# of a given type and returns a token representing the construct plus the
|
|
1000
|
+
# unparsed remainder of the input string.
|
|
1001
|
+
#
|
|
1002
|
+
# For example, if the first element of a structured header is a 'phrase',
|
|
1003
|
+
# then:
|
|
1004
|
+
#
|
|
1005
|
+
# phrase, value = get_phrase(value)
|
|
1006
|
+
#
|
|
1007
|
+
# returns the complete phrase from the start of the string value, plus any
|
|
1008
|
+
# characters left in the string after the phrase is removed.
|
|
1009
|
+
|
|
1010
|
+
_wsp_splitter = re.compile(r'([{}]+)'.format(''.join(WSP))).split
|
|
1011
|
+
_non_atom_end_matcher = re.compile(r"[^{}]+".format(
|
|
1012
|
+
re.escape(''.join(ATOM_ENDS)))).match
|
|
1013
|
+
_non_printable_finder = re.compile(r"[\x00-\x20\x7F]").findall
|
|
1014
|
+
_non_token_end_matcher = re.compile(r"[^{}]+".format(
|
|
1015
|
+
re.escape(''.join(TOKEN_ENDS)))).match
|
|
1016
|
+
_non_attribute_end_matcher = re.compile(r"[^{}]+".format(
|
|
1017
|
+
re.escape(''.join(ATTRIBUTE_ENDS)))).match
|
|
1018
|
+
_non_extended_attribute_end_matcher = re.compile(r"[^{}]+".format(
|
|
1019
|
+
re.escape(''.join(EXTENDED_ATTRIBUTE_ENDS)))).match
|
|
1020
|
+
|
|
1021
|
+
def _validate_xtext(xtext):
|
|
1022
|
+
"""If input token contains ASCII non-printables, register a defect."""
|
|
1023
|
+
|
|
1024
|
+
non_printables = _non_printable_finder(xtext)
|
|
1025
|
+
if non_printables:
|
|
1026
|
+
xtext.defects.append(errors.NonPrintableDefect(non_printables))
|
|
1027
|
+
if utils._has_surrogates(xtext):
|
|
1028
|
+
xtext.defects.append(errors.UndecodableBytesDefect(
|
|
1029
|
+
"Non-ASCII characters found in header token"))
|
|
1030
|
+
|
|
1031
|
+
def _get_ptext_to_endchars(value, endchars):
|
|
1032
|
+
"""Scan printables/quoted-pairs until endchars and return unquoted ptext.
|
|
1033
|
+
|
|
1034
|
+
This function turns a run of qcontent, ccontent-without-comments, or
|
|
1035
|
+
dtext-with-quoted-printables into a single string by unquoting any
|
|
1036
|
+
quoted printables. It returns the string, the remaining value, and
|
|
1037
|
+
a flag that is True iff there were any quoted printables decoded.
|
|
1038
|
+
|
|
1039
|
+
"""
|
|
1040
|
+
fragment, *remainder = _wsp_splitter(value, 1)
|
|
1041
|
+
vchars = []
|
|
1042
|
+
escape = False
|
|
1043
|
+
had_qp = False
|
|
1044
|
+
for pos in range(len(fragment)):
|
|
1045
|
+
if fragment[pos] == '\\':
|
|
1046
|
+
if escape:
|
|
1047
|
+
escape = False
|
|
1048
|
+
had_qp = True
|
|
1049
|
+
else:
|
|
1050
|
+
escape = True
|
|
1051
|
+
continue
|
|
1052
|
+
if escape:
|
|
1053
|
+
escape = False
|
|
1054
|
+
elif fragment[pos] in endchars:
|
|
1055
|
+
break
|
|
1056
|
+
vchars.append(fragment[pos])
|
|
1057
|
+
else:
|
|
1058
|
+
pos = pos + 1
|
|
1059
|
+
return ''.join(vchars), ''.join([fragment[pos:]] + remainder), had_qp
|
|
1060
|
+
|
|
1061
|
+
def get_fws(value):
|
|
1062
|
+
"""FWS = 1*WSP
|
|
1063
|
+
|
|
1064
|
+
This isn't the RFC definition. We're using fws to represent tokens where
|
|
1065
|
+
folding can be done, but when we are parsing the *un*folding has already
|
|
1066
|
+
been done so we don't need to watch out for CRLF.
|
|
1067
|
+
|
|
1068
|
+
"""
|
|
1069
|
+
newvalue = value.lstrip()
|
|
1070
|
+
fws = WhiteSpaceTerminal(value[:len(value)-len(newvalue)], 'fws')
|
|
1071
|
+
return fws, newvalue
|
|
1072
|
+
|
|
1073
|
+
def get_encoded_word(value, terminal_type='vtext'):
|
|
1074
|
+
""" encoded-word = "=?" charset "?" encoding "?" encoded-text "?="
|
|
1075
|
+
|
|
1076
|
+
"""
|
|
1077
|
+
ew = EncodedWord()
|
|
1078
|
+
if not value.startswith('=?'):
|
|
1079
|
+
raise errors.HeaderParseError(
|
|
1080
|
+
"expected encoded word but found {}".format(value))
|
|
1081
|
+
tok, *remainder = value[2:].split('?=', 1)
|
|
1082
|
+
if tok == value[2:]:
|
|
1083
|
+
raise errors.HeaderParseError(
|
|
1084
|
+
"expected encoded word but found {}".format(value))
|
|
1085
|
+
remstr = ''.join(remainder)
|
|
1086
|
+
if (len(remstr) > 1 and
|
|
1087
|
+
remstr[0] in hexdigits and
|
|
1088
|
+
remstr[1] in hexdigits and
|
|
1089
|
+
tok.count('?') < 2):
|
|
1090
|
+
# The ? after the CTE was followed by an encoded word escape (=XX).
|
|
1091
|
+
rest, *remainder = remstr.split('?=', 1)
|
|
1092
|
+
tok = tok + '?=' + rest
|
|
1093
|
+
if len(tok.split()) > 1:
|
|
1094
|
+
ew.defects.append(errors.InvalidHeaderDefect(
|
|
1095
|
+
"whitespace inside encoded word"))
|
|
1096
|
+
ew.cte = value
|
|
1097
|
+
value = ''.join(remainder)
|
|
1098
|
+
try:
|
|
1099
|
+
text, charset, lang, defects = _ew.decode('=?' + tok + '?=')
|
|
1100
|
+
except (ValueError, KeyError):
|
|
1101
|
+
raise _InvalidEwError(
|
|
1102
|
+
"encoded word format invalid: '{}'".format(ew.cte))
|
|
1103
|
+
ew.charset = charset
|
|
1104
|
+
ew.lang = lang
|
|
1105
|
+
ew.defects.extend(defects)
|
|
1106
|
+
while text:
|
|
1107
|
+
if text[0] in WSP:
|
|
1108
|
+
token, text = get_fws(text)
|
|
1109
|
+
ew.append(token)
|
|
1110
|
+
continue
|
|
1111
|
+
chars, *remainder = _wsp_splitter(text, 1)
|
|
1112
|
+
vtext = ValueTerminal(chars, terminal_type)
|
|
1113
|
+
_validate_xtext(vtext)
|
|
1114
|
+
ew.append(vtext)
|
|
1115
|
+
text = ''.join(remainder)
|
|
1116
|
+
# Encoded words should be followed by a WS
|
|
1117
|
+
if value and value[0] not in WSP:
|
|
1118
|
+
ew.defects.append(errors.InvalidHeaderDefect(
|
|
1119
|
+
"missing trailing whitespace after encoded-word"))
|
|
1120
|
+
return ew, value
|
|
1121
|
+
|
|
1122
|
+
def get_unstructured(value):
|
|
1123
|
+
"""unstructured = (*([FWS] vchar) *WSP) / obs-unstruct
|
|
1124
|
+
obs-unstruct = *((*LF *CR *(obs-utext) *LF *CR)) / FWS)
|
|
1125
|
+
obs-utext = %d0 / obs-NO-WS-CTL / LF / CR
|
|
1126
|
+
|
|
1127
|
+
obs-NO-WS-CTL is control characters except WSP/CR/LF.
|
|
1128
|
+
|
|
1129
|
+
So, basically, we have printable runs, plus control characters or nulls in
|
|
1130
|
+
the obsolete syntax, separated by whitespace. Since RFC 2047 uses the
|
|
1131
|
+
obsolete syntax in its specification, but requires whitespace on either
|
|
1132
|
+
side of the encoded words, I can see no reason to need to separate the
|
|
1133
|
+
non-printable-non-whitespace from the printable runs if they occur, so we
|
|
1134
|
+
parse this into xtext tokens separated by WSP tokens.
|
|
1135
|
+
|
|
1136
|
+
Because an 'unstructured' value must by definition constitute the entire
|
|
1137
|
+
value, this 'get' routine does not return a remaining value, only the
|
|
1138
|
+
parsed TokenList.
|
|
1139
|
+
|
|
1140
|
+
"""
|
|
1141
|
+
# XXX: but what about bare CR and LF? They might signal the start or
|
|
1142
|
+
# end of an encoded word. YAGNI for now, since our current parsers
|
|
1143
|
+
# will never send us strings with bare CR or LF.
|
|
1144
|
+
|
|
1145
|
+
unstructured = UnstructuredTokenList()
|
|
1146
|
+
while value:
|
|
1147
|
+
if value[0] in WSP:
|
|
1148
|
+
token, value = get_fws(value)
|
|
1149
|
+
unstructured.append(token)
|
|
1150
|
+
continue
|
|
1151
|
+
valid_ew = True
|
|
1152
|
+
if value.startswith('=?'):
|
|
1153
|
+
try:
|
|
1154
|
+
token, value = get_encoded_word(value, 'utext')
|
|
1155
|
+
except _InvalidEwError:
|
|
1156
|
+
valid_ew = False
|
|
1157
|
+
except errors.HeaderParseError:
|
|
1158
|
+
# XXX: Need to figure out how to register defects when
|
|
1159
|
+
# appropriate here.
|
|
1160
|
+
pass
|
|
1161
|
+
else:
|
|
1162
|
+
have_ws = True
|
|
1163
|
+
if len(unstructured) > 0:
|
|
1164
|
+
if unstructured[-1].token_type != 'fws':
|
|
1165
|
+
unstructured.defects.append(errors.InvalidHeaderDefect(
|
|
1166
|
+
"missing whitespace before encoded word"))
|
|
1167
|
+
have_ws = False
|
|
1168
|
+
if have_ws and len(unstructured) > 1:
|
|
1169
|
+
if unstructured[-2].token_type == 'encoded-word':
|
|
1170
|
+
unstructured[-1] = EWWhiteSpaceTerminal(
|
|
1171
|
+
unstructured[-1], 'fws')
|
|
1172
|
+
unstructured.append(token)
|
|
1173
|
+
continue
|
|
1174
|
+
tok, *remainder = _wsp_splitter(value, 1)
|
|
1175
|
+
# Split in the middle of an atom if there is a rfc2047 encoded word
|
|
1176
|
+
# which does not have WSP on both sides. The defect will be registered
|
|
1177
|
+
# the next time through the loop.
|
|
1178
|
+
# This needs to only be performed when the encoded word is valid;
|
|
1179
|
+
# otherwise, performing it on an invalid encoded word can cause
|
|
1180
|
+
# the parser to go in an infinite loop.
|
|
1181
|
+
if valid_ew and rfc2047_matcher.search(tok):
|
|
1182
|
+
tok, *remainder = value.partition('=?')
|
|
1183
|
+
vtext = ValueTerminal(tok, 'utext')
|
|
1184
|
+
_validate_xtext(vtext)
|
|
1185
|
+
unstructured.append(vtext)
|
|
1186
|
+
value = ''.join(remainder)
|
|
1187
|
+
return unstructured
|
|
1188
|
+
|
|
1189
|
+
def get_qp_ctext(value):
|
|
1190
|
+
r"""ctext = <printable ascii except \ ( )>
|
|
1191
|
+
|
|
1192
|
+
This is not the RFC ctext, since we are handling nested comments in comment
|
|
1193
|
+
and unquoting quoted-pairs here. We allow anything except the '()'
|
|
1194
|
+
characters, but if we find any ASCII other than the RFC defined printable
|
|
1195
|
+
ASCII, a NonPrintableDefect is added to the token's defects list. Since
|
|
1196
|
+
quoted pairs are converted to their unquoted values, what is returned is
|
|
1197
|
+
a 'ptext' token. In this case it is a WhiteSpaceTerminal, so it's value
|
|
1198
|
+
is ' '.
|
|
1199
|
+
|
|
1200
|
+
"""
|
|
1201
|
+
ptext, value, _ = _get_ptext_to_endchars(value, '()')
|
|
1202
|
+
ptext = WhiteSpaceTerminal(ptext, 'ptext')
|
|
1203
|
+
_validate_xtext(ptext)
|
|
1204
|
+
return ptext, value
|
|
1205
|
+
|
|
1206
|
+
def get_qcontent(value):
|
|
1207
|
+
"""qcontent = qtext / quoted-pair
|
|
1208
|
+
|
|
1209
|
+
We allow anything except the DQUOTE character, but if we find any ASCII
|
|
1210
|
+
other than the RFC defined printable ASCII, a NonPrintableDefect is
|
|
1211
|
+
added to the token's defects list. Any quoted pairs are converted to their
|
|
1212
|
+
unquoted values, so what is returned is a 'ptext' token. In this case it
|
|
1213
|
+
is a ValueTerminal.
|
|
1214
|
+
|
|
1215
|
+
"""
|
|
1216
|
+
ptext, value, _ = _get_ptext_to_endchars(value, '"')
|
|
1217
|
+
ptext = ValueTerminal(ptext, 'ptext')
|
|
1218
|
+
_validate_xtext(ptext)
|
|
1219
|
+
return ptext, value
|
|
1220
|
+
|
|
1221
|
+
def get_atext(value):
|
|
1222
|
+
"""atext = <matches _atext_matcher>
|
|
1223
|
+
|
|
1224
|
+
We allow any non-ATOM_ENDS in atext, but add an InvalidATextDefect to
|
|
1225
|
+
the token's defects list if we find non-atext characters.
|
|
1226
|
+
"""
|
|
1227
|
+
m = _non_atom_end_matcher(value)
|
|
1228
|
+
if not m:
|
|
1229
|
+
raise errors.HeaderParseError(
|
|
1230
|
+
"expected atext but found '{}'".format(value))
|
|
1231
|
+
atext = m.group()
|
|
1232
|
+
value = value[len(atext):]
|
|
1233
|
+
atext = ValueTerminal(atext, 'atext')
|
|
1234
|
+
_validate_xtext(atext)
|
|
1235
|
+
return atext, value
|
|
1236
|
+
|
|
1237
|
+
def get_bare_quoted_string(value):
|
|
1238
|
+
"""bare-quoted-string = DQUOTE *([FWS] qcontent) [FWS] DQUOTE
|
|
1239
|
+
|
|
1240
|
+
A quoted-string without the leading or trailing white space. Its
|
|
1241
|
+
value is the text between the quote marks, with whitespace
|
|
1242
|
+
preserved and quoted pairs decoded.
|
|
1243
|
+
"""
|
|
1244
|
+
if not value or value[0] != '"':
|
|
1245
|
+
raise errors.HeaderParseError(
|
|
1246
|
+
"expected '\"' but found '{}'".format(value))
|
|
1247
|
+
bare_quoted_string = BareQuotedString()
|
|
1248
|
+
value = value[1:]
|
|
1249
|
+
if value and value[0] == '"':
|
|
1250
|
+
token, value = get_qcontent(value)
|
|
1251
|
+
bare_quoted_string.append(token)
|
|
1252
|
+
while value and value[0] != '"':
|
|
1253
|
+
if value[0] in WSP:
|
|
1254
|
+
token, value = get_fws(value)
|
|
1255
|
+
elif value[:2] == '=?':
|
|
1256
|
+
valid_ew = False
|
|
1257
|
+
try:
|
|
1258
|
+
token, value = get_encoded_word(value)
|
|
1259
|
+
bare_quoted_string.defects.append(errors.InvalidHeaderDefect(
|
|
1260
|
+
"encoded word inside quoted string"))
|
|
1261
|
+
valid_ew = True
|
|
1262
|
+
except errors.HeaderParseError:
|
|
1263
|
+
token, value = get_qcontent(value)
|
|
1264
|
+
# Collapse the whitespace between two encoded words that occur in a
|
|
1265
|
+
# bare-quoted-string.
|
|
1266
|
+
if valid_ew and len(bare_quoted_string) > 1:
|
|
1267
|
+
if (bare_quoted_string[-1].token_type == 'fws' and
|
|
1268
|
+
bare_quoted_string[-2].token_type == 'encoded-word'):
|
|
1269
|
+
bare_quoted_string[-1] = EWWhiteSpaceTerminal(
|
|
1270
|
+
bare_quoted_string[-1], 'fws')
|
|
1271
|
+
else:
|
|
1272
|
+
token, value = get_qcontent(value)
|
|
1273
|
+
bare_quoted_string.append(token)
|
|
1274
|
+
if not value:
|
|
1275
|
+
bare_quoted_string.defects.append(errors.InvalidHeaderDefect(
|
|
1276
|
+
"end of header inside quoted string"))
|
|
1277
|
+
return bare_quoted_string, value
|
|
1278
|
+
return bare_quoted_string, value[1:]
|
|
1279
|
+
|
|
1280
|
+
def get_comment(value):
|
|
1281
|
+
"""comment = "(" *([FWS] ccontent) [FWS] ")"
|
|
1282
|
+
ccontent = ctext / quoted-pair / comment
|
|
1283
|
+
|
|
1284
|
+
We handle nested comments here, and quoted-pair in our qp-ctext routine.
|
|
1285
|
+
"""
|
|
1286
|
+
if value and value[0] != '(':
|
|
1287
|
+
raise errors.HeaderParseError(
|
|
1288
|
+
"expected '(' but found '{}'".format(value))
|
|
1289
|
+
comment = Comment()
|
|
1290
|
+
value = value[1:]
|
|
1291
|
+
while value and value[0] != ")":
|
|
1292
|
+
if value[0] in WSP:
|
|
1293
|
+
token, value = get_fws(value)
|
|
1294
|
+
elif value[0] == '(':
|
|
1295
|
+
token, value = get_comment(value)
|
|
1296
|
+
else:
|
|
1297
|
+
token, value = get_qp_ctext(value)
|
|
1298
|
+
comment.append(token)
|
|
1299
|
+
if not value:
|
|
1300
|
+
comment.defects.append(errors.InvalidHeaderDefect(
|
|
1301
|
+
"end of header inside comment"))
|
|
1302
|
+
return comment, value
|
|
1303
|
+
return comment, value[1:]
|
|
1304
|
+
|
|
1305
|
+
def get_cfws(value):
|
|
1306
|
+
"""CFWS = (1*([FWS] comment) [FWS]) / FWS
|
|
1307
|
+
|
|
1308
|
+
"""
|
|
1309
|
+
cfws = CFWSList()
|
|
1310
|
+
while value and value[0] in CFWS_LEADER:
|
|
1311
|
+
if value[0] in WSP:
|
|
1312
|
+
token, value = get_fws(value)
|
|
1313
|
+
else:
|
|
1314
|
+
token, value = get_comment(value)
|
|
1315
|
+
cfws.append(token)
|
|
1316
|
+
return cfws, value
|
|
1317
|
+
|
|
1318
|
+
def get_quoted_string(value):
|
|
1319
|
+
"""quoted-string = [CFWS] <bare-quoted-string> [CFWS]
|
|
1320
|
+
|
|
1321
|
+
'bare-quoted-string' is an intermediate class defined by this
|
|
1322
|
+
parser and not by the RFC grammar. It is the quoted string
|
|
1323
|
+
without any attached CFWS.
|
|
1324
|
+
"""
|
|
1325
|
+
quoted_string = QuotedString()
|
|
1326
|
+
if value and value[0] in CFWS_LEADER:
|
|
1327
|
+
token, value = get_cfws(value)
|
|
1328
|
+
quoted_string.append(token)
|
|
1329
|
+
token, value = get_bare_quoted_string(value)
|
|
1330
|
+
quoted_string.append(token)
|
|
1331
|
+
if value and value[0] in CFWS_LEADER:
|
|
1332
|
+
token, value = get_cfws(value)
|
|
1333
|
+
quoted_string.append(token)
|
|
1334
|
+
return quoted_string, value
|
|
1335
|
+
|
|
1336
|
+
def get_atom(value):
|
|
1337
|
+
"""atom = [CFWS] 1*atext [CFWS]
|
|
1338
|
+
|
|
1339
|
+
An atom could be an rfc2047 encoded word.
|
|
1340
|
+
"""
|
|
1341
|
+
atom = Atom()
|
|
1342
|
+
if value and value[0] in CFWS_LEADER:
|
|
1343
|
+
token, value = get_cfws(value)
|
|
1344
|
+
atom.append(token)
|
|
1345
|
+
if value and value[0] in ATOM_ENDS:
|
|
1346
|
+
raise errors.HeaderParseError(
|
|
1347
|
+
"expected atom but found '{}'".format(value))
|
|
1348
|
+
if value.startswith('=?'):
|
|
1349
|
+
try:
|
|
1350
|
+
token, value = get_encoded_word(value)
|
|
1351
|
+
except errors.HeaderParseError:
|
|
1352
|
+
# XXX: need to figure out how to register defects when
|
|
1353
|
+
# appropriate here.
|
|
1354
|
+
token, value = get_atext(value)
|
|
1355
|
+
else:
|
|
1356
|
+
token, value = get_atext(value)
|
|
1357
|
+
atom.append(token)
|
|
1358
|
+
if value and value[0] in CFWS_LEADER:
|
|
1359
|
+
token, value = get_cfws(value)
|
|
1360
|
+
atom.append(token)
|
|
1361
|
+
return atom, value
|
|
1362
|
+
|
|
1363
|
+
def get_dot_atom_text(value):
|
|
1364
|
+
""" dot-text = 1*atext *("." 1*atext)
|
|
1365
|
+
|
|
1366
|
+
"""
|
|
1367
|
+
dot_atom_text = DotAtomText()
|
|
1368
|
+
if not value or value[0] in ATOM_ENDS:
|
|
1369
|
+
raise errors.HeaderParseError("expected atom at a start of "
|
|
1370
|
+
"dot-atom-text but found '{}'".format(value))
|
|
1371
|
+
while value and value[0] not in ATOM_ENDS:
|
|
1372
|
+
token, value = get_atext(value)
|
|
1373
|
+
dot_atom_text.append(token)
|
|
1374
|
+
if value and value[0] == '.':
|
|
1375
|
+
dot_atom_text.append(DOT)
|
|
1376
|
+
value = value[1:]
|
|
1377
|
+
if dot_atom_text[-1] is DOT:
|
|
1378
|
+
raise errors.HeaderParseError("expected atom at end of dot-atom-text "
|
|
1379
|
+
"but found '{}'".format('.'+value))
|
|
1380
|
+
return dot_atom_text, value
|
|
1381
|
+
|
|
1382
|
+
def get_dot_atom(value):
|
|
1383
|
+
""" dot-atom = [CFWS] dot-atom-text [CFWS]
|
|
1384
|
+
|
|
1385
|
+
Any place we can have a dot atom, we could instead have an rfc2047 encoded
|
|
1386
|
+
word.
|
|
1387
|
+
"""
|
|
1388
|
+
dot_atom = DotAtom()
|
|
1389
|
+
if value[0] in CFWS_LEADER:
|
|
1390
|
+
token, value = get_cfws(value)
|
|
1391
|
+
dot_atom.append(token)
|
|
1392
|
+
if value.startswith('=?'):
|
|
1393
|
+
try:
|
|
1394
|
+
token, value = get_encoded_word(value)
|
|
1395
|
+
except errors.HeaderParseError:
|
|
1396
|
+
# XXX: need to figure out how to register defects when
|
|
1397
|
+
# appropriate here.
|
|
1398
|
+
token, value = get_dot_atom_text(value)
|
|
1399
|
+
else:
|
|
1400
|
+
token, value = get_dot_atom_text(value)
|
|
1401
|
+
dot_atom.append(token)
|
|
1402
|
+
if value and value[0] in CFWS_LEADER:
|
|
1403
|
+
token, value = get_cfws(value)
|
|
1404
|
+
dot_atom.append(token)
|
|
1405
|
+
return dot_atom, value
|
|
1406
|
+
|
|
1407
|
+
def get_word(value):
|
|
1408
|
+
"""word = atom / quoted-string
|
|
1409
|
+
|
|
1410
|
+
Either atom or quoted-string may start with CFWS. We have to peel off this
|
|
1411
|
+
CFWS first to determine which type of word to parse. Afterward we splice
|
|
1412
|
+
the leading CFWS, if any, into the parsed sub-token.
|
|
1413
|
+
|
|
1414
|
+
If neither an atom or a quoted-string is found before the next special, a
|
|
1415
|
+
HeaderParseError is raised.
|
|
1416
|
+
|
|
1417
|
+
The token returned is either an Atom or a QuotedString, as appropriate.
|
|
1418
|
+
This means the 'word' level of the formal grammar is not represented in the
|
|
1419
|
+
parse tree; this is because having that extra layer when manipulating the
|
|
1420
|
+
parse tree is more confusing than it is helpful.
|
|
1421
|
+
|
|
1422
|
+
"""
|
|
1423
|
+
if value[0] in CFWS_LEADER:
|
|
1424
|
+
leader, value = get_cfws(value)
|
|
1425
|
+
else:
|
|
1426
|
+
leader = None
|
|
1427
|
+
if not value:
|
|
1428
|
+
raise errors.HeaderParseError(
|
|
1429
|
+
"Expected 'atom' or 'quoted-string' but found nothing.")
|
|
1430
|
+
if value[0]=='"':
|
|
1431
|
+
token, value = get_quoted_string(value)
|
|
1432
|
+
elif value[0] in SPECIALS:
|
|
1433
|
+
raise errors.HeaderParseError("Expected 'atom' or 'quoted-string' "
|
|
1434
|
+
"but found '{}'".format(value))
|
|
1435
|
+
else:
|
|
1436
|
+
token, value = get_atom(value)
|
|
1437
|
+
if leader is not None:
|
|
1438
|
+
token[:0] = [leader]
|
|
1439
|
+
return token, value
|
|
1440
|
+
|
|
1441
|
+
def get_phrase(value):
|
|
1442
|
+
""" phrase = 1*word / obs-phrase
|
|
1443
|
+
obs-phrase = word *(word / "." / CFWS)
|
|
1444
|
+
|
|
1445
|
+
This means a phrase can be a sequence of words, periods, and CFWS in any
|
|
1446
|
+
order as long as it starts with at least one word. If anything other than
|
|
1447
|
+
words is detected, an ObsoleteHeaderDefect is added to the token's defect
|
|
1448
|
+
list. We also accept a phrase that starts with CFWS followed by a dot;
|
|
1449
|
+
this is registered as an InvalidHeaderDefect, since it is not supported by
|
|
1450
|
+
even the obsolete grammar.
|
|
1451
|
+
|
|
1452
|
+
"""
|
|
1453
|
+
phrase = Phrase()
|
|
1454
|
+
try:
|
|
1455
|
+
token, value = get_word(value)
|
|
1456
|
+
phrase.append(token)
|
|
1457
|
+
except errors.HeaderParseError:
|
|
1458
|
+
phrase.defects.append(errors.InvalidHeaderDefect(
|
|
1459
|
+
"phrase does not start with word"))
|
|
1460
|
+
while value and value[0] not in PHRASE_ENDS:
|
|
1461
|
+
if value[0]=='.':
|
|
1462
|
+
phrase.append(DOT)
|
|
1463
|
+
phrase.defects.append(errors.ObsoleteHeaderDefect(
|
|
1464
|
+
"period in 'phrase'"))
|
|
1465
|
+
value = value[1:]
|
|
1466
|
+
else:
|
|
1467
|
+
try:
|
|
1468
|
+
token, value = get_word(value)
|
|
1469
|
+
except errors.HeaderParseError:
|
|
1470
|
+
if value[0] in CFWS_LEADER:
|
|
1471
|
+
token, value = get_cfws(value)
|
|
1472
|
+
phrase.defects.append(errors.ObsoleteHeaderDefect(
|
|
1473
|
+
"comment found without atom"))
|
|
1474
|
+
else:
|
|
1475
|
+
raise
|
|
1476
|
+
phrase.append(token)
|
|
1477
|
+
return phrase, value
|
|
1478
|
+
|
|
1479
|
+
def get_local_part(value):
|
|
1480
|
+
""" local-part = dot-atom / quoted-string / obs-local-part
|
|
1481
|
+
|
|
1482
|
+
"""
|
|
1483
|
+
local_part = LocalPart()
|
|
1484
|
+
leader = None
|
|
1485
|
+
if value and value[0] in CFWS_LEADER:
|
|
1486
|
+
leader, value = get_cfws(value)
|
|
1487
|
+
if not value:
|
|
1488
|
+
raise errors.HeaderParseError(
|
|
1489
|
+
"expected local-part but found '{}'".format(value))
|
|
1490
|
+
try:
|
|
1491
|
+
token, value = get_dot_atom(value)
|
|
1492
|
+
except errors.HeaderParseError:
|
|
1493
|
+
try:
|
|
1494
|
+
token, value = get_word(value)
|
|
1495
|
+
except errors.HeaderParseError:
|
|
1496
|
+
if value[0] != '\\' and value[0] in PHRASE_ENDS:
|
|
1497
|
+
raise
|
|
1498
|
+
token = TokenList()
|
|
1499
|
+
if leader is not None:
|
|
1500
|
+
token[:0] = [leader]
|
|
1501
|
+
local_part.append(token)
|
|
1502
|
+
if value and (value[0]=='\\' or value[0] not in PHRASE_ENDS):
|
|
1503
|
+
obs_local_part, value = get_obs_local_part(str(local_part) + value)
|
|
1504
|
+
if obs_local_part.token_type == 'invalid-obs-local-part':
|
|
1505
|
+
local_part.defects.append(errors.InvalidHeaderDefect(
|
|
1506
|
+
"local-part is not dot-atom, quoted-string, or obs-local-part"))
|
|
1507
|
+
else:
|
|
1508
|
+
local_part.defects.append(errors.ObsoleteHeaderDefect(
|
|
1509
|
+
"local-part is not a dot-atom (contains CFWS)"))
|
|
1510
|
+
local_part[0] = obs_local_part
|
|
1511
|
+
try:
|
|
1512
|
+
local_part.value.encode('ascii')
|
|
1513
|
+
except UnicodeEncodeError:
|
|
1514
|
+
local_part.defects.append(errors.NonASCIILocalPartDefect(
|
|
1515
|
+
"local-part contains non-ASCII characters)"))
|
|
1516
|
+
return local_part, value
|
|
1517
|
+
|
|
1518
|
+
def get_obs_local_part(value):
|
|
1519
|
+
""" obs-local-part = word *("." word)
|
|
1520
|
+
"""
|
|
1521
|
+
obs_local_part = ObsLocalPart()
|
|
1522
|
+
last_non_ws_was_dot = False
|
|
1523
|
+
while value and (value[0]=='\\' or value[0] not in PHRASE_ENDS):
|
|
1524
|
+
if value[0] == '.':
|
|
1525
|
+
if last_non_ws_was_dot:
|
|
1526
|
+
obs_local_part.defects.append(errors.InvalidHeaderDefect(
|
|
1527
|
+
"invalid repeated '.'"))
|
|
1528
|
+
obs_local_part.append(DOT)
|
|
1529
|
+
last_non_ws_was_dot = True
|
|
1530
|
+
value = value[1:]
|
|
1531
|
+
continue
|
|
1532
|
+
elif value[0]=='\\':
|
|
1533
|
+
obs_local_part.append(ValueTerminal(value[0],
|
|
1534
|
+
'misplaced-special'))
|
|
1535
|
+
value = value[1:]
|
|
1536
|
+
obs_local_part.defects.append(errors.InvalidHeaderDefect(
|
|
1537
|
+
"'\\' character outside of quoted-string/ccontent"))
|
|
1538
|
+
last_non_ws_was_dot = False
|
|
1539
|
+
continue
|
|
1540
|
+
if obs_local_part and obs_local_part[-1].token_type != 'dot':
|
|
1541
|
+
obs_local_part.defects.append(errors.InvalidHeaderDefect(
|
|
1542
|
+
"missing '.' between words"))
|
|
1543
|
+
try:
|
|
1544
|
+
token, value = get_word(value)
|
|
1545
|
+
last_non_ws_was_dot = False
|
|
1546
|
+
except errors.HeaderParseError:
|
|
1547
|
+
if value[0] not in CFWS_LEADER:
|
|
1548
|
+
raise
|
|
1549
|
+
token, value = get_cfws(value)
|
|
1550
|
+
obs_local_part.append(token)
|
|
1551
|
+
if not obs_local_part:
|
|
1552
|
+
raise errors.HeaderParseError(
|
|
1553
|
+
"expected obs-local-part but found '{}'".format(value))
|
|
1554
|
+
if (obs_local_part[0].token_type == 'dot' or
|
|
1555
|
+
obs_local_part[0].token_type=='cfws' and
|
|
1556
|
+
len(obs_local_part) > 1 and
|
|
1557
|
+
obs_local_part[1].token_type=='dot'):
|
|
1558
|
+
obs_local_part.defects.append(errors.InvalidHeaderDefect(
|
|
1559
|
+
"Invalid leading '.' in local part"))
|
|
1560
|
+
if (obs_local_part[-1].token_type == 'dot' or
|
|
1561
|
+
obs_local_part[-1].token_type=='cfws' and
|
|
1562
|
+
len(obs_local_part) > 1 and
|
|
1563
|
+
obs_local_part[-2].token_type=='dot'):
|
|
1564
|
+
obs_local_part.defects.append(errors.InvalidHeaderDefect(
|
|
1565
|
+
"Invalid trailing '.' in local part"))
|
|
1566
|
+
if obs_local_part.defects:
|
|
1567
|
+
obs_local_part.token_type = 'invalid-obs-local-part'
|
|
1568
|
+
return obs_local_part, value
|
|
1569
|
+
|
|
1570
|
+
def get_dtext(value):
|
|
1571
|
+
r""" dtext = <printable ascii except \ [ ]> / obs-dtext
|
|
1572
|
+
obs-dtext = obs-NO-WS-CTL / quoted-pair
|
|
1573
|
+
|
|
1574
|
+
We allow anything except the excluded characters, but if we find any
|
|
1575
|
+
ASCII other than the RFC defined printable ASCII, a NonPrintableDefect is
|
|
1576
|
+
added to the token's defects list. Quoted pairs are converted to their
|
|
1577
|
+
unquoted values, so what is returned is a ptext token, in this case a
|
|
1578
|
+
ValueTerminal. If there were quoted-printables, an ObsoleteHeaderDefect is
|
|
1579
|
+
added to the returned token's defect list.
|
|
1580
|
+
|
|
1581
|
+
"""
|
|
1582
|
+
ptext, value, had_qp = _get_ptext_to_endchars(value, '[]')
|
|
1583
|
+
ptext = ValueTerminal(ptext, 'ptext')
|
|
1584
|
+
if had_qp:
|
|
1585
|
+
ptext.defects.append(errors.ObsoleteHeaderDefect(
|
|
1586
|
+
"quoted printable found in domain-literal"))
|
|
1587
|
+
_validate_xtext(ptext)
|
|
1588
|
+
return ptext, value
|
|
1589
|
+
|
|
1590
|
+
def _check_for_early_dl_end(value, domain_literal):
|
|
1591
|
+
if value:
|
|
1592
|
+
return False
|
|
1593
|
+
domain_literal.append(errors.InvalidHeaderDefect(
|
|
1594
|
+
"end of input inside domain-literal"))
|
|
1595
|
+
domain_literal.append(ValueTerminal(']', 'domain-literal-end'))
|
|
1596
|
+
return True
|
|
1597
|
+
|
|
1598
|
+
def get_domain_literal(value):
|
|
1599
|
+
""" domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]
|
|
1600
|
+
|
|
1601
|
+
"""
|
|
1602
|
+
domain_literal = DomainLiteral()
|
|
1603
|
+
if value[0] in CFWS_LEADER:
|
|
1604
|
+
token, value = get_cfws(value)
|
|
1605
|
+
domain_literal.append(token)
|
|
1606
|
+
if not value:
|
|
1607
|
+
raise errors.HeaderParseError("expected domain-literal")
|
|
1608
|
+
if value[0] != '[':
|
|
1609
|
+
raise errors.HeaderParseError("expected '[' at start of domain-literal "
|
|
1610
|
+
"but found '{}'".format(value))
|
|
1611
|
+
value = value[1:]
|
|
1612
|
+
if _check_for_early_dl_end(value, domain_literal):
|
|
1613
|
+
return domain_literal, value
|
|
1614
|
+
domain_literal.append(ValueTerminal('[', 'domain-literal-start'))
|
|
1615
|
+
if value[0] in WSP:
|
|
1616
|
+
token, value = get_fws(value)
|
|
1617
|
+
domain_literal.append(token)
|
|
1618
|
+
token, value = get_dtext(value)
|
|
1619
|
+
domain_literal.append(token)
|
|
1620
|
+
if _check_for_early_dl_end(value, domain_literal):
|
|
1621
|
+
return domain_literal, value
|
|
1622
|
+
if value[0] in WSP:
|
|
1623
|
+
token, value = get_fws(value)
|
|
1624
|
+
domain_literal.append(token)
|
|
1625
|
+
if _check_for_early_dl_end(value, domain_literal):
|
|
1626
|
+
return domain_literal, value
|
|
1627
|
+
if value[0] != ']':
|
|
1628
|
+
raise errors.HeaderParseError("expected ']' at end of domain-literal "
|
|
1629
|
+
"but found '{}'".format(value))
|
|
1630
|
+
domain_literal.append(ValueTerminal(']', 'domain-literal-end'))
|
|
1631
|
+
value = value[1:]
|
|
1632
|
+
if value and value[0] in CFWS_LEADER:
|
|
1633
|
+
token, value = get_cfws(value)
|
|
1634
|
+
domain_literal.append(token)
|
|
1635
|
+
return domain_literal, value
|
|
1636
|
+
|
|
1637
|
+
def get_domain(value):
|
|
1638
|
+
""" domain = dot-atom / domain-literal / obs-domain
|
|
1639
|
+
obs-domain = atom *("." atom))
|
|
1640
|
+
|
|
1641
|
+
"""
|
|
1642
|
+
domain = Domain()
|
|
1643
|
+
leader = None
|
|
1644
|
+
if value and value[0] in CFWS_LEADER:
|
|
1645
|
+
leader, value = get_cfws(value)
|
|
1646
|
+
if not value:
|
|
1647
|
+
raise errors.HeaderParseError(
|
|
1648
|
+
"expected domain but found '{}'".format(value))
|
|
1649
|
+
if value[0] == '[':
|
|
1650
|
+
token, value = get_domain_literal(value)
|
|
1651
|
+
if leader is not None:
|
|
1652
|
+
token[:0] = [leader]
|
|
1653
|
+
domain.append(token)
|
|
1654
|
+
return domain, value
|
|
1655
|
+
try:
|
|
1656
|
+
token, value = get_dot_atom(value)
|
|
1657
|
+
except errors.HeaderParseError:
|
|
1658
|
+
token, value = get_atom(value)
|
|
1659
|
+
if value and value[0] == '@':
|
|
1660
|
+
raise errors.HeaderParseError('Invalid Domain')
|
|
1661
|
+
if leader is not None:
|
|
1662
|
+
token[:0] = [leader]
|
|
1663
|
+
domain.append(token)
|
|
1664
|
+
if value and value[0] == '.':
|
|
1665
|
+
domain.defects.append(errors.ObsoleteHeaderDefect(
|
|
1666
|
+
"domain is not a dot-atom (contains CFWS)"))
|
|
1667
|
+
if domain[0].token_type == 'dot-atom':
|
|
1668
|
+
domain[:] = domain[0]
|
|
1669
|
+
while value and value[0] == '.':
|
|
1670
|
+
domain.append(DOT)
|
|
1671
|
+
token, value = get_atom(value[1:])
|
|
1672
|
+
domain.append(token)
|
|
1673
|
+
return domain, value
|
|
1674
|
+
|
|
1675
|
+
def get_addr_spec(value):
|
|
1676
|
+
""" addr-spec = local-part "@" domain
|
|
1677
|
+
|
|
1678
|
+
"""
|
|
1679
|
+
addr_spec = AddrSpec()
|
|
1680
|
+
token, value = get_local_part(value)
|
|
1681
|
+
addr_spec.append(token)
|
|
1682
|
+
if not value or value[0] != '@':
|
|
1683
|
+
addr_spec.defects.append(errors.InvalidHeaderDefect(
|
|
1684
|
+
"addr-spec local part with no domain"))
|
|
1685
|
+
return addr_spec, value
|
|
1686
|
+
addr_spec.append(ValueTerminal('@', 'address-at-symbol'))
|
|
1687
|
+
token, value = get_domain(value[1:])
|
|
1688
|
+
addr_spec.append(token)
|
|
1689
|
+
return addr_spec, value
|
|
1690
|
+
|
|
1691
|
+
def get_obs_route(value):
|
|
1692
|
+
""" obs-route = obs-domain-list ":"
|
|
1693
|
+
obs-domain-list = *(CFWS / ",") "@" domain *("," [CFWS] ["@" domain])
|
|
1694
|
+
|
|
1695
|
+
Returns an obs-route token with the appropriate sub-tokens (that is,
|
|
1696
|
+
there is no obs-domain-list in the parse tree).
|
|
1697
|
+
"""
|
|
1698
|
+
obs_route = ObsRoute()
|
|
1699
|
+
while value and (value[0]==',' or value[0] in CFWS_LEADER):
|
|
1700
|
+
if value[0] in CFWS_LEADER:
|
|
1701
|
+
token, value = get_cfws(value)
|
|
1702
|
+
obs_route.append(token)
|
|
1703
|
+
elif value[0] == ',':
|
|
1704
|
+
obs_route.append(ListSeparator)
|
|
1705
|
+
value = value[1:]
|
|
1706
|
+
if not value or value[0] != '@':
|
|
1707
|
+
raise errors.HeaderParseError(
|
|
1708
|
+
"expected obs-route domain but found '{}'".format(value))
|
|
1709
|
+
obs_route.append(RouteComponentMarker)
|
|
1710
|
+
token, value = get_domain(value[1:])
|
|
1711
|
+
obs_route.append(token)
|
|
1712
|
+
while value and value[0]==',':
|
|
1713
|
+
obs_route.append(ListSeparator)
|
|
1714
|
+
value = value[1:]
|
|
1715
|
+
if not value:
|
|
1716
|
+
break
|
|
1717
|
+
if value[0] in CFWS_LEADER:
|
|
1718
|
+
token, value = get_cfws(value)
|
|
1719
|
+
obs_route.append(token)
|
|
1720
|
+
if not value:
|
|
1721
|
+
break
|
|
1722
|
+
if value[0] == '@':
|
|
1723
|
+
obs_route.append(RouteComponentMarker)
|
|
1724
|
+
token, value = get_domain(value[1:])
|
|
1725
|
+
obs_route.append(token)
|
|
1726
|
+
if not value:
|
|
1727
|
+
raise errors.HeaderParseError("end of header while parsing obs-route")
|
|
1728
|
+
if value[0] != ':':
|
|
1729
|
+
raise errors.HeaderParseError( "expected ':' marking end of "
|
|
1730
|
+
"obs-route but found '{}'".format(value))
|
|
1731
|
+
obs_route.append(ValueTerminal(':', 'end-of-obs-route-marker'))
|
|
1732
|
+
return obs_route, value[1:]
|
|
1733
|
+
|
|
1734
|
+
def get_angle_addr(value):
|
|
1735
|
+
""" angle-addr = [CFWS] "<" addr-spec ">" [CFWS] / obs-angle-addr
|
|
1736
|
+
obs-angle-addr = [CFWS] "<" obs-route addr-spec ">" [CFWS]
|
|
1737
|
+
|
|
1738
|
+
"""
|
|
1739
|
+
angle_addr = AngleAddr()
|
|
1740
|
+
if value and value[0] in CFWS_LEADER:
|
|
1741
|
+
token, value = get_cfws(value)
|
|
1742
|
+
angle_addr.append(token)
|
|
1743
|
+
if not value or value[0] != '<':
|
|
1744
|
+
raise errors.HeaderParseError(
|
|
1745
|
+
"expected angle-addr but found '{}'".format(value))
|
|
1746
|
+
angle_addr.append(ValueTerminal('<', 'angle-addr-start'))
|
|
1747
|
+
value = value[1:]
|
|
1748
|
+
# Although it is not legal per RFC5322, SMTP uses '<>' in certain
|
|
1749
|
+
# circumstances.
|
|
1750
|
+
if value and value[0] == '>':
|
|
1751
|
+
angle_addr.append(ValueTerminal('>', 'angle-addr-end'))
|
|
1752
|
+
angle_addr.defects.append(errors.InvalidHeaderDefect(
|
|
1753
|
+
"null addr-spec in angle-addr"))
|
|
1754
|
+
value = value[1:]
|
|
1755
|
+
return angle_addr, value
|
|
1756
|
+
try:
|
|
1757
|
+
token, value = get_addr_spec(value)
|
|
1758
|
+
except errors.HeaderParseError:
|
|
1759
|
+
try:
|
|
1760
|
+
token, value = get_obs_route(value)
|
|
1761
|
+
angle_addr.defects.append(errors.ObsoleteHeaderDefect(
|
|
1762
|
+
"obsolete route specification in angle-addr"))
|
|
1763
|
+
except errors.HeaderParseError:
|
|
1764
|
+
raise errors.HeaderParseError(
|
|
1765
|
+
"expected addr-spec or obs-route but found '{}'".format(value))
|
|
1766
|
+
angle_addr.append(token)
|
|
1767
|
+
token, value = get_addr_spec(value)
|
|
1768
|
+
angle_addr.append(token)
|
|
1769
|
+
if value and value[0] == '>':
|
|
1770
|
+
value = value[1:]
|
|
1771
|
+
else:
|
|
1772
|
+
angle_addr.defects.append(errors.InvalidHeaderDefect(
|
|
1773
|
+
"missing trailing '>' on angle-addr"))
|
|
1774
|
+
angle_addr.append(ValueTerminal('>', 'angle-addr-end'))
|
|
1775
|
+
if value and value[0] in CFWS_LEADER:
|
|
1776
|
+
token, value = get_cfws(value)
|
|
1777
|
+
angle_addr.append(token)
|
|
1778
|
+
return angle_addr, value
|
|
1779
|
+
|
|
1780
|
+
def get_display_name(value):
|
|
1781
|
+
""" display-name = phrase
|
|
1782
|
+
|
|
1783
|
+
Because this is simply a name-rule, we don't return a display-name
|
|
1784
|
+
token containing a phrase, but rather a display-name token with
|
|
1785
|
+
the content of the phrase.
|
|
1786
|
+
|
|
1787
|
+
"""
|
|
1788
|
+
display_name = DisplayName()
|
|
1789
|
+
token, value = get_phrase(value)
|
|
1790
|
+
display_name.extend(token[:])
|
|
1791
|
+
display_name.defects = token.defects[:]
|
|
1792
|
+
return display_name, value
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
def get_name_addr(value):
|
|
1796
|
+
""" name-addr = [display-name] angle-addr
|
|
1797
|
+
|
|
1798
|
+
"""
|
|
1799
|
+
name_addr = NameAddr()
|
|
1800
|
+
# Both the optional display name and the angle-addr can start with cfws.
|
|
1801
|
+
leader = None
|
|
1802
|
+
if not value:
|
|
1803
|
+
raise errors.HeaderParseError(
|
|
1804
|
+
"expected name-addr but found '{}'".format(value))
|
|
1805
|
+
if value[0] in CFWS_LEADER:
|
|
1806
|
+
leader, value = get_cfws(value)
|
|
1807
|
+
if not value:
|
|
1808
|
+
raise errors.HeaderParseError(
|
|
1809
|
+
"expected name-addr but found '{}'".format(leader))
|
|
1810
|
+
if value[0] != '<':
|
|
1811
|
+
if value[0] in PHRASE_ENDS:
|
|
1812
|
+
raise errors.HeaderParseError(
|
|
1813
|
+
"expected name-addr but found '{}'".format(value))
|
|
1814
|
+
token, value = get_display_name(value)
|
|
1815
|
+
if not value:
|
|
1816
|
+
raise errors.HeaderParseError(
|
|
1817
|
+
"expected name-addr but found '{}'".format(token))
|
|
1818
|
+
if leader is not None:
|
|
1819
|
+
if isinstance(token[0], TokenList):
|
|
1820
|
+
token[0][:0] = [leader]
|
|
1821
|
+
else:
|
|
1822
|
+
token[:0] = [leader]
|
|
1823
|
+
leader = None
|
|
1824
|
+
name_addr.append(token)
|
|
1825
|
+
token, value = get_angle_addr(value)
|
|
1826
|
+
if leader is not None:
|
|
1827
|
+
token[:0] = [leader]
|
|
1828
|
+
name_addr.append(token)
|
|
1829
|
+
return name_addr, value
|
|
1830
|
+
|
|
1831
|
+
def get_mailbox(value):
|
|
1832
|
+
""" mailbox = name-addr / addr-spec
|
|
1833
|
+
|
|
1834
|
+
"""
|
|
1835
|
+
# The only way to figure out if we are dealing with a name-addr or an
|
|
1836
|
+
# addr-spec is to try parsing each one.
|
|
1837
|
+
mailbox = Mailbox()
|
|
1838
|
+
try:
|
|
1839
|
+
token, value = get_name_addr(value)
|
|
1840
|
+
except errors.HeaderParseError:
|
|
1841
|
+
try:
|
|
1842
|
+
token, value = get_addr_spec(value)
|
|
1843
|
+
except errors.HeaderParseError:
|
|
1844
|
+
raise errors.HeaderParseError(
|
|
1845
|
+
"expected mailbox but found '{}'".format(value))
|
|
1846
|
+
if any(isinstance(x, errors.InvalidHeaderDefect)
|
|
1847
|
+
for x in token.all_defects):
|
|
1848
|
+
mailbox.token_type = 'invalid-mailbox'
|
|
1849
|
+
mailbox.append(token)
|
|
1850
|
+
return mailbox, value
|
|
1851
|
+
|
|
1852
|
+
def get_invalid_mailbox(value, endchars):
|
|
1853
|
+
""" Read everything up to one of the chars in endchars.
|
|
1854
|
+
|
|
1855
|
+
This is outside the formal grammar. The InvalidMailbox TokenList that is
|
|
1856
|
+
returned acts like a Mailbox, but the data attributes are None.
|
|
1857
|
+
|
|
1858
|
+
"""
|
|
1859
|
+
invalid_mailbox = InvalidMailbox()
|
|
1860
|
+
while value and value[0] not in endchars:
|
|
1861
|
+
if value[0] in PHRASE_ENDS:
|
|
1862
|
+
invalid_mailbox.append(ValueTerminal(value[0],
|
|
1863
|
+
'misplaced-special'))
|
|
1864
|
+
value = value[1:]
|
|
1865
|
+
else:
|
|
1866
|
+
token, value = get_phrase(value)
|
|
1867
|
+
invalid_mailbox.append(token)
|
|
1868
|
+
return invalid_mailbox, value
|
|
1869
|
+
|
|
1870
|
+
def get_mailbox_list(value):
|
|
1871
|
+
""" mailbox-list = (mailbox *("," mailbox)) / obs-mbox-list
|
|
1872
|
+
obs-mbox-list = *([CFWS] ",") mailbox *("," [mailbox / CFWS])
|
|
1873
|
+
|
|
1874
|
+
For this routine we go outside the formal grammar in order to improve error
|
|
1875
|
+
handling. We recognize the end of the mailbox list only at the end of the
|
|
1876
|
+
value or at a ';' (the group terminator). This is so that we can turn
|
|
1877
|
+
invalid mailboxes into InvalidMailbox tokens and continue parsing any
|
|
1878
|
+
remaining valid mailboxes. We also allow all mailbox entries to be null,
|
|
1879
|
+
and this condition is handled appropriately at a higher level.
|
|
1880
|
+
|
|
1881
|
+
"""
|
|
1882
|
+
mailbox_list = MailboxList()
|
|
1883
|
+
while value and value[0] != ';':
|
|
1884
|
+
try:
|
|
1885
|
+
token, value = get_mailbox(value)
|
|
1886
|
+
mailbox_list.append(token)
|
|
1887
|
+
except errors.HeaderParseError:
|
|
1888
|
+
leader = None
|
|
1889
|
+
if value[0] in CFWS_LEADER:
|
|
1890
|
+
leader, value = get_cfws(value)
|
|
1891
|
+
if not value or value[0] in ',;':
|
|
1892
|
+
mailbox_list.append(leader)
|
|
1893
|
+
mailbox_list.defects.append(errors.ObsoleteHeaderDefect(
|
|
1894
|
+
"empty element in mailbox-list"))
|
|
1895
|
+
else:
|
|
1896
|
+
token, value = get_invalid_mailbox(value, ',;')
|
|
1897
|
+
if leader is not None:
|
|
1898
|
+
token[:0] = [leader]
|
|
1899
|
+
mailbox_list.append(token)
|
|
1900
|
+
mailbox_list.defects.append(errors.InvalidHeaderDefect(
|
|
1901
|
+
"invalid mailbox in mailbox-list"))
|
|
1902
|
+
elif value[0] == ',':
|
|
1903
|
+
mailbox_list.defects.append(errors.ObsoleteHeaderDefect(
|
|
1904
|
+
"empty element in mailbox-list"))
|
|
1905
|
+
else:
|
|
1906
|
+
token, value = get_invalid_mailbox(value, ',;')
|
|
1907
|
+
if leader is not None:
|
|
1908
|
+
token[:0] = [leader]
|
|
1909
|
+
mailbox_list.append(token)
|
|
1910
|
+
mailbox_list.defects.append(errors.InvalidHeaderDefect(
|
|
1911
|
+
"invalid mailbox in mailbox-list"))
|
|
1912
|
+
if value and value[0] not in ',;':
|
|
1913
|
+
# Crap after mailbox; treat it as an invalid mailbox.
|
|
1914
|
+
# The mailbox info will still be available.
|
|
1915
|
+
mailbox = mailbox_list[-1]
|
|
1916
|
+
mailbox.token_type = 'invalid-mailbox'
|
|
1917
|
+
token, value = get_invalid_mailbox(value, ',;')
|
|
1918
|
+
mailbox.extend(token)
|
|
1919
|
+
mailbox_list.defects.append(errors.InvalidHeaderDefect(
|
|
1920
|
+
"invalid mailbox in mailbox-list"))
|
|
1921
|
+
if value and value[0] == ',':
|
|
1922
|
+
mailbox_list.append(ListSeparator)
|
|
1923
|
+
value = value[1:]
|
|
1924
|
+
return mailbox_list, value
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
def get_group_list(value):
|
|
1928
|
+
""" group-list = mailbox-list / CFWS / obs-group-list
|
|
1929
|
+
obs-group-list = 1*([CFWS] ",") [CFWS]
|
|
1930
|
+
|
|
1931
|
+
"""
|
|
1932
|
+
group_list = GroupList()
|
|
1933
|
+
if not value:
|
|
1934
|
+
group_list.defects.append(errors.InvalidHeaderDefect(
|
|
1935
|
+
"end of header before group-list"))
|
|
1936
|
+
return group_list, value
|
|
1937
|
+
leader = None
|
|
1938
|
+
if value and value[0] in CFWS_LEADER:
|
|
1939
|
+
leader, value = get_cfws(value)
|
|
1940
|
+
if not value:
|
|
1941
|
+
# This should never happen in email parsing, since CFWS-only is a
|
|
1942
|
+
# legal alternative to group-list in a group, which is the only
|
|
1943
|
+
# place group-list appears.
|
|
1944
|
+
group_list.defects.append(errors.InvalidHeaderDefect(
|
|
1945
|
+
"end of header in group-list"))
|
|
1946
|
+
group_list.append(leader)
|
|
1947
|
+
return group_list, value
|
|
1948
|
+
if value[0] == ';':
|
|
1949
|
+
group_list.append(leader)
|
|
1950
|
+
return group_list, value
|
|
1951
|
+
token, value = get_mailbox_list(value)
|
|
1952
|
+
if len(token.all_mailboxes)==0:
|
|
1953
|
+
if leader is not None:
|
|
1954
|
+
group_list.append(leader)
|
|
1955
|
+
group_list.extend(token)
|
|
1956
|
+
group_list.defects.append(errors.ObsoleteHeaderDefect(
|
|
1957
|
+
"group-list with empty entries"))
|
|
1958
|
+
return group_list, value
|
|
1959
|
+
if leader is not None:
|
|
1960
|
+
token[:0] = [leader]
|
|
1961
|
+
group_list.append(token)
|
|
1962
|
+
return group_list, value
|
|
1963
|
+
|
|
1964
|
+
def get_group(value):
|
|
1965
|
+
""" group = display-name ":" [group-list] ";" [CFWS]
|
|
1966
|
+
|
|
1967
|
+
"""
|
|
1968
|
+
group = Group()
|
|
1969
|
+
token, value = get_display_name(value)
|
|
1970
|
+
if not value or value[0] != ':':
|
|
1971
|
+
raise errors.HeaderParseError("expected ':' at end of group "
|
|
1972
|
+
"display name but found '{}'".format(value))
|
|
1973
|
+
group.append(token)
|
|
1974
|
+
group.append(ValueTerminal(':', 'group-display-name-terminator'))
|
|
1975
|
+
value = value[1:]
|
|
1976
|
+
if value and value[0] == ';':
|
|
1977
|
+
group.append(ValueTerminal(';', 'group-terminator'))
|
|
1978
|
+
return group, value[1:]
|
|
1979
|
+
token, value = get_group_list(value)
|
|
1980
|
+
group.append(token)
|
|
1981
|
+
if not value:
|
|
1982
|
+
group.defects.append(errors.InvalidHeaderDefect(
|
|
1983
|
+
"end of header in group"))
|
|
1984
|
+
elif value[0] != ';':
|
|
1985
|
+
raise errors.HeaderParseError(
|
|
1986
|
+
"expected ';' at end of group but found {}".format(value))
|
|
1987
|
+
group.append(ValueTerminal(';', 'group-terminator'))
|
|
1988
|
+
value = value[1:]
|
|
1989
|
+
if value and value[0] in CFWS_LEADER:
|
|
1990
|
+
token, value = get_cfws(value)
|
|
1991
|
+
group.append(token)
|
|
1992
|
+
return group, value
|
|
1993
|
+
|
|
1994
|
+
def get_address(value):
|
|
1995
|
+
""" address = mailbox / group
|
|
1996
|
+
|
|
1997
|
+
Note that counter-intuitively, an address can be either a single address or
|
|
1998
|
+
a list of addresses (a group). This is why the returned Address object has
|
|
1999
|
+
a 'mailboxes' attribute which treats a single address as a list of length
|
|
2000
|
+
one. When you need to differentiate between to two cases, extract the single
|
|
2001
|
+
element, which is either a mailbox or a group token.
|
|
2002
|
+
|
|
2003
|
+
"""
|
|
2004
|
+
# The formal grammar isn't very helpful when parsing an address. mailbox
|
|
2005
|
+
# and group, especially when allowing for obsolete forms, start off very
|
|
2006
|
+
# similarly. It is only when you reach one of @, <, or : that you know
|
|
2007
|
+
# what you've got. So, we try each one in turn, starting with the more
|
|
2008
|
+
# likely of the two. We could perhaps make this more efficient by looking
|
|
2009
|
+
# for a phrase and then branching based on the next character, but that
|
|
2010
|
+
# would be a premature optimization.
|
|
2011
|
+
address = Address()
|
|
2012
|
+
try:
|
|
2013
|
+
token, value = get_group(value)
|
|
2014
|
+
except errors.HeaderParseError:
|
|
2015
|
+
try:
|
|
2016
|
+
token, value = get_mailbox(value)
|
|
2017
|
+
except errors.HeaderParseError:
|
|
2018
|
+
raise errors.HeaderParseError(
|
|
2019
|
+
"expected address but found '{}'".format(value))
|
|
2020
|
+
address.append(token)
|
|
2021
|
+
return address, value
|
|
2022
|
+
|
|
2023
|
+
def get_address_list(value):
|
|
2024
|
+
""" address_list = (address *("," address)) / obs-addr-list
|
|
2025
|
+
obs-addr-list = *([CFWS] ",") address *("," [address / CFWS])
|
|
2026
|
+
|
|
2027
|
+
We depart from the formal grammar here by continuing to parse until the end
|
|
2028
|
+
of the input, assuming the input to be entirely composed of an
|
|
2029
|
+
address-list. This is always true in email parsing, and allows us
|
|
2030
|
+
to skip invalid addresses to parse additional valid ones.
|
|
2031
|
+
|
|
2032
|
+
"""
|
|
2033
|
+
address_list = AddressList()
|
|
2034
|
+
while value:
|
|
2035
|
+
try:
|
|
2036
|
+
token, value = get_address(value)
|
|
2037
|
+
address_list.append(token)
|
|
2038
|
+
except errors.HeaderParseError:
|
|
2039
|
+
leader = None
|
|
2040
|
+
if value[0] in CFWS_LEADER:
|
|
2041
|
+
leader, value = get_cfws(value)
|
|
2042
|
+
if not value or value[0] == ',':
|
|
2043
|
+
address_list.append(leader)
|
|
2044
|
+
address_list.defects.append(errors.ObsoleteHeaderDefect(
|
|
2045
|
+
"address-list entry with no content"))
|
|
2046
|
+
else:
|
|
2047
|
+
token, value = get_invalid_mailbox(value, ',')
|
|
2048
|
+
if leader is not None:
|
|
2049
|
+
token[:0] = [leader]
|
|
2050
|
+
address_list.append(Address([token]))
|
|
2051
|
+
address_list.defects.append(errors.InvalidHeaderDefect(
|
|
2052
|
+
"invalid address in address-list"))
|
|
2053
|
+
elif value[0] == ',':
|
|
2054
|
+
address_list.defects.append(errors.ObsoleteHeaderDefect(
|
|
2055
|
+
"empty element in address-list"))
|
|
2056
|
+
else:
|
|
2057
|
+
token, value = get_invalid_mailbox(value, ',')
|
|
2058
|
+
if leader is not None:
|
|
2059
|
+
token[:0] = [leader]
|
|
2060
|
+
address_list.append(Address([token]))
|
|
2061
|
+
address_list.defects.append(errors.InvalidHeaderDefect(
|
|
2062
|
+
"invalid address in address-list"))
|
|
2063
|
+
if value and value[0] != ',':
|
|
2064
|
+
# Crap after address; treat it as an invalid mailbox.
|
|
2065
|
+
# The mailbox info will still be available.
|
|
2066
|
+
mailbox = address_list[-1][0]
|
|
2067
|
+
mailbox.token_type = 'invalid-mailbox'
|
|
2068
|
+
token, value = get_invalid_mailbox(value, ',')
|
|
2069
|
+
mailbox.extend(token)
|
|
2070
|
+
address_list.defects.append(errors.InvalidHeaderDefect(
|
|
2071
|
+
"invalid address in address-list"))
|
|
2072
|
+
if value: # Must be a , at this point.
|
|
2073
|
+
address_list.append(ListSeparator)
|
|
2074
|
+
value = value[1:]
|
|
2075
|
+
return address_list, value
|
|
2076
|
+
|
|
2077
|
+
|
|
2078
|
+
def get_no_fold_literal(value):
|
|
2079
|
+
""" no-fold-literal = "[" *dtext "]"
|
|
2080
|
+
"""
|
|
2081
|
+
no_fold_literal = NoFoldLiteral()
|
|
2082
|
+
if not value:
|
|
2083
|
+
raise errors.HeaderParseError(
|
|
2084
|
+
"expected no-fold-literal but found '{}'".format(value))
|
|
2085
|
+
if value[0] != '[':
|
|
2086
|
+
raise errors.HeaderParseError(
|
|
2087
|
+
"expected '[' at the start of no-fold-literal "
|
|
2088
|
+
"but found '{}'".format(value))
|
|
2089
|
+
no_fold_literal.append(ValueTerminal('[', 'no-fold-literal-start'))
|
|
2090
|
+
value = value[1:]
|
|
2091
|
+
token, value = get_dtext(value)
|
|
2092
|
+
no_fold_literal.append(token)
|
|
2093
|
+
if not value or value[0] != ']':
|
|
2094
|
+
raise errors.HeaderParseError(
|
|
2095
|
+
"expected ']' at the end of no-fold-literal "
|
|
2096
|
+
"but found '{}'".format(value))
|
|
2097
|
+
no_fold_literal.append(ValueTerminal(']', 'no-fold-literal-end'))
|
|
2098
|
+
return no_fold_literal, value[1:]
|
|
2099
|
+
|
|
2100
|
+
def get_msg_id(value):
|
|
2101
|
+
"""msg-id = [CFWS] "<" id-left '@' id-right ">" [CFWS]
|
|
2102
|
+
id-left = dot-atom-text / obs-id-left
|
|
2103
|
+
id-right = dot-atom-text / no-fold-literal / obs-id-right
|
|
2104
|
+
no-fold-literal = "[" *dtext "]"
|
|
2105
|
+
"""
|
|
2106
|
+
msg_id = MsgID()
|
|
2107
|
+
if value and value[0] in CFWS_LEADER:
|
|
2108
|
+
token, value = get_cfws(value)
|
|
2109
|
+
msg_id.append(token)
|
|
2110
|
+
if not value or value[0] != '<':
|
|
2111
|
+
raise errors.HeaderParseError(
|
|
2112
|
+
"expected msg-id but found '{}'".format(value))
|
|
2113
|
+
msg_id.append(ValueTerminal('<', 'msg-id-start'))
|
|
2114
|
+
value = value[1:]
|
|
2115
|
+
# Parse id-left.
|
|
2116
|
+
try:
|
|
2117
|
+
token, value = get_dot_atom_text(value)
|
|
2118
|
+
except errors.HeaderParseError:
|
|
2119
|
+
try:
|
|
2120
|
+
# obs-id-left is same as local-part of add-spec.
|
|
2121
|
+
token, value = get_obs_local_part(value)
|
|
2122
|
+
msg_id.defects.append(errors.ObsoleteHeaderDefect(
|
|
2123
|
+
"obsolete id-left in msg-id"))
|
|
2124
|
+
except errors.HeaderParseError:
|
|
2125
|
+
raise errors.HeaderParseError(
|
|
2126
|
+
"expected dot-atom-text or obs-id-left"
|
|
2127
|
+
" but found '{}'".format(value))
|
|
2128
|
+
msg_id.append(token)
|
|
2129
|
+
if not value or value[0] != '@':
|
|
2130
|
+
msg_id.defects.append(errors.InvalidHeaderDefect(
|
|
2131
|
+
"msg-id with no id-right"))
|
|
2132
|
+
# Even though there is no id-right, if the local part
|
|
2133
|
+
# ends with `>` let's just parse it too and return
|
|
2134
|
+
# along with the defect.
|
|
2135
|
+
if value and value[0] == '>':
|
|
2136
|
+
msg_id.append(ValueTerminal('>', 'msg-id-end'))
|
|
2137
|
+
value = value[1:]
|
|
2138
|
+
return msg_id, value
|
|
2139
|
+
msg_id.append(ValueTerminal('@', 'address-at-symbol'))
|
|
2140
|
+
value = value[1:]
|
|
2141
|
+
# Parse id-right.
|
|
2142
|
+
try:
|
|
2143
|
+
token, value = get_dot_atom_text(value)
|
|
2144
|
+
except errors.HeaderParseError:
|
|
2145
|
+
try:
|
|
2146
|
+
token, value = get_no_fold_literal(value)
|
|
2147
|
+
except errors.HeaderParseError:
|
|
2148
|
+
try:
|
|
2149
|
+
token, value = get_domain(value)
|
|
2150
|
+
msg_id.defects.append(errors.ObsoleteHeaderDefect(
|
|
2151
|
+
"obsolete id-right in msg-id"))
|
|
2152
|
+
except errors.HeaderParseError:
|
|
2153
|
+
raise errors.HeaderParseError(
|
|
2154
|
+
"expected dot-atom-text, no-fold-literal or obs-id-right"
|
|
2155
|
+
" but found '{}'".format(value))
|
|
2156
|
+
msg_id.append(token)
|
|
2157
|
+
if value and value[0] == '>':
|
|
2158
|
+
value = value[1:]
|
|
2159
|
+
else:
|
|
2160
|
+
msg_id.defects.append(errors.InvalidHeaderDefect(
|
|
2161
|
+
"missing trailing '>' on msg-id"))
|
|
2162
|
+
msg_id.append(ValueTerminal('>', 'msg-id-end'))
|
|
2163
|
+
if value and value[0] in CFWS_LEADER:
|
|
2164
|
+
token, value = get_cfws(value)
|
|
2165
|
+
msg_id.append(token)
|
|
2166
|
+
return msg_id, value
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
def parse_message_id(value):
|
|
2170
|
+
"""message-id = "Message-ID:" msg-id CRLF
|
|
2171
|
+
"""
|
|
2172
|
+
message_id = MessageID()
|
|
2173
|
+
try:
|
|
2174
|
+
token, value = get_msg_id(value)
|
|
2175
|
+
message_id.append(token)
|
|
2176
|
+
except errors.HeaderParseError as ex:
|
|
2177
|
+
token = get_unstructured(value)
|
|
2178
|
+
message_id = InvalidMessageID(token)
|
|
2179
|
+
message_id.defects.append(
|
|
2180
|
+
errors.InvalidHeaderDefect("Invalid msg-id: {!r}".format(ex)))
|
|
2181
|
+
else:
|
|
2182
|
+
# Value after parsing a valid msg_id should be None.
|
|
2183
|
+
if value:
|
|
2184
|
+
message_id.defects.append(errors.InvalidHeaderDefect(
|
|
2185
|
+
"Unexpected {!r}".format(value)))
|
|
2186
|
+
|
|
2187
|
+
return message_id
|
|
2188
|
+
|
|
2189
|
+
#
|
|
2190
|
+
# XXX: As I begin to add additional header parsers, I'm realizing we probably
|
|
2191
|
+
# have two level of parser routines: the get_XXX methods that get a token in
|
|
2192
|
+
# the grammar, and parse_XXX methods that parse an entire field value. So
|
|
2193
|
+
# get_address_list above should really be a parse_ method, as probably should
|
|
2194
|
+
# be get_unstructured.
|
|
2195
|
+
#
|
|
2196
|
+
|
|
2197
|
+
def parse_mime_version(value):
|
|
2198
|
+
""" mime-version = [CFWS] 1*digit [CFWS] "." [CFWS] 1*digit [CFWS]
|
|
2199
|
+
|
|
2200
|
+
"""
|
|
2201
|
+
# The [CFWS] is implicit in the RFC 2045 BNF.
|
|
2202
|
+
# XXX: This routine is a bit verbose, should factor out a get_int method.
|
|
2203
|
+
mime_version = MIMEVersion()
|
|
2204
|
+
if not value:
|
|
2205
|
+
mime_version.defects.append(errors.HeaderMissingRequiredValue(
|
|
2206
|
+
"Missing MIME version number (eg: 1.0)"))
|
|
2207
|
+
return mime_version
|
|
2208
|
+
if value[0] in CFWS_LEADER:
|
|
2209
|
+
token, value = get_cfws(value)
|
|
2210
|
+
mime_version.append(token)
|
|
2211
|
+
if not value:
|
|
2212
|
+
mime_version.defects.append(errors.HeaderMissingRequiredValue(
|
|
2213
|
+
"Expected MIME version number but found only CFWS"))
|
|
2214
|
+
digits = ''
|
|
2215
|
+
while value and value[0] != '.' and value[0] not in CFWS_LEADER:
|
|
2216
|
+
digits += value[0]
|
|
2217
|
+
value = value[1:]
|
|
2218
|
+
if not digits.isdigit():
|
|
2219
|
+
mime_version.defects.append(errors.InvalidHeaderDefect(
|
|
2220
|
+
"Expected MIME major version number but found {!r}".format(digits)))
|
|
2221
|
+
mime_version.append(ValueTerminal(digits, 'xtext'))
|
|
2222
|
+
else:
|
|
2223
|
+
mime_version.major = int(digits)
|
|
2224
|
+
mime_version.append(ValueTerminal(digits, 'digits'))
|
|
2225
|
+
if value and value[0] in CFWS_LEADER:
|
|
2226
|
+
token, value = get_cfws(value)
|
|
2227
|
+
mime_version.append(token)
|
|
2228
|
+
if not value or value[0] != '.':
|
|
2229
|
+
if mime_version.major is not None:
|
|
2230
|
+
mime_version.defects.append(errors.InvalidHeaderDefect(
|
|
2231
|
+
"Incomplete MIME version; found only major number"))
|
|
2232
|
+
if value:
|
|
2233
|
+
mime_version.append(ValueTerminal(value, 'xtext'))
|
|
2234
|
+
return mime_version
|
|
2235
|
+
mime_version.append(ValueTerminal('.', 'version-separator'))
|
|
2236
|
+
value = value[1:]
|
|
2237
|
+
if value and value[0] in CFWS_LEADER:
|
|
2238
|
+
token, value = get_cfws(value)
|
|
2239
|
+
mime_version.append(token)
|
|
2240
|
+
if not value:
|
|
2241
|
+
if mime_version.major is not None:
|
|
2242
|
+
mime_version.defects.append(errors.InvalidHeaderDefect(
|
|
2243
|
+
"Incomplete MIME version; found only major number"))
|
|
2244
|
+
return mime_version
|
|
2245
|
+
digits = ''
|
|
2246
|
+
while value and value[0] not in CFWS_LEADER:
|
|
2247
|
+
digits += value[0]
|
|
2248
|
+
value = value[1:]
|
|
2249
|
+
if not digits.isdigit():
|
|
2250
|
+
mime_version.defects.append(errors.InvalidHeaderDefect(
|
|
2251
|
+
"Expected MIME minor version number but found {!r}".format(digits)))
|
|
2252
|
+
mime_version.append(ValueTerminal(digits, 'xtext'))
|
|
2253
|
+
else:
|
|
2254
|
+
mime_version.minor = int(digits)
|
|
2255
|
+
mime_version.append(ValueTerminal(digits, 'digits'))
|
|
2256
|
+
if value and value[0] in CFWS_LEADER:
|
|
2257
|
+
token, value = get_cfws(value)
|
|
2258
|
+
mime_version.append(token)
|
|
2259
|
+
if value:
|
|
2260
|
+
mime_version.defects.append(errors.InvalidHeaderDefect(
|
|
2261
|
+
"Excess non-CFWS text after MIME version"))
|
|
2262
|
+
mime_version.append(ValueTerminal(value, 'xtext'))
|
|
2263
|
+
return mime_version
|
|
2264
|
+
|
|
2265
|
+
def get_invalid_parameter(value):
|
|
2266
|
+
""" Read everything up to the next ';'.
|
|
2267
|
+
|
|
2268
|
+
This is outside the formal grammar. The InvalidParameter TokenList that is
|
|
2269
|
+
returned acts like a Parameter, but the data attributes are None.
|
|
2270
|
+
|
|
2271
|
+
"""
|
|
2272
|
+
invalid_parameter = InvalidParameter()
|
|
2273
|
+
while value and value[0] != ';':
|
|
2274
|
+
if value[0] in PHRASE_ENDS:
|
|
2275
|
+
invalid_parameter.append(ValueTerminal(value[0],
|
|
2276
|
+
'misplaced-special'))
|
|
2277
|
+
value = value[1:]
|
|
2278
|
+
else:
|
|
2279
|
+
token, value = get_phrase(value)
|
|
2280
|
+
invalid_parameter.append(token)
|
|
2281
|
+
return invalid_parameter, value
|
|
2282
|
+
|
|
2283
|
+
def get_ttext(value):
|
|
2284
|
+
"""ttext = <matches _ttext_matcher>
|
|
2285
|
+
|
|
2286
|
+
We allow any non-TOKEN_ENDS in ttext, but add defects to the token's
|
|
2287
|
+
defects list if we find non-ttext characters. We also register defects for
|
|
2288
|
+
*any* non-printables even though the RFC doesn't exclude all of them,
|
|
2289
|
+
because we follow the spirit of RFC 5322.
|
|
2290
|
+
|
|
2291
|
+
"""
|
|
2292
|
+
m = _non_token_end_matcher(value)
|
|
2293
|
+
if not m:
|
|
2294
|
+
raise errors.HeaderParseError(
|
|
2295
|
+
"expected ttext but found '{}'".format(value))
|
|
2296
|
+
ttext = m.group()
|
|
2297
|
+
value = value[len(ttext):]
|
|
2298
|
+
ttext = ValueTerminal(ttext, 'ttext')
|
|
2299
|
+
_validate_xtext(ttext)
|
|
2300
|
+
return ttext, value
|
|
2301
|
+
|
|
2302
|
+
def get_token(value):
|
|
2303
|
+
"""token = [CFWS] 1*ttext [CFWS]
|
|
2304
|
+
|
|
2305
|
+
The RFC equivalent of ttext is any US-ASCII chars except space, ctls, or
|
|
2306
|
+
tspecials. We also exclude tabs even though the RFC doesn't.
|
|
2307
|
+
|
|
2308
|
+
The RFC implies the CFWS but is not explicit about it in the BNF.
|
|
2309
|
+
|
|
2310
|
+
"""
|
|
2311
|
+
mtoken = Token()
|
|
2312
|
+
if value and value[0] in CFWS_LEADER:
|
|
2313
|
+
token, value = get_cfws(value)
|
|
2314
|
+
mtoken.append(token)
|
|
2315
|
+
if value and value[0] in TOKEN_ENDS:
|
|
2316
|
+
raise errors.HeaderParseError(
|
|
2317
|
+
"expected token but found '{}'".format(value))
|
|
2318
|
+
token, value = get_ttext(value)
|
|
2319
|
+
mtoken.append(token)
|
|
2320
|
+
if value and value[0] in CFWS_LEADER:
|
|
2321
|
+
token, value = get_cfws(value)
|
|
2322
|
+
mtoken.append(token)
|
|
2323
|
+
return mtoken, value
|
|
2324
|
+
|
|
2325
|
+
def get_attrtext(value):
|
|
2326
|
+
"""attrtext = 1*(any non-ATTRIBUTE_ENDS character)
|
|
2327
|
+
|
|
2328
|
+
We allow any non-ATTRIBUTE_ENDS in attrtext, but add defects to the
|
|
2329
|
+
token's defects list if we find non-attrtext characters. We also register
|
|
2330
|
+
defects for *any* non-printables even though the RFC doesn't exclude all of
|
|
2331
|
+
them, because we follow the spirit of RFC 5322.
|
|
2332
|
+
|
|
2333
|
+
"""
|
|
2334
|
+
m = _non_attribute_end_matcher(value)
|
|
2335
|
+
if not m:
|
|
2336
|
+
raise errors.HeaderParseError(
|
|
2337
|
+
"expected attrtext but found {!r}".format(value))
|
|
2338
|
+
attrtext = m.group()
|
|
2339
|
+
value = value[len(attrtext):]
|
|
2340
|
+
attrtext = ValueTerminal(attrtext, 'attrtext')
|
|
2341
|
+
_validate_xtext(attrtext)
|
|
2342
|
+
return attrtext, value
|
|
2343
|
+
|
|
2344
|
+
def get_attribute(value):
|
|
2345
|
+
""" [CFWS] 1*attrtext [CFWS]
|
|
2346
|
+
|
|
2347
|
+
This version of the BNF makes the CFWS explicit, and as usual we use a
|
|
2348
|
+
value terminal for the actual run of characters. The RFC equivalent of
|
|
2349
|
+
attrtext is the token characters, with the subtraction of '*', "'", and '%'.
|
|
2350
|
+
We include tab in the excluded set just as we do for token.
|
|
2351
|
+
|
|
2352
|
+
"""
|
|
2353
|
+
attribute = Attribute()
|
|
2354
|
+
if value and value[0] in CFWS_LEADER:
|
|
2355
|
+
token, value = get_cfws(value)
|
|
2356
|
+
attribute.append(token)
|
|
2357
|
+
if value and value[0] in ATTRIBUTE_ENDS:
|
|
2358
|
+
raise errors.HeaderParseError(
|
|
2359
|
+
"expected token but found '{}'".format(value))
|
|
2360
|
+
token, value = get_attrtext(value)
|
|
2361
|
+
attribute.append(token)
|
|
2362
|
+
if value and value[0] in CFWS_LEADER:
|
|
2363
|
+
token, value = get_cfws(value)
|
|
2364
|
+
attribute.append(token)
|
|
2365
|
+
return attribute, value
|
|
2366
|
+
|
|
2367
|
+
def get_extended_attrtext(value):
|
|
2368
|
+
"""attrtext = 1*(any non-ATTRIBUTE_ENDS character plus '%')
|
|
2369
|
+
|
|
2370
|
+
This is a special parsing routine so that we get a value that
|
|
2371
|
+
includes % escapes as a single string (which we decode as a single
|
|
2372
|
+
string later).
|
|
2373
|
+
|
|
2374
|
+
"""
|
|
2375
|
+
m = _non_extended_attribute_end_matcher(value)
|
|
2376
|
+
if not m:
|
|
2377
|
+
raise errors.HeaderParseError(
|
|
2378
|
+
"expected extended attrtext but found {!r}".format(value))
|
|
2379
|
+
attrtext = m.group()
|
|
2380
|
+
value = value[len(attrtext):]
|
|
2381
|
+
attrtext = ValueTerminal(attrtext, 'extended-attrtext')
|
|
2382
|
+
_validate_xtext(attrtext)
|
|
2383
|
+
return attrtext, value
|
|
2384
|
+
|
|
2385
|
+
def get_extended_attribute(value):
|
|
2386
|
+
""" [CFWS] 1*extended_attrtext [CFWS]
|
|
2387
|
+
|
|
2388
|
+
This is like the non-extended version except we allow % characters, so that
|
|
2389
|
+
we can pick up an encoded value as a single string.
|
|
2390
|
+
|
|
2391
|
+
"""
|
|
2392
|
+
# XXX: should we have an ExtendedAttribute TokenList?
|
|
2393
|
+
attribute = Attribute()
|
|
2394
|
+
if value and value[0] in CFWS_LEADER:
|
|
2395
|
+
token, value = get_cfws(value)
|
|
2396
|
+
attribute.append(token)
|
|
2397
|
+
if value and value[0] in EXTENDED_ATTRIBUTE_ENDS:
|
|
2398
|
+
raise errors.HeaderParseError(
|
|
2399
|
+
"expected token but found '{}'".format(value))
|
|
2400
|
+
token, value = get_extended_attrtext(value)
|
|
2401
|
+
attribute.append(token)
|
|
2402
|
+
if value and value[0] in CFWS_LEADER:
|
|
2403
|
+
token, value = get_cfws(value)
|
|
2404
|
+
attribute.append(token)
|
|
2405
|
+
return attribute, value
|
|
2406
|
+
|
|
2407
|
+
def get_section(value):
|
|
2408
|
+
""" '*' digits
|
|
2409
|
+
|
|
2410
|
+
The formal BNF is more complicated because leading 0s are not allowed. We
|
|
2411
|
+
check for that and add a defect. We also assume no CFWS is allowed between
|
|
2412
|
+
the '*' and the digits, though the RFC is not crystal clear on that.
|
|
2413
|
+
The caller should already have dealt with leading CFWS.
|
|
2414
|
+
|
|
2415
|
+
"""
|
|
2416
|
+
section = Section()
|
|
2417
|
+
if not value or value[0] != '*':
|
|
2418
|
+
raise errors.HeaderParseError("Expected section but found {}".format(
|
|
2419
|
+
value))
|
|
2420
|
+
section.append(ValueTerminal('*', 'section-marker'))
|
|
2421
|
+
value = value[1:]
|
|
2422
|
+
if not value or not value[0].isdigit():
|
|
2423
|
+
raise errors.HeaderParseError("Expected section number but "
|
|
2424
|
+
"found {}".format(value))
|
|
2425
|
+
digits = ''
|
|
2426
|
+
while value and value[0].isdigit():
|
|
2427
|
+
digits += value[0]
|
|
2428
|
+
value = value[1:]
|
|
2429
|
+
if digits[0] == '0' and digits != '0':
|
|
2430
|
+
section.defects.append(errors.InvalidHeaderDefect(
|
|
2431
|
+
"section number has an invalid leading 0"))
|
|
2432
|
+
section.number = int(digits)
|
|
2433
|
+
section.append(ValueTerminal(digits, 'digits'))
|
|
2434
|
+
return section, value
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
def get_value(value):
|
|
2438
|
+
""" quoted-string / attribute
|
|
2439
|
+
|
|
2440
|
+
"""
|
|
2441
|
+
v = Value()
|
|
2442
|
+
if not value:
|
|
2443
|
+
raise errors.HeaderParseError("Expected value but found end of string")
|
|
2444
|
+
leader = None
|
|
2445
|
+
if value[0] in CFWS_LEADER:
|
|
2446
|
+
leader, value = get_cfws(value)
|
|
2447
|
+
if not value:
|
|
2448
|
+
raise errors.HeaderParseError("Expected value but found "
|
|
2449
|
+
"only {}".format(leader))
|
|
2450
|
+
if value[0] == '"':
|
|
2451
|
+
token, value = get_quoted_string(value)
|
|
2452
|
+
else:
|
|
2453
|
+
token, value = get_extended_attribute(value)
|
|
2454
|
+
if leader is not None:
|
|
2455
|
+
token[:0] = [leader]
|
|
2456
|
+
v.append(token)
|
|
2457
|
+
return v, value
|
|
2458
|
+
|
|
2459
|
+
def get_parameter(value):
|
|
2460
|
+
""" attribute [section] ["*"] [CFWS] "=" value
|
|
2461
|
+
|
|
2462
|
+
The CFWS is implied by the RFC but not made explicit in the BNF. This
|
|
2463
|
+
simplified form of the BNF from the RFC is made to conform with the RFC BNF
|
|
2464
|
+
through some extra checks. We do it this way because it makes both error
|
|
2465
|
+
recovery and working with the resulting parse tree easier.
|
|
2466
|
+
"""
|
|
2467
|
+
# It is possible CFWS would also be implicitly allowed between the section
|
|
2468
|
+
# and the 'extended-attribute' marker (the '*') , but we've never seen that
|
|
2469
|
+
# in the wild and we will therefore ignore the possibility.
|
|
2470
|
+
param = Parameter()
|
|
2471
|
+
token, value = get_attribute(value)
|
|
2472
|
+
param.append(token)
|
|
2473
|
+
if not value or value[0] == ';':
|
|
2474
|
+
param.defects.append(errors.InvalidHeaderDefect("Parameter contains "
|
|
2475
|
+
"name ({}) but no value".format(token)))
|
|
2476
|
+
return param, value
|
|
2477
|
+
if value[0] == '*':
|
|
2478
|
+
try:
|
|
2479
|
+
token, value = get_section(value)
|
|
2480
|
+
param.sectioned = True
|
|
2481
|
+
param.append(token)
|
|
2482
|
+
except errors.HeaderParseError:
|
|
2483
|
+
pass
|
|
2484
|
+
if not value:
|
|
2485
|
+
raise errors.HeaderParseError("Incomplete parameter")
|
|
2486
|
+
if value[0] == '*':
|
|
2487
|
+
param.append(ValueTerminal('*', 'extended-parameter-marker'))
|
|
2488
|
+
value = value[1:]
|
|
2489
|
+
param.extended = True
|
|
2490
|
+
if value[0] != '=':
|
|
2491
|
+
raise errors.HeaderParseError("Parameter not followed by '='")
|
|
2492
|
+
param.append(ValueTerminal('=', 'parameter-separator'))
|
|
2493
|
+
value = value[1:]
|
|
2494
|
+
if value and value[0] in CFWS_LEADER:
|
|
2495
|
+
token, value = get_cfws(value)
|
|
2496
|
+
param.append(token)
|
|
2497
|
+
remainder = None
|
|
2498
|
+
appendto = param
|
|
2499
|
+
if param.extended and value and value[0] == '"':
|
|
2500
|
+
# Now for some serious hackery to handle the common invalid case of
|
|
2501
|
+
# double quotes around an extended value. We also accept (with defect)
|
|
2502
|
+
# a value marked as encoded that isn't really.
|
|
2503
|
+
qstring, remainder = get_quoted_string(value)
|
|
2504
|
+
inner_value = qstring.stripped_value
|
|
2505
|
+
semi_valid = False
|
|
2506
|
+
if param.section_number == 0:
|
|
2507
|
+
if inner_value and inner_value[0] == "'":
|
|
2508
|
+
semi_valid = True
|
|
2509
|
+
else:
|
|
2510
|
+
token, rest = get_attrtext(inner_value)
|
|
2511
|
+
if rest and rest[0] == "'":
|
|
2512
|
+
semi_valid = True
|
|
2513
|
+
else:
|
|
2514
|
+
try:
|
|
2515
|
+
token, rest = get_extended_attrtext(inner_value)
|
|
2516
|
+
except:
|
|
2517
|
+
pass
|
|
2518
|
+
else:
|
|
2519
|
+
if not rest:
|
|
2520
|
+
semi_valid = True
|
|
2521
|
+
if semi_valid:
|
|
2522
|
+
param.defects.append(errors.InvalidHeaderDefect(
|
|
2523
|
+
"Quoted string value for extended parameter is invalid"))
|
|
2524
|
+
param.append(qstring)
|
|
2525
|
+
for t in qstring:
|
|
2526
|
+
if t.token_type == 'bare-quoted-string':
|
|
2527
|
+
t[:] = []
|
|
2528
|
+
appendto = t
|
|
2529
|
+
break
|
|
2530
|
+
value = inner_value
|
|
2531
|
+
else:
|
|
2532
|
+
remainder = None
|
|
2533
|
+
param.defects.append(errors.InvalidHeaderDefect(
|
|
2534
|
+
"Parameter marked as extended but appears to have a "
|
|
2535
|
+
"quoted string value that is non-encoded"))
|
|
2536
|
+
if value and value[0] == "'":
|
|
2537
|
+
token = None
|
|
2538
|
+
else:
|
|
2539
|
+
token, value = get_value(value)
|
|
2540
|
+
if not param.extended or param.section_number > 0:
|
|
2541
|
+
if not value or value[0] != "'":
|
|
2542
|
+
appendto.append(token)
|
|
2543
|
+
if remainder is not None:
|
|
2544
|
+
assert not value, value
|
|
2545
|
+
value = remainder
|
|
2546
|
+
return param, value
|
|
2547
|
+
param.defects.append(errors.InvalidHeaderDefect(
|
|
2548
|
+
"Apparent initial-extended-value but attribute "
|
|
2549
|
+
"was not marked as extended or was not initial section"))
|
|
2550
|
+
if not value:
|
|
2551
|
+
# Assume the charset/lang is missing and the token is the value.
|
|
2552
|
+
param.defects.append(errors.InvalidHeaderDefect(
|
|
2553
|
+
"Missing required charset/lang delimiters"))
|
|
2554
|
+
appendto.append(token)
|
|
2555
|
+
if remainder is None:
|
|
2556
|
+
return param, value
|
|
2557
|
+
else:
|
|
2558
|
+
if token is not None:
|
|
2559
|
+
for t in token:
|
|
2560
|
+
if t.token_type == 'extended-attrtext':
|
|
2561
|
+
break
|
|
2562
|
+
t.token_type == 'attrtext'
|
|
2563
|
+
appendto.append(t)
|
|
2564
|
+
param.charset = t.value
|
|
2565
|
+
if value[0] != "'":
|
|
2566
|
+
raise errors.HeaderParseError("Expected RFC2231 char/lang encoding "
|
|
2567
|
+
"delimiter, but found {!r}".format(value))
|
|
2568
|
+
appendto.append(ValueTerminal("'", 'RFC2231-delimiter'))
|
|
2569
|
+
value = value[1:]
|
|
2570
|
+
if value and value[0] != "'":
|
|
2571
|
+
token, value = get_attrtext(value)
|
|
2572
|
+
appendto.append(token)
|
|
2573
|
+
param.lang = token.value
|
|
2574
|
+
if not value or value[0] != "'":
|
|
2575
|
+
raise errors.HeaderParseError("Expected RFC2231 char/lang encoding "
|
|
2576
|
+
"delimiter, but found {}".format(value))
|
|
2577
|
+
appendto.append(ValueTerminal("'", 'RFC2231-delimiter'))
|
|
2578
|
+
value = value[1:]
|
|
2579
|
+
if remainder is not None:
|
|
2580
|
+
# Treat the rest of value as bare quoted string content.
|
|
2581
|
+
v = Value()
|
|
2582
|
+
while value:
|
|
2583
|
+
if value[0] in WSP:
|
|
2584
|
+
token, value = get_fws(value)
|
|
2585
|
+
elif value[0] == '"':
|
|
2586
|
+
token = ValueTerminal('"', 'DQUOTE')
|
|
2587
|
+
value = value[1:]
|
|
2588
|
+
else:
|
|
2589
|
+
token, value = get_qcontent(value)
|
|
2590
|
+
v.append(token)
|
|
2591
|
+
token = v
|
|
2592
|
+
else:
|
|
2593
|
+
token, value = get_value(value)
|
|
2594
|
+
appendto.append(token)
|
|
2595
|
+
if remainder is not None:
|
|
2596
|
+
assert not value, value
|
|
2597
|
+
value = remainder
|
|
2598
|
+
return param, value
|
|
2599
|
+
|
|
2600
|
+
def parse_mime_parameters(value):
|
|
2601
|
+
""" parameter *( ";" parameter )
|
|
2602
|
+
|
|
2603
|
+
That BNF is meant to indicate this routine should only be called after
|
|
2604
|
+
finding and handling the leading ';'. There is no corresponding rule in
|
|
2605
|
+
the formal RFC grammar, but it is more convenient for us for the set of
|
|
2606
|
+
parameters to be treated as its own TokenList.
|
|
2607
|
+
|
|
2608
|
+
This is 'parse' routine because it consumes the remaining value, but it
|
|
2609
|
+
would never be called to parse a full header. Instead it is called to
|
|
2610
|
+
parse everything after the non-parameter value of a specific MIME header.
|
|
2611
|
+
|
|
2612
|
+
"""
|
|
2613
|
+
mime_parameters = MimeParameters()
|
|
2614
|
+
while value:
|
|
2615
|
+
try:
|
|
2616
|
+
token, value = get_parameter(value)
|
|
2617
|
+
mime_parameters.append(token)
|
|
2618
|
+
except errors.HeaderParseError:
|
|
2619
|
+
leader = None
|
|
2620
|
+
if value[0] in CFWS_LEADER:
|
|
2621
|
+
leader, value = get_cfws(value)
|
|
2622
|
+
if not value:
|
|
2623
|
+
mime_parameters.append(leader)
|
|
2624
|
+
return mime_parameters
|
|
2625
|
+
if value[0] == ';':
|
|
2626
|
+
if leader is not None:
|
|
2627
|
+
mime_parameters.append(leader)
|
|
2628
|
+
mime_parameters.defects.append(errors.InvalidHeaderDefect(
|
|
2629
|
+
"parameter entry with no content"))
|
|
2630
|
+
else:
|
|
2631
|
+
token, value = get_invalid_parameter(value)
|
|
2632
|
+
if leader:
|
|
2633
|
+
token[:0] = [leader]
|
|
2634
|
+
mime_parameters.append(token)
|
|
2635
|
+
mime_parameters.defects.append(errors.InvalidHeaderDefect(
|
|
2636
|
+
"invalid parameter {!r}".format(token)))
|
|
2637
|
+
if value and value[0] != ';':
|
|
2638
|
+
# Junk after the otherwise valid parameter. Mark it as
|
|
2639
|
+
# invalid, but it will have a value.
|
|
2640
|
+
param = mime_parameters[-1]
|
|
2641
|
+
param.token_type = 'invalid-parameter'
|
|
2642
|
+
token, value = get_invalid_parameter(value)
|
|
2643
|
+
param.extend(token)
|
|
2644
|
+
mime_parameters.defects.append(errors.InvalidHeaderDefect(
|
|
2645
|
+
"parameter with invalid trailing text {!r}".format(token)))
|
|
2646
|
+
if value:
|
|
2647
|
+
# Must be a ';' at this point.
|
|
2648
|
+
mime_parameters.append(ValueTerminal(';', 'parameter-separator'))
|
|
2649
|
+
value = value[1:]
|
|
2650
|
+
return mime_parameters
|
|
2651
|
+
|
|
2652
|
+
def _find_mime_parameters(tokenlist, value):
|
|
2653
|
+
"""Do our best to find the parameters in an invalid MIME header
|
|
2654
|
+
|
|
2655
|
+
"""
|
|
2656
|
+
while value and value[0] != ';':
|
|
2657
|
+
if value[0] in PHRASE_ENDS:
|
|
2658
|
+
tokenlist.append(ValueTerminal(value[0], 'misplaced-special'))
|
|
2659
|
+
value = value[1:]
|
|
2660
|
+
else:
|
|
2661
|
+
token, value = get_phrase(value)
|
|
2662
|
+
tokenlist.append(token)
|
|
2663
|
+
if not value:
|
|
2664
|
+
return
|
|
2665
|
+
tokenlist.append(ValueTerminal(';', 'parameter-separator'))
|
|
2666
|
+
tokenlist.append(parse_mime_parameters(value[1:]))
|
|
2667
|
+
|
|
2668
|
+
def parse_content_type_header(value):
|
|
2669
|
+
""" maintype "/" subtype *( ";" parameter )
|
|
2670
|
+
|
|
2671
|
+
The maintype and substype are tokens. Theoretically they could
|
|
2672
|
+
be checked against the official IANA list + x-token, but we
|
|
2673
|
+
don't do that.
|
|
2674
|
+
"""
|
|
2675
|
+
ctype = ContentType()
|
|
2676
|
+
if not value:
|
|
2677
|
+
ctype.defects.append(errors.HeaderMissingRequiredValue(
|
|
2678
|
+
"Missing content type specification"))
|
|
2679
|
+
return ctype
|
|
2680
|
+
try:
|
|
2681
|
+
token, value = get_token(value)
|
|
2682
|
+
except errors.HeaderParseError:
|
|
2683
|
+
ctype.defects.append(errors.InvalidHeaderDefect(
|
|
2684
|
+
"Expected content maintype but found {!r}".format(value)))
|
|
2685
|
+
_find_mime_parameters(ctype, value)
|
|
2686
|
+
return ctype
|
|
2687
|
+
ctype.append(token)
|
|
2688
|
+
# XXX: If we really want to follow the formal grammar we should make
|
|
2689
|
+
# mantype and subtype specialized TokenLists here. Probably not worth it.
|
|
2690
|
+
if not value or value[0] != '/':
|
|
2691
|
+
ctype.defects.append(errors.InvalidHeaderDefect(
|
|
2692
|
+
"Invalid content type"))
|
|
2693
|
+
if value:
|
|
2694
|
+
_find_mime_parameters(ctype, value)
|
|
2695
|
+
return ctype
|
|
2696
|
+
ctype.maintype = token.value.strip().lower()
|
|
2697
|
+
ctype.append(ValueTerminal('/', 'content-type-separator'))
|
|
2698
|
+
value = value[1:]
|
|
2699
|
+
try:
|
|
2700
|
+
token, value = get_token(value)
|
|
2701
|
+
except errors.HeaderParseError:
|
|
2702
|
+
ctype.defects.append(errors.InvalidHeaderDefect(
|
|
2703
|
+
"Expected content subtype but found {!r}".format(value)))
|
|
2704
|
+
_find_mime_parameters(ctype, value)
|
|
2705
|
+
return ctype
|
|
2706
|
+
ctype.append(token)
|
|
2707
|
+
ctype.subtype = token.value.strip().lower()
|
|
2708
|
+
if not value:
|
|
2709
|
+
return ctype
|
|
2710
|
+
if value[0] != ';':
|
|
2711
|
+
ctype.defects.append(errors.InvalidHeaderDefect(
|
|
2712
|
+
"Only parameters are valid after content type, but "
|
|
2713
|
+
"found {!r}".format(value)))
|
|
2714
|
+
# The RFC requires that a syntactically invalid content-type be treated
|
|
2715
|
+
# as text/plain. Perhaps we should postel this, but we should probably
|
|
2716
|
+
# only do that if we were checking the subtype value against IANA.
|
|
2717
|
+
del ctype.maintype, ctype.subtype
|
|
2718
|
+
_find_mime_parameters(ctype, value)
|
|
2719
|
+
return ctype
|
|
2720
|
+
ctype.append(ValueTerminal(';', 'parameter-separator'))
|
|
2721
|
+
ctype.append(parse_mime_parameters(value[1:]))
|
|
2722
|
+
return ctype
|
|
2723
|
+
|
|
2724
|
+
def parse_content_disposition_header(value):
|
|
2725
|
+
""" disposition-type *( ";" parameter )
|
|
2726
|
+
|
|
2727
|
+
"""
|
|
2728
|
+
disp_header = ContentDisposition()
|
|
2729
|
+
if not value:
|
|
2730
|
+
disp_header.defects.append(errors.HeaderMissingRequiredValue(
|
|
2731
|
+
"Missing content disposition"))
|
|
2732
|
+
return disp_header
|
|
2733
|
+
try:
|
|
2734
|
+
token, value = get_token(value)
|
|
2735
|
+
except errors.HeaderParseError:
|
|
2736
|
+
disp_header.defects.append(errors.InvalidHeaderDefect(
|
|
2737
|
+
"Expected content disposition but found {!r}".format(value)))
|
|
2738
|
+
_find_mime_parameters(disp_header, value)
|
|
2739
|
+
return disp_header
|
|
2740
|
+
disp_header.append(token)
|
|
2741
|
+
disp_header.content_disposition = token.value.strip().lower()
|
|
2742
|
+
if not value:
|
|
2743
|
+
return disp_header
|
|
2744
|
+
if value[0] != ';':
|
|
2745
|
+
disp_header.defects.append(errors.InvalidHeaderDefect(
|
|
2746
|
+
"Only parameters are valid after content disposition, but "
|
|
2747
|
+
"found {!r}".format(value)))
|
|
2748
|
+
_find_mime_parameters(disp_header, value)
|
|
2749
|
+
return disp_header
|
|
2750
|
+
disp_header.append(ValueTerminal(';', 'parameter-separator'))
|
|
2751
|
+
disp_header.append(parse_mime_parameters(value[1:]))
|
|
2752
|
+
return disp_header
|
|
2753
|
+
|
|
2754
|
+
def parse_content_transfer_encoding_header(value):
|
|
2755
|
+
""" mechanism
|
|
2756
|
+
|
|
2757
|
+
"""
|
|
2758
|
+
# We should probably validate the values, since the list is fixed.
|
|
2759
|
+
cte_header = ContentTransferEncoding()
|
|
2760
|
+
if not value:
|
|
2761
|
+
cte_header.defects.append(errors.HeaderMissingRequiredValue(
|
|
2762
|
+
"Missing content transfer encoding"))
|
|
2763
|
+
return cte_header
|
|
2764
|
+
try:
|
|
2765
|
+
token, value = get_token(value)
|
|
2766
|
+
except errors.HeaderParseError:
|
|
2767
|
+
cte_header.defects.append(errors.InvalidHeaderDefect(
|
|
2768
|
+
"Expected content transfer encoding but found {!r}".format(value)))
|
|
2769
|
+
else:
|
|
2770
|
+
cte_header.append(token)
|
|
2771
|
+
cte_header.cte = token.value.strip().lower()
|
|
2772
|
+
if not value:
|
|
2773
|
+
return cte_header
|
|
2774
|
+
while value:
|
|
2775
|
+
cte_header.defects.append(errors.InvalidHeaderDefect(
|
|
2776
|
+
"Extra text after content transfer encoding"))
|
|
2777
|
+
if value[0] in PHRASE_ENDS:
|
|
2778
|
+
cte_header.append(ValueTerminal(value[0], 'misplaced-special'))
|
|
2779
|
+
value = value[1:]
|
|
2780
|
+
else:
|
|
2781
|
+
token, value = get_phrase(value)
|
|
2782
|
+
cte_header.append(token)
|
|
2783
|
+
return cte_header
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
#
|
|
2787
|
+
# Header folding
|
|
2788
|
+
#
|
|
2789
|
+
# Header folding is complex, with lots of rules and corner cases. The
|
|
2790
|
+
# following code does its best to obey the rules and handle the corner
|
|
2791
|
+
# cases, but you can be sure there are few bugs:)
|
|
2792
|
+
#
|
|
2793
|
+
# This folder generally canonicalizes as it goes, preferring the stringified
|
|
2794
|
+
# version of each token. The tokens contain information that supports the
|
|
2795
|
+
# folder, including which tokens can be encoded in which ways.
|
|
2796
|
+
#
|
|
2797
|
+
# Folded text is accumulated in a simple list of strings ('lines'), each
|
|
2798
|
+
# one of which should be less than policy.max_line_length ('maxlen').
|
|
2799
|
+
#
|
|
2800
|
+
|
|
2801
|
+
def _steal_trailing_WSP_if_exists(lines):
|
|
2802
|
+
wsp = ''
|
|
2803
|
+
if lines and lines[-1] and lines[-1][-1] in WSP:
|
|
2804
|
+
wsp = lines[-1][-1]
|
|
2805
|
+
lines[-1] = lines[-1][:-1]
|
|
2806
|
+
return wsp
|
|
2807
|
+
|
|
2808
|
+
def _refold_parse_tree(parse_tree, *, policy):
|
|
2809
|
+
"""Return string of contents of parse_tree folded according to RFC rules.
|
|
2810
|
+
|
|
2811
|
+
"""
|
|
2812
|
+
# max_line_length 0/None means no limit, ie: infinitely long.
|
|
2813
|
+
maxlen = policy.max_line_length or sys.maxsize
|
|
2814
|
+
encoding = 'utf-8' if policy.utf8 else 'us-ascii'
|
|
2815
|
+
lines = [''] # Folded lines to be output
|
|
2816
|
+
leading_whitespace = '' # When we have whitespace between two encoded
|
|
2817
|
+
# words, we may need to encode the whitespace
|
|
2818
|
+
# at the beginning of the second word.
|
|
2819
|
+
last_ew = None # Points to the last encoded character if there's an ew on
|
|
2820
|
+
# the line
|
|
2821
|
+
last_charset = None
|
|
2822
|
+
wrap_as_ew_blocked = 0
|
|
2823
|
+
want_encoding = False # This is set to True if we need to encode this part
|
|
2824
|
+
end_ew_not_allowed = Terminal('', 'wrap_as_ew_blocked')
|
|
2825
|
+
parts = list(parse_tree)
|
|
2826
|
+
while parts:
|
|
2827
|
+
part = parts.pop(0)
|
|
2828
|
+
if part is end_ew_not_allowed:
|
|
2829
|
+
wrap_as_ew_blocked -= 1
|
|
2830
|
+
continue
|
|
2831
|
+
tstr = str(part)
|
|
2832
|
+
if not want_encoding:
|
|
2833
|
+
if part.token_type == 'ptext' or part.contains_token_type('vtext'):
|
|
2834
|
+
# Encode if tstr contains special characters.
|
|
2835
|
+
want_encoding = not SPECIALSNL.isdisjoint(tstr)
|
|
2836
|
+
else:
|
|
2837
|
+
# Encode if tstr contains newlines.
|
|
2838
|
+
want_encoding = not NLSET.isdisjoint(tstr)
|
|
2839
|
+
try:
|
|
2840
|
+
tstr.encode(encoding)
|
|
2841
|
+
charset = encoding
|
|
2842
|
+
except UnicodeEncodeError:
|
|
2843
|
+
if any(isinstance(x, errors.UndecodableBytesDefect)
|
|
2844
|
+
for x in part.all_defects):
|
|
2845
|
+
charset = 'unknown-8bit'
|
|
2846
|
+
else:
|
|
2847
|
+
# If policy.utf8 is false this should really be taken from a
|
|
2848
|
+
# 'charset' property on the policy.
|
|
2849
|
+
charset = 'utf-8'
|
|
2850
|
+
want_encoding = True
|
|
2851
|
+
|
|
2852
|
+
if part.token_type == 'mime-parameters':
|
|
2853
|
+
# Mime parameter folding (using RFC2231) is extra special.
|
|
2854
|
+
_fold_mime_parameters(part, lines, maxlen, encoding)
|
|
2855
|
+
continue
|
|
2856
|
+
|
|
2857
|
+
if want_encoding and not wrap_as_ew_blocked:
|
|
2858
|
+
if not part.as_ew_allowed:
|
|
2859
|
+
want_encoding = False
|
|
2860
|
+
last_ew = None
|
|
2861
|
+
if part.syntactic_break:
|
|
2862
|
+
encoded_part = part.fold(policy=policy)[:-len(policy.linesep)]
|
|
2863
|
+
if policy.linesep not in encoded_part:
|
|
2864
|
+
# It fits on a single line
|
|
2865
|
+
if len(encoded_part) > maxlen - len(lines[-1]):
|
|
2866
|
+
# But not on this one, so start a new one.
|
|
2867
|
+
newline = _steal_trailing_WSP_if_exists(lines)
|
|
2868
|
+
# XXX what if encoded_part has no leading FWS?
|
|
2869
|
+
lines.append(newline)
|
|
2870
|
+
lines[-1] += encoded_part
|
|
2871
|
+
continue
|
|
2872
|
+
# Either this is not a major syntactic break, so we don't
|
|
2873
|
+
# want it on a line by itself even if it fits, or it
|
|
2874
|
+
# doesn't fit on a line by itself. Either way, fall through
|
|
2875
|
+
# to unpacking the subparts and wrapping them.
|
|
2876
|
+
if not hasattr(part, 'encode'):
|
|
2877
|
+
# It's not a Terminal, do each piece individually.
|
|
2878
|
+
parts = list(part) + parts
|
|
2879
|
+
want_encoding = False
|
|
2880
|
+
continue
|
|
2881
|
+
elif part.as_ew_allowed:
|
|
2882
|
+
# It's a terminal, wrap it as an encoded word, possibly
|
|
2883
|
+
# combining it with previously encoded words if allowed.
|
|
2884
|
+
if (last_ew is not None and
|
|
2885
|
+
charset != last_charset and
|
|
2886
|
+
(last_charset == 'unknown-8bit' or
|
|
2887
|
+
last_charset == 'utf-8' and charset != 'us-ascii')):
|
|
2888
|
+
last_ew = None
|
|
2889
|
+
last_ew = _fold_as_ew(tstr, lines, maxlen, last_ew,
|
|
2890
|
+
part.ew_combine_allowed, charset, leading_whitespace)
|
|
2891
|
+
# This whitespace has been added to the lines in _fold_as_ew()
|
|
2892
|
+
# so clear it now.
|
|
2893
|
+
leading_whitespace = ''
|
|
2894
|
+
last_charset = charset
|
|
2895
|
+
want_encoding = False
|
|
2896
|
+
continue
|
|
2897
|
+
else:
|
|
2898
|
+
# It's a terminal which should be kept non-encoded
|
|
2899
|
+
# (e.g. a ListSeparator).
|
|
2900
|
+
last_ew = None
|
|
2901
|
+
want_encoding = False
|
|
2902
|
+
# fall through
|
|
2903
|
+
|
|
2904
|
+
if len(tstr) <= maxlen - len(lines[-1]):
|
|
2905
|
+
lines[-1] += tstr
|
|
2906
|
+
continue
|
|
2907
|
+
|
|
2908
|
+
# This part is too long to fit. The RFC wants us to break at
|
|
2909
|
+
# "major syntactic breaks", so unless we don't consider this
|
|
2910
|
+
# to be one, check if it will fit on the next line by itself.
|
|
2911
|
+
leading_whitespace = ''
|
|
2912
|
+
if (part.syntactic_break and
|
|
2913
|
+
len(tstr) + 1 <= maxlen):
|
|
2914
|
+
newline = _steal_trailing_WSP_if_exists(lines)
|
|
2915
|
+
if newline or part.startswith_fws():
|
|
2916
|
+
# We're going to fold the data onto a new line here. Due to
|
|
2917
|
+
# the way encoded strings handle continuation lines, we need to
|
|
2918
|
+
# be prepared to encode any whitespace if the next line turns
|
|
2919
|
+
# out to start with an encoded word.
|
|
2920
|
+
lines.append(newline + tstr)
|
|
2921
|
+
|
|
2922
|
+
whitespace_accumulator = []
|
|
2923
|
+
for char in lines[-1]:
|
|
2924
|
+
if char not in WSP:
|
|
2925
|
+
break
|
|
2926
|
+
whitespace_accumulator.append(char)
|
|
2927
|
+
leading_whitespace = ''.join(whitespace_accumulator)
|
|
2928
|
+
last_ew = None
|
|
2929
|
+
continue
|
|
2930
|
+
if not hasattr(part, 'encode'):
|
|
2931
|
+
# It's not a terminal, try folding the subparts.
|
|
2932
|
+
newparts = list(part)
|
|
2933
|
+
if part.token_type == 'bare-quoted-string':
|
|
2934
|
+
# To fold a quoted string we need to create a list of terminal
|
|
2935
|
+
# tokens that will render the leading and trailing quotes
|
|
2936
|
+
# and use quoted pairs in the value as appropriate.
|
|
2937
|
+
newparts = (
|
|
2938
|
+
[ValueTerminal('"', 'ptext')] +
|
|
2939
|
+
[ValueTerminal(make_quoted_pairs(p), 'ptext')
|
|
2940
|
+
for p in newparts] +
|
|
2941
|
+
[ValueTerminal('"', 'ptext')])
|
|
2942
|
+
if part.token_type == 'comment':
|
|
2943
|
+
newparts = (
|
|
2944
|
+
[ValueTerminal('(', 'ptext')] +
|
|
2945
|
+
[ValueTerminal(make_parenthesis_pairs(p), 'ptext')
|
|
2946
|
+
if p.token_type == 'ptext' else p
|
|
2947
|
+
for p in newparts] +
|
|
2948
|
+
[ValueTerminal(')', 'ptext')])
|
|
2949
|
+
if not part.as_ew_allowed:
|
|
2950
|
+
wrap_as_ew_blocked += 1
|
|
2951
|
+
newparts.append(end_ew_not_allowed)
|
|
2952
|
+
parts = newparts + parts
|
|
2953
|
+
continue
|
|
2954
|
+
if part.as_ew_allowed and not wrap_as_ew_blocked:
|
|
2955
|
+
# It doesn't need CTE encoding, but encode it anyway so we can
|
|
2956
|
+
# wrap it.
|
|
2957
|
+
parts.insert(0, part)
|
|
2958
|
+
want_encoding = True
|
|
2959
|
+
continue
|
|
2960
|
+
# We can't figure out how to wrap, it, so give up.
|
|
2961
|
+
newline = _steal_trailing_WSP_if_exists(lines)
|
|
2962
|
+
if newline or part.startswith_fws():
|
|
2963
|
+
lines.append(newline + tstr)
|
|
2964
|
+
else:
|
|
2965
|
+
# We can't fold it onto the next line either...
|
|
2966
|
+
lines[-1] += tstr
|
|
2967
|
+
|
|
2968
|
+
return policy.linesep.join(lines) + policy.linesep
|
|
2969
|
+
|
|
2970
|
+
def _fold_as_ew(to_encode, lines, maxlen, last_ew, ew_combine_allowed, charset, leading_whitespace):
|
|
2971
|
+
"""Fold string to_encode into lines as encoded word, combining if allowed.
|
|
2972
|
+
Return the new value for last_ew, or None if ew_combine_allowed is False.
|
|
2973
|
+
|
|
2974
|
+
If there is already an encoded word in the last line of lines (indicated by
|
|
2975
|
+
a non-None value for last_ew) and ew_combine_allowed is true, decode the
|
|
2976
|
+
existing ew, combine it with to_encode, and re-encode. Otherwise, encode
|
|
2977
|
+
to_encode. In either case, split to_encode as necessary so that the
|
|
2978
|
+
encoded segments fit within maxlen.
|
|
2979
|
+
|
|
2980
|
+
"""
|
|
2981
|
+
if last_ew is not None and ew_combine_allowed:
|
|
2982
|
+
to_encode = str(
|
|
2983
|
+
get_unstructured(lines[-1][last_ew:] + to_encode))
|
|
2984
|
+
lines[-1] = lines[-1][:last_ew]
|
|
2985
|
+
elif to_encode[0] in WSP:
|
|
2986
|
+
# We're joining this to non-encoded text, so don't encode
|
|
2987
|
+
# the leading blank.
|
|
2988
|
+
leading_wsp = to_encode[0]
|
|
2989
|
+
to_encode = to_encode[1:]
|
|
2990
|
+
if (len(lines[-1]) == maxlen):
|
|
2991
|
+
lines.append(_steal_trailing_WSP_if_exists(lines))
|
|
2992
|
+
lines[-1] += leading_wsp
|
|
2993
|
+
|
|
2994
|
+
trailing_wsp = ''
|
|
2995
|
+
if to_encode[-1] in WSP:
|
|
2996
|
+
# Likewise for the trailing space.
|
|
2997
|
+
trailing_wsp = to_encode[-1]
|
|
2998
|
+
to_encode = to_encode[:-1]
|
|
2999
|
+
new_last_ew = len(lines[-1]) if last_ew is None else last_ew
|
|
3000
|
+
|
|
3001
|
+
encode_as = 'utf-8' if charset == 'us-ascii' else charset
|
|
3002
|
+
|
|
3003
|
+
# The RFC2047 chrome takes up 7 characters plus the length
|
|
3004
|
+
# of the charset name.
|
|
3005
|
+
chrome_len = len(encode_as) + 7
|
|
3006
|
+
|
|
3007
|
+
if (chrome_len + 1) >= maxlen:
|
|
3008
|
+
raise errors.HeaderParseError(
|
|
3009
|
+
"max_line_length is too small to fit an encoded word")
|
|
3010
|
+
|
|
3011
|
+
while to_encode:
|
|
3012
|
+
remaining_space = maxlen - len(lines[-1])
|
|
3013
|
+
text_space = remaining_space - chrome_len - len(leading_whitespace)
|
|
3014
|
+
if text_space <= 0:
|
|
3015
|
+
lines.append(' ')
|
|
3016
|
+
continue
|
|
3017
|
+
|
|
3018
|
+
# If we are at the start of a continuation line, prepend whitespace
|
|
3019
|
+
# (we only want to do this when the line starts with an encoded word
|
|
3020
|
+
# but if we're folding in this helper function, then we know that we
|
|
3021
|
+
# are going to be writing out an encoded word.)
|
|
3022
|
+
if len(lines) > 1 and len(lines[-1]) == 1 and leading_whitespace:
|
|
3023
|
+
encoded_word = _ew.encode(leading_whitespace, charset=encode_as)
|
|
3024
|
+
lines[-1] += encoded_word
|
|
3025
|
+
leading_whitespace = ''
|
|
3026
|
+
|
|
3027
|
+
to_encode_word = to_encode[:text_space]
|
|
3028
|
+
encoded_word = _ew.encode(to_encode_word, charset=encode_as)
|
|
3029
|
+
excess = len(encoded_word) - remaining_space
|
|
3030
|
+
while excess > 0:
|
|
3031
|
+
# Since the chunk to encode is guaranteed to fit into less than 100 characters,
|
|
3032
|
+
# shrinking it by one at a time shouldn't take long.
|
|
3033
|
+
to_encode_word = to_encode_word[:-1]
|
|
3034
|
+
encoded_word = _ew.encode(to_encode_word, charset=encode_as)
|
|
3035
|
+
excess = len(encoded_word) - remaining_space
|
|
3036
|
+
lines[-1] += encoded_word
|
|
3037
|
+
to_encode = to_encode[len(to_encode_word):]
|
|
3038
|
+
leading_whitespace = ''
|
|
3039
|
+
|
|
3040
|
+
if to_encode:
|
|
3041
|
+
lines.append(' ')
|
|
3042
|
+
new_last_ew = len(lines[-1])
|
|
3043
|
+
lines[-1] += trailing_wsp
|
|
3044
|
+
return new_last_ew if ew_combine_allowed else None
|
|
3045
|
+
|
|
3046
|
+
def _fold_mime_parameters(part, lines, maxlen, encoding):
|
|
3047
|
+
"""Fold TokenList 'part' into the 'lines' list as mime parameters.
|
|
3048
|
+
|
|
3049
|
+
Using the decoded list of parameters and values, format them according to
|
|
3050
|
+
the RFC rules, including using RFC2231 encoding if the value cannot be
|
|
3051
|
+
expressed in 'encoding' and/or the parameter+value is too long to fit
|
|
3052
|
+
within 'maxlen'.
|
|
3053
|
+
|
|
3054
|
+
"""
|
|
3055
|
+
# Special case for RFC2231 encoding: start from decoded values and use
|
|
3056
|
+
# RFC2231 encoding iff needed.
|
|
3057
|
+
#
|
|
3058
|
+
# Note that the 1 and 2s being added to the length calculations are
|
|
3059
|
+
# accounting for the possibly-needed spaces and semicolons we'll be adding.
|
|
3060
|
+
#
|
|
3061
|
+
for name, value in part.params:
|
|
3062
|
+
# XXX What if this ';' puts us over maxlen the first time through the
|
|
3063
|
+
# loop? We should split the header value onto a newline in that case,
|
|
3064
|
+
# but to do that we need to recognize the need earlier or reparse the
|
|
3065
|
+
# header, so I'm going to ignore that bug for now. It'll only put us
|
|
3066
|
+
# one character over.
|
|
3067
|
+
if not lines[-1].rstrip().endswith(';'):
|
|
3068
|
+
lines[-1] += ';'
|
|
3069
|
+
charset = encoding
|
|
3070
|
+
error_handler = 'strict'
|
|
3071
|
+
try:
|
|
3072
|
+
value.encode(encoding)
|
|
3073
|
+
encoding_required = False
|
|
3074
|
+
except UnicodeEncodeError:
|
|
3075
|
+
encoding_required = True
|
|
3076
|
+
if utils._has_surrogates(value):
|
|
3077
|
+
charset = 'unknown-8bit'
|
|
3078
|
+
error_handler = 'surrogateescape'
|
|
3079
|
+
else:
|
|
3080
|
+
charset = 'utf-8'
|
|
3081
|
+
if encoding_required:
|
|
3082
|
+
encoded_value = urllib.parse.quote(
|
|
3083
|
+
value, safe='', errors=error_handler)
|
|
3084
|
+
tstr = "{}*={}''{}".format(name, charset, encoded_value)
|
|
3085
|
+
else:
|
|
3086
|
+
tstr = '{}={}'.format(name, quote_string(value))
|
|
3087
|
+
if len(lines[-1]) + len(tstr) + 1 < maxlen:
|
|
3088
|
+
lines[-1] = lines[-1] + ' ' + tstr
|
|
3089
|
+
continue
|
|
3090
|
+
elif len(tstr) + 2 <= maxlen:
|
|
3091
|
+
lines.append(' ' + tstr)
|
|
3092
|
+
continue
|
|
3093
|
+
# We need multiple sections. We are allowed to mix encoded and
|
|
3094
|
+
# non-encoded sections, but we aren't going to. We'll encode them all.
|
|
3095
|
+
section = 0
|
|
3096
|
+
extra_chrome = charset + "''"
|
|
3097
|
+
while value:
|
|
3098
|
+
chrome_len = len(name) + len(str(section)) + 3 + len(extra_chrome)
|
|
3099
|
+
if maxlen <= chrome_len + 3:
|
|
3100
|
+
# We need room for the leading blank, the trailing semicolon,
|
|
3101
|
+
# and at least one character of the value. If we don't
|
|
3102
|
+
# have that, we'd be stuck, so in that case fall back to
|
|
3103
|
+
# the RFC standard width.
|
|
3104
|
+
maxlen = 78
|
|
3105
|
+
splitpoint = maxchars = maxlen - chrome_len - 2
|
|
3106
|
+
while True:
|
|
3107
|
+
partial = value[:splitpoint]
|
|
3108
|
+
encoded_value = urllib.parse.quote(
|
|
3109
|
+
partial, safe='', errors=error_handler)
|
|
3110
|
+
if len(encoded_value) <= maxchars:
|
|
3111
|
+
break
|
|
3112
|
+
splitpoint -= 1
|
|
3113
|
+
lines.append(" {}*{}*={}{}".format(
|
|
3114
|
+
name, section, extra_chrome, encoded_value))
|
|
3115
|
+
extra_chrome = ''
|
|
3116
|
+
section += 1
|
|
3117
|
+
value = value[splitpoint:]
|
|
3118
|
+
if value:
|
|
3119
|
+
lines[-1] += ';'
|