Skip to content

test_urllib2_localnet fails on OS X 10.3 #53777

Closed

Description

@ned-deily
BPO 9568
Nosy @warsaw, @ronaldoussoren, @ned-deily
Files
  • issue-proxy-10-3-27-26.txt
  • issue-proxy-10-3-py3k-31.txt
  • 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 = 'https://github.com/ronaldoussoren'
    closed_at = <Date 2010-09-28.14:44:13.573>
    created_at = <Date 2010-08-11.08:11:34.756>
    labels = ['OS-mac']
    title = 'test_urllib2_localnet fails on OS X 10.3'
    updated_at = <Date 2010-09-28.14:44:13.572>
    user = 'https://github.com/ned-deily'

    bugs.python.org fields:

    activity = <Date 2010-09-28.14:44:13.572>
    actor = 'ronaldoussoren'
    assignee = 'ronaldoussoren'
    closed = True
    closed_date = <Date 2010-09-28.14:44:13.573>
    closer = 'ronaldoussoren'
    components = ['macOS']
    creation = <Date 2010-08-11.08:11:34.756>
    creator = 'ned.deily'
    dependencies = []
    files = ['18475', '18476']
    hgrepos = []
    issue_num = 9568
    keywords = []
    message_count = 6.0
    messages = ['113592', '113594', '113858', '114068', '114076', '117526']
    nosy_count = 3.0
    nosy_names = ['barry', 'ronaldoussoren', 'ned.deily']
    pr_nums = []
    priority = 'high'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue9568'
    versions = ['Python 2.6', 'Python 3.1', 'Python 2.7', 'Python 3.2']

    Activity

    1. ned-deily commented on Aug 11, 2010

      @ned-deily
      MemberAuthor

      bpo-8455 documents a problem which resulted in test_urllib2_libnet failing on OS X with "Connection refused" errors. r82150, r82280, r82281, and r82282 eliminated the test failures for all active branches when running on OS X 10.4 through 10.6. However, the fixes overlooked a different code path which is only used on OS X 10.3. The attached one-line patches for 2.6/2.7 and for py3k/3.1 correct that problem for 10.3 as well.

      Since the patch is low-risk and corrects a failing test case, I recommend that it be applied for the 2.6.6 release.

    2. ronaldoussoren commented on Aug 11, 2010

      @ronaldoussoren
      Contributor

      Barry: I agree with Ned that this is low-risk patch.

      The patch changes a default return value in a code-path that is used on OSX 10.3 to make it the same as the default value on the code-path for other OSX releases.

      I'm therefore +1 on applying this for 2.6.6, but won't apply without explicit permission to do so.

    3. warsaw commented on Aug 14, 2010

      @warsaw
      Member

      Thanks guys. I'll allow this in for 2.6.6 if you can commit it before Sunday 8/15. I'd like the buildbots to have plenty of time to turn green before schedule release on Monday. Please include a NEWS item and close this issue once it's been committed.

    4. warsaw commented on Aug 16, 2010

      @warsaw
      Member

      r84103 in release26-maint

      I will let Ronald commit to the other branches. I did this one due to the timing of 2.6.6 rc 2. Bumping status away from release blocker.

    5. ned-deily commented on Aug 16, 2010

      @ned-deily
      MemberAuthor

      Committed fix verified on 2.6: test_urllib2_localnet no longer fails on 10.3.

    6. ronaldoussoren commented on Sep 28, 2010

      @ronaldoussoren
      Contributor

      Applied the patch in r85062 (3.2), r85063 (3.1), r85064 (2.7)

    7. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions