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

test_asyncore fix #45278

Closed
hdiwan650 mannequin opened this issue Aug 5, 2007 · 4 comments
Closed

test_asyncore fix #45278

hdiwan650 mannequin opened this issue Aug 5, 2007 · 4 comments
Labels
tests Tests in the Lib/test dir

Comments

@hdiwan650
Copy link
Mannequin

hdiwan650 mannequin commented Aug 5, 2007

BPO 1767834
Nosy @birkenfeld
Files
  • test_asyncore_port.pat
  • 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:

    assignee = None
    closed_at = <Date 2008-01-06.22:29:45.754>
    created_at = <Date 2007-08-05.07:10:58.000>
    labels = ['tests']
    title = 'test_asyncore fix'
    updated_at = <Date 2008-01-06.22:29:45.754>
    user = 'https://bugs.python.org/hdiwan650'

    bugs.python.org fields:

    activity = <Date 2008-01-06.22:29:45.754>
    actor = 'admin'
    assignee = 'none'
    closed = True
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2007-08-05.07:10:58.000>
    creator = 'hdiwan650'
    dependencies = []
    files = ['8156']
    hgrepos = []
    issue_num = 1767834
    keywords = ['patch']
    message_count = 4.0
    messages = ['52991', '52992', '52993', '52994']
    nosy_count = 3.0
    nosy_names = ['georg.brandl', 'alanmcintyre', 'hdiwan650']
    pr_nums = []
    priority = 'normal'
    resolution = 'rejected'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1767834'
    versions = ['Python 3.0']

    @hdiwan650
    Copy link
    Mannequin Author

    hdiwan650 mannequin commented Aug 5, 2007

    Fixes the socket.error(48, 'address already in use') intermittent failure by binding to an arbitrary high port and then using getsockname() to retrieve the port. There is a further error with the socket.error module that I think I'd like some hours of sleep before looking at.

    @hdiwan650 hdiwan650 mannequin closed this as completed Aug 5, 2007
    @hdiwan650 hdiwan650 mannequin added the tests Tests in the Lib/test dir label Aug 5, 2007
    @hdiwan650 hdiwan650 mannequin closed this as completed Aug 5, 2007
    @hdiwan650 hdiwan650 mannequin added the tests Tests in the Lib/test dir label Aug 5, 2007
    @alanmcintyre
    Copy link
    Mannequin

    alanmcintyre mannequin commented Aug 5, 2007

    This change has already been made to test_asyncore.py as part of rev 56604 on July 28, 2007.

    @birkenfeld
    Copy link
    Member

    Will it be backported to 2.5?

    @alanmcintyre
    Copy link
    Mannequin

    alanmcintyre mannequin commented Aug 5, 2007

    I don't know; I wouldn't mind doing it. Are there any special considerations for moving tests back to an older version? I can port the final set of changes to Py3k as well, since it seems that the discussion of this particular problem made its way over to the 3k mailing list at some point.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant