python / cpython

The Python programming language
https://www.python.org/
Other
60.44k stars 29.22k forks source link

Test script for Lib/pty.py #32500

Closed Yhg1s closed 23 years ago

Yhg1s commented 23 years ago
BPO 400696
Nosy @freddrake, @Yhg1s
Files
  • None: None
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields: ```python assignee = 'https://github.com/freddrake' closed_at = created_at = labels = [] title = 'Test script for Lib/pty.py' updated_at = user = 'https://github.com/Yhg1s' ``` bugs.python.org fields: ```python activity = actor = 'fdrake' assignee = 'fdrake' closed = True closed_date = None closer = None components = ['None'] creation = creator = 'twouters' dependencies = [] files = ['2506'] hgrepos = [] issue_num = 400696 keywords = ['patch'] message_count = 3.0 messages = ['32973', '32974', '32975'] nosy_count = 2.0 nosy_names = ['fdrake', 'twouters'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue400696' versions = [] ```

    Yhg1s commented 23 years ago
    freddrake commented 23 years ago

    Confirmed on Linux & checked in.

    Yhg1s commented 23 years ago

    As promised, a test script for the pty module. Should be independant of the openpty() changes altogether, though I haven't tested it on non-openpty systems.

    Note that it can become a tad more functional if os.isatty() is added ;)