Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls#108248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
zooba merged 2 commits intopython:mainfromzooba:gh-106242
Aug 22, 2023

Conversation

@zooba
Copy link
Member

@zoobazooba commentedAug 21, 2023
edited by bedevere-bot
Loading

mention Windows and the former incorrect ValueError.
Copy link
Member

@gpsheadgpshead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I tweaked the news entry.

zooba reacted with thumbs up emoji
@gpsheadgpshead added the type-bugAn unexpected behavior, bug, or error labelAug 21, 2023
@zoobazoobaenabled auto-merge (squash)August 21, 2023 23:47
@zoobazooba merged commitde33b5c intopython:mainAug 22, 2023
@miss-islington
Copy link
Contributor

Thanks@zooba for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-108251 is a backport of this pull request to the3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestAug 22, 2023
…when there are embedded nulls (pythonGH-108248)*pythongh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls* Update 2023-08-22-00-36-57.gh-issue-106242.q24ITw.rstmention Windows and the former incorrect ValueError.---------(cherry picked from commitde33b5c)Co-authored-by: Steve Dower <steve.dower@python.org>Co-authored-by: Gregory P. Smith <greg@krypto.org>
@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelAug 22, 2023
@bedevere-bot
Copy link

GH-108252 is a backport of this pull request to the3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestAug 22, 2023
…when there are embedded nulls (pythonGH-108248)*pythongh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls* Update 2023-08-22-00-36-57.gh-issue-106242.q24ITw.rstmention Windows and the former incorrect ValueError.---------(cherry picked from commitde33b5c)Co-authored-by: Steve Dower <steve.dower@python.org>Co-authored-by: Gregory P. Smith <greg@krypto.org>
@bedevere-botbedevere-bot removed the needs backport to 3.11only security fixes labelAug 22, 2023
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotwasm32-emscripten node (pthreads) 3.x has failed when building commitde33b5c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/1050/builds/2807) and take a look at the build logs.
  4. Check if the failure is related to this commit (de33b5c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1050/builds/2807

Summary of the results of the build (if available):

== Tests result: ENV CHANGED ==

329 tests OK.

10 slowest tests:

  • test_hashlib: 2 min
  • test_math: 1 min 58 sec
  • test_tarfile: 1 min 5 sec
  • test_unparse: 56.8 sec
  • test_io: 42.5 sec
  • test_tokenize: 38.9 sec
  • test_fstring: 28.7 sec
  • test_unicodedata: 28.5 sec
  • test_capi: 28.3 sec
  • test_zipfile: 25.3 sec

1 test altered the execution environment:
test_capi

117 tests skipped:
test.test_asyncio.test_base_events
test.test_asyncio.test_buffered_proto
test.test_asyncio.test_context
test.test_asyncio.test_eager_task_factory
test.test_asyncio.test_events test.test_asyncio.test_futures
test.test_asyncio.test_futures2 test.test_asyncio.test_locks
test.test_asyncio.test_pep492
test.test_asyncio.test_proactor_events
test.test_asyncio.test_protocols test.test_asyncio.test_queues
test.test_asyncio.test_runners
test.test_asyncio.test_selector_events
test.test_asyncio.test_sendfile test.test_asyncio.test_server
test.test_asyncio.test_sock_lowlevel test.test_asyncio.test_ssl
test.test_asyncio.test_sslproto test.test_asyncio.test_streams
test.test_asyncio.test_subprocess
test.test_asyncio.test_taskgroups test.test_asyncio.test_tasks
test.test_asyncio.test_threads test.test_asyncio.test_timeouts
test.test_asyncio.test_transports
test.test_asyncio.test_unix_events test.test_asyncio.test_waitfor
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test__xxinterpchannels
test__xxsubinterpreters test_asyncgen test_clinic test_cmd_line
test_concurrent_futures test_contextlib_async test_ctypes
test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_doctest
test_docxmlrpc test_dtrace test_embed test_epoll test_faulthandler
test_fcntl test_file_eintr test_fork1 test_ftplib test_gdb
test_generated_cases test_grp test_httplib test_httpservers
test_idle test_imaplib test_interpreters test_ioctl test_kqueue
test_launcher test_lzma test_mmap test_multiprocessing_fork
test_multiprocessing_forkserver test_multiprocessing_main_handling
test_multiprocessing_spawn test_openpty test_pdb
test_perf_profiler test_perfmaps test_poll test_poplib test_pty
test_pwd test_readline test_regrtest test_repl test_resource
test_select test_selectors test_smtplib test_smtpnet test_socket
test_socketserver test_ssl test_stable_abi_ctypes test_startfile
test_subprocess test_sys_settrace test_syslog test_tcl
test_tkinter test_tools test_ttk test_ttk_textonly test_turtle
test_urllib2 test_urllib2_localnet test_urllib2net test_urllibnet
test_venv test_wait3 test_wait4 test_webbrowser test_winconsoleio
test_winreg test_winsound test_wmi test_wsgiref test_xmlrpc
test_xxlimited test_zipfile64 test_zipimport_support test_zoneinfo

Total duration: 26 min 36 sec

Click to see traceback logs
Traceback (most recent call last):  File"/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/test_capi/test_watchers.py", line532, inwatcherraise MyError("testing 123")

Yhg1s pushed a commit that referenced this pull requestAug 22, 2023
… when there are embedded nulls (GH-108248) (#108251)gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls (GH-108248)*gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls* Update 2023-08-22-00-36-57.gh-issue-106242.q24ITw.rstmention Windows and the former incorrect ValueError.---------(cherry picked from commitde33b5c)Co-authored-by: Steve Dower <steve.dower@python.org>Co-authored-by: Gregory P. Smith <greg@krypto.org>
@zoobazooba deleted the gh-106242 branchAugust 22, 2023 14:34
zooba added a commit that referenced this pull requestAug 22, 2023
… when there are embedded nulls (GH-108248)gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls (GH-108248)---------(cherry picked from commitde33b5c)Co-authored-by: Steve Dower <steve.dower@python.org>Co-authored-by: Gregory P. Smith <greg@krypto.org>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gpsheadgpsheadgpshead approved these changes

Assignees

No one assigned

Labels

OS-windowstype-bugAn unexpected behavior, bug, or error

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@zooba@miss-islington@bedevere-bot@gpshead

[8]ページ先頭

©2009-2025 Movatter.jp