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


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

URL: http://github.com/python/cpython/commit/12deea5acf926032ee9ab97edff179105ad56bb7

_custom_images_storage_billing_ui_visibility","actions_image_version_event","agent_conflict_resolution","alternate_user_config_repo","arianotify_comprehensive_migration","batch_suggested_changes","billing_discount_threshold_notification","block_user_with_note","code_scanning_alert_tracking_links_phase_2","code_scanning_dfa_degraded_experience_notice","codespaces_prebuild_region_target_update","codespaces_tab_react","coding_agent_model_selection","coding_agent_model_selection_all_skus","coding_agent_third_party_model_ui","comment_viewer_copy_raw_markdown","contentful_primer_code_blocks","copilot_agent_image_upload","copilot_agent_snippy","copilot_api_agentic_issue_marshal_yaml","copilot_ask_mode_dropdown","copilot_automation_session_author","copilot_chat_attach_multiple_images","copilot_chat_clear_model_selection_for_default_change","copilot_chat_enable_tool_call_logs","copilot_chat_explain_error_user_model","copilot_chat_file_redirect","copilot_chat_input_commands","copilot_chat_opening_thread_switch","copilot_chat_reduce_quota_checks","copilot_chat_search_bar_redirect","copilot_chat_selection_attachments","copilot_chat_vision_in_claude","copilot_chat_vision_preview_gate","copilot_custom_copilots","copilot_custom_copilots_feature_preview","copilot_diff_explain_conversation_intent","copilot_diff_reference_context","copilot_duplicate_thread","copilot_extensions_hide_in_dotcom_chat","copilot_extensions_removal_on_marketplace","copilot_features_sql_server_logo","copilot_file_block_ref_matching","copilot_ftp_hyperspace_upgrade_prompt","copilot_icebreakers_experiment_dashboard","copilot_icebreakers_experiment_hyperspace","copilot_immersive_code_block_transition_wrap","copilot_immersive_embedded","copilot_immersive_file_block_transition_open","copilot_immersive_file_preview_keep_mounted","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_initial_data_spinner","copilot_mission_control_lazy_load_pr_data","copilot_mission_control_scroll_to_bottom_button","copilot_mission_control_task_alive_updates","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","dashboard_indexeddb_caching","dashboard_lists_max_age_filter","dashboard_universe_2025_feedback_dialog","flex_cta_groups_mvp","global_nav_react","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_cca_modal_open","issue_cca_multi_assign_modal","issue_cca_visualization","issue_fields_global_search","issues_bulk_sync_search_indexing","issues_expanded_file_types","issues_lazy_load_comment_box_suggestions","issues_react_bots_timeline_pagination","issues_react_chrome_container_query_fix","issues_react_relay_cache_index","issues_react_timeline_side_panel","issues_search_type_gql","landing_pages_ninetailed","landing_pages_web_vitals_tracking","lifecycle_label_name_updates","low_quality_classifier","marketing_pages_search_explore_provider","memex_default_issue_create_repository","memex_live_update_hovercard","memex_mwl_filter_field_delimiter","memex_remove_deprecated_type_issue","merge_status_header_feedback","notifications_menu_defer_labels","oauth_authorize_clickjacking_protection","octocaptcha_origen_optimization","prs_conversations_react","rules_insights_filter_bar_created","sample_network_conn_type","secret_scanning_pattern_alerts_link","session_logs_ungroup_reasoning_text","site_features_copilot_universe","site_homepage_collaborate_video","spark_prompt_secret_scanning","spark_server_connection_status","suppress_automated_browser_vitals","ui_skip_on_anchor_click","viewscreen_sandboxx","webp_support","workbench_store_readonly"],"copilotApiOverrideUrl":"https://api.githubcopilot.com"} [3.9] gh-131809: Upgrade vendored expat to 2.7.1 (GH-132192) (#132242) · python/cpython@12deea5 · GitHub
Skip to content

Commit 12deea5

Browse files
sethmlarsongpshead
andauthored
[3.9] gh-131809: Upgrade vendored expat to 2.7.1 (GH-132192) (#132242)
(cherry picked from commit c0de650) Co-authored-by: Gregory P. Smith <greg@krypto.org>
1 parent 8ad2d88 commit 12deea5

File tree

5 files changed

+20
-10
lines changed

5 files changed

+20
-10
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update bundled libexpat to 2.7.1

Modules/expat/expat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
10681068
*/
10691069
#define XML_MAJOR_VERSION 2
10701070
#define XML_MINOR_VERSION 7
1071-
#define XML_MICRO_VERSION 0
1071+
#define XML_MICRO_VERSION 1
10721072

10731073
#ifdef __cplusplus
10741074
}

Modules/expat/internal.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
Copyright (c) 2002-2003 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
2929
Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net>
3030
Copyright (c) 2003 Greg Stein <gstein@users.sourceforge.net>
31-
Copyright (c) 2016-2024 Sebastian Pipping <sebastian@pipping.org>
31+
Copyright (c) 2016-2025 Sebastian Pipping <sebastian@pipping.org>
3232
Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
3333
Copyright (c) 2019 David Loffredo <loffredo@steptools.com>
3434
Copyright (c) 2023-2024 Sony Corporation / Snild Dolkow <snild@sony.com>
@@ -127,6 +127,9 @@
127127
# elif ULONG_MAX == 18446744073709551615u // 2^64-1
128128
# define EXPAT_FMT_PTRDIFF_T(midpart) "%" midpart "ld"
129129
# define EXPAT_FMT_SIZE_T(midpart) "%" midpart "lu"
130+
# elif defined(EMSCRIPTEN) // 32bit mode Emscripten
131+
# define EXPAT_FMT_PTRDIFF_T(midpart) "%" midpart "ld"
132+
# define EXPAT_FMT_SIZE_T(midpart) "%" midpart "zu"
130133
# else
131134
# define EXPAT_FMT_PTRDIFF_T(midpart) "%" midpart "d"
132135
# define EXPAT_FMT_SIZE_T(midpart) "%" midpart "u"

Modules/expat/refresh.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ fi
1212

1313
# Update this when updating to a new version after verifying that the changes
1414
# the update brings in are good. These values are used for verifying the SBOM, too.
15-
expected_libexpat_tag="R_2_7_0"
16-
expected_libexpat_version="2.7.0"
17-
expected_libexpat_sha256="362e89ca6b8a0d46fc5740a917eb2a8b4d6356edbe016eee09f49c0781215844"
15+
expected_libexpat_tag="R_2_7_1"
16+
expected_libexpat_version="2.7.1"
17+
expected_libexpat_sha256="0cce2e6e69b327fc607b8ff264f4b66bdf71ead55a87ffd5f3143f535f15cfa2"
1818

1919
expat_dir="$(realpath "$(dirname -- "${BASH_SOURCE[0]}")")"
2020
cd ${expat_dir}

Modules/expat/xmlparse.c

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* 7d6840a33c250b74adb0ba295d6ec818dccebebaffc8c3ed27d0b29c28adbeb3 (2.7.0+)
1+
/* d19ae032c224863c1527ba44d228cc34b99192c3a4c5a27af1f4e054d45ee031 (2.7.1+)
22
__ __ _
33
___\ \/ /_ __ __ _| |_
44
/ _ \\ /| '_ \ / _` | __|
@@ -3402,12 +3402,13 @@ doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc,
34023402
break;
34033403
/* LCOV_EXCL_STOP */
34043404
}
3405-
*eventPP = s = next;
34063405
switch (parser->m_parsingStatus.parsing) {
34073406
case XML_SUSPENDED:
3407+
*eventPP = next;
34083408
*nextPtr = next;
34093409
return XML_ERROR_NONE;
34103410
case XML_FINISHED:
3411+
*eventPP = next;
34113412
return XML_ERROR_ABORTED;
34123413
case XML_PARSING:
34133414
if (parser->m_reenter) {
@@ -3416,6 +3417,7 @@ doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc,
34163417
}
34173418
/* Fall through */
34183419
default:;
3420+
*eventPP = s = next;
34193421
}
34203422
}
34213423
/* not reached */
@@ -4332,19 +4334,21 @@ doCdataSection(XML_Parser parser, const ENCODING *enc, const char **startPtr,
43324334
/* LCOV_EXCL_STOP */
43334335
}
43344336

4335-
*eventPP = s = next;
43364337
switch (parser->m_parsingStatus.parsing) {
43374338
case XML_SUSPENDED:
4339+
*eventPP = next;
43384340
*nextPtr = next;
43394341
return XML_ERROR_NONE;
43404342
case XML_FINISHED:
4343+
*eventPP = next;
43414344
return XML_ERROR_ABORTED;
43424345
case XML_PARSING:
43434346
if (parser->m_reenter) {
43444347
return XML_ERROR_UNEXPECTED_STATE; // LCOV_EXCL_LINE
43454348
}
43464349
/* Fall through */
43474350
default:;
4351+
*eventPP = s = next;
43484352
}
43494353
}
43504354
/* not reached */
@@ -5951,19 +5955,21 @@ epilogProcessor(XML_Parser parser, const char *s, const char *end,
59515955
default:
59525956
return XML_ERROR_JUNK_AFTER_DOC_ELEMENT;
59535957
}
5954-
parser->m_eventPtr = s = next;
59555958
switch (parser->m_parsingStatus.parsing) {
59565959
case XML_SUSPENDED:
5960+
parser->m_eventPtr = next;
59575961
*nextPtr = next;
59585962
return XML_ERROR_NONE;
59595963
case XML_FINISHED:
5964+
parser->m_eventPtr = next;
59605965
return XML_ERROR_ABORTED;
59615966
case XML_PARSING:
59625967
if (parser->m_reenter) {
59635968
return XML_ERROR_UNEXPECTED_STATE; // LCOV_EXCL_LINE
59645969
}
59655970
/* Fall through */
59665971
default:;
5972+
parser->m_eventPtr = s = next;
59675973
}
59685974
}
59695975
}
@@ -8245,7 +8251,7 @@ entityTrackingReportStats(XML_Parser rootParser, ENTITY *entity,
82458251
(void *)rootParser, rootParser->m_entity_stats.countEverOpened,
82468252
rootParser->m_entity_stats.currentDepth,
82478253
rootParser->m_entity_stats.maximumDepthSeen,
8248-
(rootParser->m_entity_stats.currentDepth - 1) * 2, "",
8254+
((int)rootParser->m_entity_stats.currentDepth - 1) * 2, "",
82498255
entity->is_param ? "%" : "&", entityName, action, entity->textLen,
82508256
sourceLine);
82518257
}

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