Update locale.py from 3.13.6 and made _locale available on android#6091
Update locale.py from 3.13.6 and made _locale available on android#6091youknowone merged 2 commits intoRustPython:mainfrom
locale.py from 3.13.6 and made _locale available on android#6091Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the WalkthroughRelaxed cfg gates to enable the locale module and its initialization on Android (still excluded on iOS and wasm32). In locale.rs, LC_MESSAGES was moved out of the bulk libc import and re-exported under a narrower cfg (unix, not ios/redox), changing its platform exposure. Changes
Sequence Diagram(s)sequenceDiagram
participant Runtime
participant ModuleInit as get_module_inits
participant Locale as locale (cfg-gated)
Runtime->>ModuleInit: Build module init list
alt not(iOS) and not(wasm32)
ModuleInit->>Locale: Include locale init (Android now included)
else
ModuleInit--xLocale: Exclude locale init
end
Runtime->>Runtime: Initialize enabled modules
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
e7e5bc0 to
d0f8798
Compare
Summary by CodeRabbit