Skip to content

Return original code to the deprecated getters and setters - #549

Merged
penguinolog merged 2 commits into
urwid:masterfrom
penguinolog:deprecated_getters_setters
May 1, 2023
Merged

penguinolog merged 2 commits into
urwid:masterfrom
penguinolog:deprecated_getters_setters

Conversation

@penguinolog

Copy link
Copy Markdown
Collaborator
  • Make more aggressive deprecation warning

Fix: #548

Checklist
  • I've ensured that similar functionality has not already been implemented
  • I've ensured that similar functionality has not earlier been proposed and declined
  • I've branched off the master or python-dual-support branch
  • I've merged fresh upstream into my branch recently
  • I've ran tox successfully in local environment

* Make more aggressive deprecation warning

Fix: urwid#548
@penguinolog
penguinolog force-pushed the deprecated_getters_setters branch from 92551b3 to 2d28599 Compare May 1, 2023 12:17
* Make more aggressive deprecation warning

Fix: urwid#548
@penguinolog
penguinolog requested a review from wardi May 1, 2023 12:20
Comment thread urwid/tests/test_vterm.py

def write(self, data: bytes) -> None:
os.write(self.writer, data)
sleep(0.025)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

fix for stable failing tests, btw it's also present in dedicated to vterm PR

Comment thread urwid/listbox.py
stacklevel=3,
)
return self.contents
return self

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

== self.contents, but have to maintain copy-paste during deprecation period

@penguinolog penguinolog added the bug label May 1, 2023
@penguinolog
penguinolog merged commit bac20db into urwid:master May 1, 2023
@penguinolog
penguinolog deleted the deprecated_getters_setters branch June 5, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Current default branch breaks khal

2 participants