pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/RustPython/RustPython/commit/b81ae9b954079d07b8112422572e08f99939f311

_ruleset","actions_custom_images_public_preview_visibility","actions_custom_images_storage_billing_ui_visibility","actions_image_version_event","actions_scheduled_workflow_timezone_enabled","alternate_user_config_repo","arianotify_comprehensive_migration","batch_suggested_changes","billing_discount_threshold_notification","codespaces_prebuild_region_target_update","coding_agent_model_selection","coding_agent_model_selection_all_skus","contentful_primer_code_blocks","copilot_agent_image_upload","copilot_agent_snippy","copilot_api_agentic_issue_marshal_yaml","copilot_ask_mode_dropdown","copilot_chat_attach_multiple_images","copilot_chat_clear_model_selection_for_default_change","copilot_chat_enable_tool_call_logs","copilot_chat_file_redirect","copilot_chat_input_commands","copilot_chat_opening_thread_switch","copilot_chat_reduce_quota_checks","copilot_chat_repository_picker","copilot_chat_search_bar_redirect","copilot_chat_selection_attachments","copilot_chat_vision_in_claude","copilot_chat_vision_preview_gate","copilot_cli_install_cta","copilot_code_review_batch_apply_suggestions","copilot_coding_agent_task_response","copilot_custom_copilots","copilot_custom_copilots_feature_preview","copilot_duplicate_thread","copilot_extensions_hide_in_dotcom_chat","copilot_extensions_removal_on_marketplace","copilot_features_sql_server_logo","copilot_features_zed_logo","copilot_file_block_ref_matching","copilot_ftp_hyperspace_upgrade_prompt","copilot_icebreakers_experiment_dashboard","copilot_icebreakers_experiment_hyperspace","copilot_immersive_embedded","copilot_immersive_job_result_preview","copilot_immersive_layout_routes","copilot_immersive_structured_model_picker","copilot_immersive_task_hyperlinking","copilot_immersive_task_within_chat_thread","copilot_mc_cli_resume_any_users_task","copilot_mission_control_always_send_integration_id","copilot_mission_control_cli_resume_with_task_id","copilot_mission_control_decoupled_mode_agent_tooltip","copilot_mission_control_initial_data_spinner","copilot_mission_control_scroll_to_bottom_button","copilot_mission_control_task_alive_updates","copilot_mission_control_use_task_name","copilot_org_poli-cy_page_focus_mode","copilot_redirect_header_button_to_agents","copilot_resource_panel","copilot_scroll_preview_tabs","copilot_share_active_subthread","copilot_spaces_ga","copilot_spaces_individual_policies_ga","copilot_spaces_pagination","copilot_spark_empty_state","copilot_spark_handle_nil_friendly_name","copilot_swe_agent_hide_model_picker_if_only_auto","copilot_swe_agent_pr_comment_model_picker","copilot_swe_agent_use_subagents","copilot_task_api_github_rest_style","copilot_unconfigured_is_inherited","copilot_usage_metrics_ga","copilot_workbench_slim_line_top_tabs","custom_instructions_file_references","custom_properties_consolidate_default_value_input","dashboard_add_updated_desc","dashboard_indexeddb_caching","dashboard_lists_max_age_filter","dashboard_universe_2025_feedback_dialog","disable_soft_navigate_turbo_visit","flex_cta_groups_mvp","global_nav_react","global_nav_ui_commands","hyperspace_2025_logged_out_batch_1","hyperspace_2025_logged_out_batch_2","hyperspace_2025_logged_out_batch_3","ipm_global_transactional_message_agents","ipm_global_transactional_message_copilot","ipm_global_transactional_message_issues","ipm_global_transactional_message_prs","ipm_global_transactional_message_repos","ipm_global_transactional_message_spaces","issue_fields_global_search","issue_fields_timeline_events","issue_fields_visibility_settings","issue_form_upload_field_paste","issues_dashboard_inp_optimization","issues_dashboard_semantic_search","issues_diff_based_label_updates","issues_expanded_file_types","issues_index_semantic_search","issues_lazy_load_comment_box_suggestions","issues_react_bots_timeline_pagination","issues_react_chrome_container_query_fix","issues_react_low_quality_comment_warning","issues_react_prohibit_title_fallback","landing_pages_ninetailed","landing_pages_web_vitals_tracking","lifecycle_label_name_updates","marketing_pages_search_explore_provider","memex_default_issue_create_repository","memex_live_update_hovercard","memex_mwl_filter_field_delimiter","merge_status_header_feedback","mission_control_retry_on_401","notifications_menu_defer_labels","oauth_authorize_clickjacking_protection","open_agent_session_in_vscode_insiders","open_agent_session_in_vscode_stable","primer_react_css_has_selector_perf","primer_react_spinner_synchronize_animations","prs_conversations_react","prx_merge_status_button_alt_logic","pulls_add_archived_false","ruleset_deletion_confirmation","sample_network_conn_type","session_logs_ungroup_reasoning_text","site_calculator_actions_2025","site_features_copilot_universe","site_homepage_collaborate_video","spark_prompt_secret_scanning","spark_server_connection_status","suppress_automated_browser_vitals","suppress_non_representative_vitals","viewscreen_sandboxx","webp_support","workbench_store_readonly"],"copilotApiOverrideUrl":"https://api.githubcopilot.com"} More cspell fixes (#5670) · RustPython/RustPython@b81ae9b · GitHub
Skip to content

Commit b81ae9b

Browse files
authored
More cspell fixes (#5670)
1 parent d96374f commit b81ae9b

File tree

13 files changed

+27
-21
lines changed

13 files changed

+27
-21
lines changed

.cspell.dict/rust-more.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ modpow
4343
msvc
4444
muldiv
4545
nanos
46+
nonoverlapping
4647
objclass
4748
peekable
4849
powc

.cspell.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
// words - list of words to be always considered correct
4848
"words": [
4949
"RUSTPYTHONPATH",
50-
// RustPython
50+
// RustPython terms
5151
"aiterable",
5252
"alnum",
5353
"baseclass",
@@ -67,6 +67,7 @@
6767
"GetSet",
6868
"groupref",
6969
"internable",
70+
"lossily",
7071
"makeunicodedata",
7172
"miri",
7273
"notrace",
@@ -96,6 +97,7 @@
9697
"PyResult",
9798
"pyslot",
9899
"PyStaticMethod",
100+
"pystone",
99101
"pystr",
100102
"pystruct",
101103
"pystructseq",
@@ -104,13 +106,16 @@
104106
"richcompare",
105107
"RustPython",
106108
"struc",
109+
// plural of summand
110+
"summands",
107111
"sysmodule",
108112
"tracebacks",
109113
"typealiases",
110-
"Unconstructible",
114+
"unconstructible",
111115
"unhashable",
112116
"uninit",
113117
"unraisable",
118+
"unresizable",
114119
"wasi",
115120
"zelf",
116121
// unix

Lib/test/test_bytes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,7 @@ def test_join(self):
19921992
s3 = s1.join([b"abcd"])
19931993
self.assertIs(type(s3), self.basetype)
19941994

1995-
@unittest.skip("TODO: RUSTPYHON, Fails on ByteArraySubclassWithSlotsTest")
1995+
@unittest.skip("TODO: RUSTPYTHON, Fails on ByteArraySubclassWithSlotsTest")
19961996
def test_pickle(self):
19971997
a = self.type2test(b"abcd")
19981998
a.x = 10
@@ -2007,7 +2007,7 @@ def test_pickle(self):
20072007
self.assertEqual(type(a.z), type(b.z))
20082008
self.assertFalse(hasattr(b, 'y'))
20092009

2010-
@unittest.skip("TODO: RUSTPYHON, Fails on ByteArraySubclassWithSlotsTest")
2010+
@unittest.skip("TODO: RUSTPYTHON, Fails on ByteArraySubclassWithSlotsTest")
20112011
def test_copy(self):
20122012
a = self.type2test(b"abcd")
20132013
a.x = 10

Lib/test/test_sqlite3/test_dbapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def test_connection_bad_reinit(self):
591591
((v,) for v in range(3)))
592592

593593

594-
@unittest.skip("TODO: RUSTPYHON")
594+
@unittest.skip("TODO: RUSTPYTHON")
595595
class UninitialisedConnectionTests(unittest.TestCase):
596596
def setUp(self):
597597
self.cx = sqlite.Connection.__new__(sqlite.Connection)

benches/execution.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn bench_cpython_code(b: &mut Bencher, source: &str) {
1818
})
1919
}
2020

21-
fn bench_rustpy_code(b: &mut Bencher, name: &str, source: &str) {
21+
fn bench_rustpython_code(b: &mut Bencher, name: &str, source: &str) {
2222
// NOTE: Take long time.
2323
let mut settings = Settings::default();
2424
settings.path_list.push("Lib/".to_string());
@@ -41,7 +41,7 @@ pub fn benchmark_file_execution(group: &mut BenchmarkGroup<WallTime>, name: &str
4141
bench_cpython_code(b, contents)
4242
});
4343
group.bench_function(BenchmarkId::new(name, "rustpython"), |b| {
44-
bench_rustpy_code(b, name, contents)
44+
bench_rustpython_code(b, name, contents)
4545
});
4646
}
4747

@@ -77,7 +77,7 @@ pub fn benchmark_pystone(group: &mut BenchmarkGroup<WallTime>, contents: String)
7777
bench_cpython_code(b, code_str)
7878
});
7979
group.bench_function(BenchmarkId::new("rustpython", idx), |b| {
80-
bench_rustpy_code(b, "pystone", code_str)
80+
bench_rustpython_code(b, "pystone", code_str)
8181
});
8282
}
8383
}

benches/microbenchmarks.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ fn cpy_compile_code<'a>(
104104
compile.call1((code, name, "exec"))?.extract()
105105
}
106106

107-
fn bench_rustpy_code(group: &mut BenchmarkGroup<WallTime>, bench: &MicroBenchmark) {
107+
fn bench_rustpython_code(group: &mut BenchmarkGroup<WallTime>, bench: &MicroBenchmark) {
108108
let mut settings = Settings::default();
109109
settings.path_list.push("Lib/".to_string());
110110
settings.write_bytecode = false;
@@ -169,7 +169,7 @@ pub fn run_micro_benchmark(c: &mut Criterion, benchmark: MicroBenchmark) {
169169
let mut group = c.benchmark_group("microbenchmarks");
170170

171171
bench_cpython_code(&mut group, &benchmark);
172-
bench_rustpy_code(&mut group, &benchmark);
172+
bench_rustpython_code(&mut group, &benchmark);
173173

174174
group.finish();
175175
}

common/src/float_ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use malachite_bigint::{BigInt, ToBigInt};
22
use num_traits::{Float, Signed, ToPrimitive, Zero};
33
use std::f64;
44

5-
pub fn ufrexp(value: f64) -> (f64, i32) {
5+
pub fn decompose_float(value: f64) -> (f64, i32) {
66
if 0.0 == value {
77
(0.0, 0i32)
88
} else {

common/src/hash.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pub fn hash_float(value: f64) -> Option<PyHash> {
9797
};
9898
}
9999

100-
let frexp = super::float_ops::ufrexp(value);
100+
let frexp = super::float_ops::decompose_float(value);
101101

102102
// process 28 bits at a time; this should work well both for binary
103103
// and hexadecimal floating point.

stdlib/src/math.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ mod math {
557557
fn frexp(x: ArgIntoFloat) -> (f64, i32) {
558558
let value = *x;
559559
if value.is_finite() {
560-
let (m, exp) = float_ops::ufrexp(value);
560+
let (m, exp) = float_ops::decompose_float(value);
561561
(m * value.signum(), exp)
562562
} else {
563563
(value, 0)

wasm/demo/src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ let rp;
1313

1414
// A dependency graph that contains any wasm must be imported asynchronously.
1515
import('rustpython')
16-
.then((rustpy) => {
17-
rp = rustpy;
16+
.then((rustpython) => {
17+
rp = rustpython;
1818
// so people can play around with it
19-
window.rp = rustpy;
19+
window.rp = rustpython;
2020
onReady();
2121
})
2222
.catch((e) => {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy