Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimplePath protocol should use __truediv__, not __div__ #334

Closed
layday opened this issue Aug 5, 2021 · 0 comments · Fixed by #335
Closed

SimplePath protocol should use __truediv__, not __div__ #334

layday opened this issue Aug 5, 2021 · 0 comments · Fixed by #335

Comments

@layday
Copy link
Contributor

layday commented Aug 5, 2021

pathlib.Path and zip.Path are implemented using __truediv__; __div__ is not invoked for / in Python 3.

halstead pushed a commit to openembedded/openembedded-core that referenced this issue Aug 19, 2021
v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
python/importlib_metadata#334

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
stefan-hartmann-lgs pushed a commit to hexagon-geo-surv/poky that referenced this issue Aug 20, 2021
v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
python/importlib_metadata#334

(From OE-Core rev: 7cf19a6fa59b4d15a45993e56ff28d8572fb45ac)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Aug 20, 2021
v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
python/importlib_metadata#334

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
seambot pushed a commit to seamapi/poky that referenced this issue Aug 20, 2021
v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
python/importlib_metadata#334

(From OE-Core rev: 9c7768d26a006445ed703e961184be3b8add68c6)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
python/importlib_metadata#334

(From OE-Core rev: 9c7768d26a006445ed703e961184be3b8add68c6)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
python/importlib_metadata#334

(From OE-Core rev: 9c7768d26a006445ed703e961184be3b8add68c6)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant