[issue8853] getaddrinfo should accept port of type long

2012-12-20 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 39803c20c9bf by Petri Lehtinen in branch '2.7':
#8853: Allow port to be of type long for socket.getaddrinfo()
http://hg.python.org/cpython/rev/39803c20c9bf

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8853] getaddrinfo should accept port of type long

2012-12-20 Thread Petri Lehtinen

Petri Lehtinen added the comment:

Fixed.

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8853] getaddrinfo should accept port of type long

2012-12-19 Thread Petri Lehtinen

Changes by Petri Lehtinen pe...@digip.org:


--
nosy: +petri.lehtinen

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8853] getaddrinfo should accept port of type long

2012-12-19 Thread Petri Lehtinen

Changes by Petri Lehtinen pe...@digip.org:


--
stage: test needed - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8853] getaddrinfo should accept port of type long

2012-12-19 Thread Petri Lehtinen

Petri Lehtinen added the comment:

Attached a new patch with a test case and fixed error handling.

--
Added file: http://bugs.python.org/file28358/issue8853_v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8853] getaddrinfo should accept port of type long

2011-02-09 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Mark, would you like to write some tests about the proposed change? Antoine 
gave a fast look at the issue and believe it's acceptable for 2.7.

--
nosy: +sandro.tosi
stage:  - test needed
versions: +Python 2.7 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8853] getaddrinfo should accept port of type long

2010-06-01 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' g.rod...@gmail.com:


--
nosy: +giampaolo.rodola

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8853] getaddrinfo should accept port of type long

2010-05-30 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

The attached patch should fix the problem.  I'm not sure how to test it, 
though:  the socket module currently seems to have exactly 0 tests for 
socket.getaddrinfo.

--
keywords: +patch
nosy: +mark.dickinson
Added file: http://bugs.python.org/file17501/issue8853.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8853] getaddrinfo should accept port of type long

2010-05-30 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

See issue8857 for the tests issue.

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8853] getaddrinfo should accept port of type long

2010-05-29 Thread AndiDog

New submission from AndiDog andi...@web.de:

socket.getaddrinfo(127.0.0.1, 80L)
error: Int or String expected

I would expect getaddrinfo to convert the port number to an integer.

--
components: Library (Lib)
messages: 106726
nosy: AndiDog
priority: normal
severity: normal
status: open
title: getaddrinfo should accept port of type long
type: behavior
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com