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

Assignment to wifi.radio.hostname is merged into existing value, not replaced #8147

Closed
adrianblakey opened this issue Jul 8, 2023 · 1 comment · Fixed by #8150
Closed
Labels
bug rp2040 Raspberry Pi RP2040

Comments

@adrianblakey
Copy link

adrianblakey commented Jul 8, 2023

CircuitPython version

Adafruit CircuitPython 8.2.0-rc.1 on 2023-06-27; Raspberry Pi Pico W with rp2040

Code/REPL

import wifi
wifi.radio.hostname = 'some-long-value'
print(wifi.radio.hostname) # some-long-value
wifi.radio.hostname = 'a-value'
print(wifi.radio.hostname) # a-valueng-value

Behavior

The value of wifi.radio.hostname is not replaced by the new value, but merged.

Description

No response

Additional information

No response

@anecdata
Copy link
Member

anecdata commented Jul 8, 2023

Occurs on Pico W, but not on Espressif (issue more likely in common-hal or deeper).

@microdev1 microdev1 added the rp2040 Raspberry Pi RP2040 label Jul 9, 2023
@microdev1 microdev1 linked a pull request Jul 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug rp2040 Raspberry Pi RP2040
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants