René's URL Explorer Experiment


Title: Upgrade timeit module from Python 3.14.2 by Copilot · Pull Request #6854 · RustPython/RustPython · GitHub

Open Graph Title: Upgrade timeit module from Python 3.14.2 by Copilot · Pull Request #6854 · RustPython/RustPython

X Title: Upgrade timeit module from Python 3.14.2 by Copilot · Pull Request #6854 · RustPython/RustPython

Description: Upgrades timeit module and its test suite from CPython 3.14.2. Changes timeit.py: Updated to 3.14.2 with gc.disable/enable wrapped in try-except to handle NotImplementedError in RustPython test_timeit.py: Updated to 3.14.2 with newer assertStartsWith assertions Compatibility Fix The updated CPython version uses gc.disable() and gc.enable(), which raise NotImplementedError in RustPython's partial gc implementation: try: gcold = gc.isenabled() gc.disable() except NotImplementedError: gcold = False try: timing = self.inner(it, self.timer) finally: if gcold: try: gc.enable() except NotImplementedError: pass All 41 tests pass. Original prompt This section details on the original issue you should resolve Upgrade Python libraries and test from Python 3.14 ## Summary Check scripts/update_lib for tools Previous versions' issues as reference 3.13: #5529 Details 2026-01-24 $ python3 scripts/update_lib todo --done [no deps] types (38 dependents) [no deps] struct (16 dependents) [no deps] stat (14 dependents) [no deps] operator (13 dependents) [no deps] linecache (8 dependents) [no deps] codecs (8 dependents) [no deps] keyword (7 dependents) [no deps] copyreg (6 dependents) [no deps] ast (6 dependents) [no deps] reprlib (6 dependents) [no deps] bisect (5 dependents) [no deps] string (5 dependents) [no deps] heapq (4 dependents) [no deps] token (4 dependents) [no deps] hashlib (2 dependents) [no deps] hmac (2 dependents) [no deps] quopri (2 dependents) [no deps] mimetypes (1 dependents) [no deps] cmd (1 dependents) [no deps] stringprep (1 dependents) [no deps] tty (1 dependents) [no deps] colorsys [no deps] this [no deps] pydoc_data [no deps] timeit [no deps] zipimport [0/3 deps] os (72 dependents) [0/4 deps] collections (31 dependents) [0/1 deps] warnings (22 dependents) [0/1 deps] enum (16 dependents) [0/1 deps] abc (13 dependents) [0/2 deps] weakref (13 dependents) [0/1 deps] datetime (12 dependents) [0/1 deps] base64 (8 dependents) [0/1 deps] textwrap (6 dependents) [0/2 deps] codeop (3 dependents) [0/1 deps] numbers (3 dependents) [0/1 deps] contextvars (3 dependents) [0/2 deps] html (2 dependents) [0/3 deps] decimal (2 dependents) [0/1 deps] ipaddress (1 dependents) [0/4 deps] fractions (1 dependents) [0/1 deps] opcode (1 dependents) [0/1 deps] graphlib [0/1 deps] nturl2path [0/2 deps] sre_compile [0/2 deps] sre_constants [0/2 deps] sre_parse [0/4 deps] rlcompleter [1/5 deps] functools (32 dependents) [1/2 deps] threading (17 dependents) [1/3 deps] posixpath (6 dependents) [1/4 deps] random (6 dependents) [1/1 deps] signal (5 dependents) [1/4 deps] queue (4 dependents) [1/4 deps] json (4 dependents) [1/2 deps] selectors (4 dependents) [1/2 deps] gettext (3 dependents) [1/1 deps] shlex (3 dependents) [1/8 deps] dataclasses (3 dependents) [1/3 deps] difflib (2 dependents) [1/2 deps] genericpath (2 dependents) [1/3 deps] locale (2 dependents) [1/3 deps] filecmp (1 dependents) [1/2 deps] ntpath (1 dependents) [1/1 deps] pyclbr (1 dependents) [1/1 deps] profile (1 dependents) [1/3 deps] site (1 dependents) [1/1 deps] netrc [1/6 deps] tomllib [1/2 deps] csv [1/2 deps] fileinput [1/1 deps] ftplib [1/1 deps] optparse [1/2 deps] poplib [1/2 deps] pty [1/3 deps] sched [1/2 deps] wave [1/1 deps] curses [2/5 deps] io (48 dependents) [2/3 deps] re (41 dependents) [2/6 deps] contextlib (19 dependents) [2/3 deps] copy (9 dependents) [2/4 deps] fnmatch (7 dependents) [2/4 deps] sysconfig (6 dependents) [2/3 deps] argparse (5 dependents) [2/6 deps] typing (5 dependents) [2/4 deps] annotationlib (3 dependents) [2/2 deps] code (3 dependents) [2/4 deps] platform (3 dependents) [2/3 deps] pprint (2 dependents) [2/7 deps] glob (2 dependents) [2/2 deps] bz2 (2 dependents) [2/2 deps] runpy (2 dependents) [2/3 deps] secrets (1 dependents) [2/2 deps] tabnanny (1 dependents) [2/2 deps] lzma (1 dependents) [2/2 deps] antigravity [2/2 deps] getopt [2/3 deps] getpass [2/2 deps] imaplib [2/2 deps] shelve [2/2 deps] symtable [2/2 deps] uuid [2/2 deps] cProfile [2/4 deps] tracemalloc [2/6 deps] wsgiref [3/3 deps] socket (13 dependents) [3/4 deps] shutil (9 dependents) [3/7 deps] pickle (8 dependents) [3/8 deps] subprocess (7 dependents) [3/6 deps] tokenize (7 dependents) [3/4 deps] dis (4 dependents) [3/5 deps] socketserver (4 dependents) [3/3 deps] calendar (3 dependents) [3/6 deps] bdb (2 dependents) [3/4 deps] pkgutil (2 dependents) [3/6 deps] configparser (1 dependents) [3/4 deps] gzip (1 dependents) [3/3 deps] py_compile (1 dependents) [3/4 deps] sqlite3 (1 dependents) [3/6 deps] encodings (1 dependents) [3/5 deps] pickletools [3/6 deps] compileall [3/5 deps] pstats [3/3 deps] modulefinder [3/6 deps] compression [4/9 deps] traceback (12 dependents) [4/6 deps] tkinter (3 depe... Fixes #6839 ✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Open Graph Description: Upgrades timeit module and its test suite from CPython 3.14.2. Changes timeit.py: Updated to 3.14.2 with gc.disable/enable wrapped in try-except to handle NotImplementedError in RustPython test_ti...

X Description: Upgrades timeit module and its test suite from CPython 3.14.2. Changes timeit.py: Updated to 3.14.2 with gc.disable/enable wrapped in try-except to handle NotImplementedError in RustPython test_ti...

Opengraph URL: https://github.com/RustPython/RustPython/pull/6854

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b5959066-d904-c8cc-04ce-19a60e3caee5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE9A:116E4B:5801A59:73829C1:6A5DA565
html-safe-nonce99db3da09c5c9dba465bebf0a53928ba811207140cbebab4e430fa8c26d51ea7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTlBOjExNkU0Qjo1ODAxQTU5OjczODI5QzE6NkE1REE1NjUiLCJ2aXNpdG9yX2lkIjoiODQ5ODIxOTI2NTE0NTI4Mzk0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac06dc31fa163c5733b4d540c73f6f01cc383ad1a1550979cc9bbfdc4413669b2d
hovercard-subject-tagpull_request:3205510474
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/6854/files
twitter:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
og:image:altUpgrades timeit module and its test suite from CPython 3.14.2. Changes timeit.py: Updated to 3.14.2 with gc.disable/enable wrapped in try-except to handle NotImplementedError in RustPython test_ti...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/6854/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6854%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6854%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/6854/files
Reloadhttps://github.com/RustPython/RustPython/pull/6854/files
Reloadhttps://github.com/RustPython/RustPython/pull/6854/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6854/files
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 293 https://github.com/RustPython/RustPython/issues
Pull requests 104 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://github.com/youknowone
mainhttps://github.com/RustPython/RustPython/tree/main
copilot/upgrade-python-libraries-againhttps://github.com/RustPython/RustPython/tree/copilot/upgrade-python-libraries-again
Conversation 6 https://github.com/RustPython/RustPython/pull/6854
Commits 3 https://github.com/RustPython/RustPython/pull/6854/commits
Checks 13 https://github.com/RustPython/RustPython/pull/6854/checks
Files changed https://github.com/RustPython/RustPython/pull/6854/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6854/files
Upgrade timeit module from Python 3.14.2 https://github.com/RustPython/RustPython/pull/6854/files#top
Show all changes 3 commits https://github.com/RustPython/RustPython/pull/6854/files
2e8d14e Initial plan Copilot Jan 24, 2026 https://github.com/RustPython/RustPython/pull/6854/commits/2e8d14ed4cf2ca82e589be3c40990ceeef177a50
9194179 Update timeit from v3.14.0 Copilot Jan 24, 2026 https://github.com/RustPython/RustPython/pull/6854/commits/9194179255cc988446eaccfe3166982869d0b9be
8ce0340 Update commit message to v3.14.2 Copilot Jan 24, 2026 https://github.com/RustPython/RustPython/pull/6854/commits/8ce03408bb58d2a3517e33076c7f0c20099e818e
Clear filters https://github.com/RustPython/RustPython/pull/6854/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6854/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6854/files
.gitignore https://github.com/RustPython/RustPython/pull/6854/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
test_timeit.py https://github.com/RustPython/RustPython/pull/6854/files#diff-22620e039218572933f1b46ea110c5f0bdb40fa0d4cd637a037b26ff90c4f002
timeit.py https://github.com/RustPython/RustPython/pull/6854/files#diff-c9e111e34663619a9be3a780d17f2701bef23d500c3db943469b5fabd764c6ec
.gitignorehttps://github.com/RustPython/RustPython/pull/6854/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://github.com/RustPython/RustPython/blob/8ce03408bb58d2a3517e33076c7f0c20099e818e/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/6854/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/6854/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
Lib/test/test_timeit.pyhttps://github.com/RustPython/RustPython/pull/6854/files#diff-22620e039218572933f1b46ea110c5f0bdb40fa0d4cd637a037b26ff90c4f002
View file https://github.com/RustPython/RustPython/blob/8ce03408bb58d2a3517e33076c7f0c20099e818e/Lib/test/test_timeit.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/6854/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/6854/files#diff-22620e039218572933f1b46ea110c5f0bdb40fa0d4cd637a037b26ff90c4f002
https://github.com/RustPython/RustPython/pull/6854/files#diff-22620e039218572933f1b46ea110c5f0bdb40fa0d4cd637a037b26ff90c4f002
https://github.com/RustPython/RustPython/pull/6854/files#diff-22620e039218572933f1b46ea110c5f0bdb40fa0d4cd637a037b26ff90c4f002
https://github.com/RustPython/RustPython/pull/6854/files#diff-22620e039218572933f1b46ea110c5f0bdb40fa0d4cd637a037b26ff90c4f002
Lib/timeit.pyhttps://github.com/RustPython/RustPython/pull/6854/files#diff-c9e111e34663619a9be3a780d17f2701bef23d500c3db943469b5fabd764c6ec
View file https://github.com/RustPython/RustPython/blob/8ce03408bb58d2a3517e33076c7f0c20099e818e/Lib/timeit.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/6854/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/6854/files#diff-c9e111e34663619a9be3a780d17f2701bef23d500c3db943469b5fabd764c6ec
https://github.com/RustPython/RustPython/pull/6854/files#diff-c9e111e34663619a9be3a780d17f2701bef23d500c3db943469b5fabd764c6ec
https://github.com/RustPython/RustPython/pull/6854/files#diff-c9e111e34663619a9be3a780d17f2701bef23d500c3db943469b5fabd764c6ec
https://github.com/RustPython/RustPython/pull/6854/files#diff-c9e111e34663619a9be3a780d17f2701bef23d500c3db943469b5fabd764c6ec
https://github.com/RustPython/RustPython/pull/6854/files#diff-c9e111e34663619a9be3a780d17f2701bef23d500c3db943469b5fabd764c6ec
https://github.com/RustPython/RustPython/pull/6854/files#diff-c9e111e34663619a9be3a780d17f2701bef23d500c3db943469b5fabd764c6ec
https://github.com/RustPython/RustPython/pull/6854/files#diff-c9e111e34663619a9be3a780d17f2701bef23d500c3db943469b5fabd764c6ec
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6854/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.