[issue16276] OrderedDict constructor do not keep items order

2012-10-22 Thread Antoine Dechaume
Antoine Dechaume added the comment: I did read the docs before submitting, obviously my brain was not plugged in. I am sorry for the noise. -- ___ Python tracker ___

[issue16302] Fix ResourceWarning in Lib/test/test_urllib.py

2012-10-22 Thread Berker Peksag
Berker Peksag added the comment: You are right, thanks Senthil. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue16250] URLError invoked with reason as filename

2012-10-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: The change I had made for fixing the windows buildbot had not fixed it. I am skipped (1f92315d9568) the test on windows, investigating the reason for windows behavior and I shall remove the skiptest on windows after fix. -- _

[issue16233] IDLE: conceptual problems with *Class browser*

2012-10-22 Thread Roger Serwy
Roger Serwy added the comment: Attached is a quick patch to change the error message. -- keywords: +patch Added file: http://bugs.python.org/file27666/message_fix.patch ___ Python tracker __

[issue16233] IDLE: conceptual problems with *Class browser*

2012-10-22 Thread Roger Serwy
Roger Serwy added the comment: Saving the shell to a file allows the class browser to function. However a class browser for a syntax-incorrect file due to prompts and stdout contents can also pose a conceptual problem. I suggest that the error message be modified to include a corrective action

[issue16286] Optimize a==b and a!=b for bytes and str

2012-10-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Rather than see statistics, I'm curious about what circumstances where the optimization would kick in. Interned strings are pre-hashed but they already benefit from an identity-implies-equality check. Dicts and sets already incorporate a check-hash-befor

[issue16279] namedtuple should compare equality with field names taken into account

2012-10-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Nick, thanks for closing this one with a clear and accurate explanation. -- ___ Python tracker ___ __

[issue16276] OrderedDict constructor do not keep items order

2012-10-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Ezio. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue16250] URLError invoked with reason as filename

2012-10-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: The change in 49de26395d1a addresses the buildbot failure. I have given a run again. -- ___ Python tracker ___ ___

[issue16302] Fix ResourceWarning in Lib/test/test_urllib.py

2012-10-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in 478cda291bbc Berker - with urlopen(tmp_fileurl) as fobj: self.assertTrue(fobj) is enough when using context manager as the fobj gets closed automatically at exiting of context. Thanks. -- resolution: -> fixed status: open ->

[issue16301] localhost() and thishost() in urllib/request.py

2012-10-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 478cda291bbc by Senthil Kumaran in branch 'default': Fix the ResourceWarning in test_urllib.py due changes made for #16301. Patch by Berker Peksag http://hg.python.org/cpython/rev/478cda291bbc -- ___ Pyt

[issue16116] Can not install C extension modules to inside a venv on Python 3.3.0 for Win32

2012-10-22 Thread Masami HIRATA
Masami HIRATA added the comment: > Could well be a similar problem; I'll look into it. Is there any progress? -- ___ Python tracker ___ __

[issue8766] Segmentation fault with empty "encodings" subdirectory of directory in PYTHONPATH

2012-10-22 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- versions: -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-22 Thread Ned Deily
Ned Deily added the comment: Thanks for everyone's help on this. To summarize, opening IDLE's Preferences menu when Python is dynamically linking to ActiveTcl 8.5.12.1 (at this writing, the most recent version) causes Tk to crash. The committed patches here avoid the crash by changing Tk cal

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset d089b8fb0f56 by Ned Deily in branch '2.7': Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu http://hg.python.org/cpython/rev/d089b8fb0f56 New changeset a3d755eaf5fa by Ned Deily in branch '3.2': Issue #15853: Prevent IDLE crash

[issue6972] zipfile.ZipFile overwrites files outside destination path

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I forgot docs. -- Added file: http://bugs.python.org/file27665/zipfile_fix_arcname_2.patch ___ Python tracker ___ _

[issue6972] zipfile.ZipFile overwrites files outside destination path

2012-10-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file27661/zipfile_fix_arcname_2.patch ___ Python tracker ___ ___ Python-bugs

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-22 Thread Roger Serwy
Roger Serwy added the comment: The patch works with 3.3.0 and 2.7.3 on Windows 7. +1 -- ___ Python tracker ___ ___ Python-bugs-list m

[issue16250] URLError invoked with reason as filename

2012-10-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: This broke the Windows 7 buildbot: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/850 -- nosy: +pitrou ___ Python tracker _

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Richard Oudkerk
Richard Oudkerk added the comment: > This problem affects any single use of select(): instead of using an > ad-hoc wrapper in each module, it would probably make sense to add a > higher level selector class to the select module which would fallback on > the right syscall (i.e. poll() if availa

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Charles-François Natali
Charles-François Natali added the comment: See also http://bugs.python.org/issue14635. This problem affects any single use of select(): instead of using an ad-hoc wrapper in each module, it would probably make sense to add a higher level selector class to the select module which would fallback

[issue15966] concurrent.futures: Executor.submit keyword arguments may not be called 'fn' (or 'self')

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are many other cases of such issue: collections.namedtuple, contextlib.contextmanager, profile.Profile.runcall, etc. -- nosy: +serhiy.storchaka ___ Python tracker

[issue12238] Readline module loading in interactive mode

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I understand what happens. Python 3.3+ uses getdents(), not stat() for module search. Therefore stat() is not called for non-existed files. > It stands that while the -S and -E option allow to disable any customization > a user might have done (which is nece

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Richard Oudkerk
Richard Oudkerk added the comment: > Still not getting what you refer to when you talk about > 512 fds > problem. Whether you get back the original objects or only their fds will depend on whether some fd was larger than FD_SETSIZE. -- ___ Python tr

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Still not getting what you refer to when you talk about > 512 fds problem. By 512 I mean FD_SETSIZE :) -- ___ Python tracker ___

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Richard Oudkerk
Richard Oudkerk added the comment: > Using poll() by default is controversial for 2 reasons, I think: > > #1 - a certain slowdown is likely to be introduced (I'll measure it) With a single fd poll is a bit faster than select: $ python -m timeit -s 'from select import select' 'select([0],[],[],0

[issue5803] email/quoprimime: encode and decode are very slow on large messages

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 3.2+ already use StringIO, there is no nonlinearity. On 2.7 I couldn't find the nonlinearity with the texts of up to 100 MB. Therefore the path outdated as bugfix. However it shows 20-30x speedup on 2.7. It would be worth port it to 3.4. This will be a sign

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Still not getting what you refer to when you talk about > 512 fds problem. -- ___ Python tracker ___

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Using poll() by default is controversial for 2 reasons, I think: > > #1 - a certain slowdown is likely to be introduced (I'll measure it) That sounds like premature optimization. If you are concerned about that you could add some caching of the poll object.

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Richard Oudkerk
Richard Oudkerk added the comment: > A preliminary patch is in attachment. > By default it uses select() but looks for ValueError (raised in case > FD_SETSIZE gets hit) and falls back on using poll(). > > This is the failure I get when running tests on Linux. > It is related to issue 3321 and I'

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Using poll() by default is controversial for 2 reasons, I think: #1 - a certain slowdown is likely to be introduced (I'll measure it) #2 - current wait() implementation allows to specify a list of file descriptors and/or Connections objects. select() can d

[issue12238] Readline module loading in interactive mode

2012-10-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Regardless, I'm not sure what we should do about this issue. Loading readline is obviously provided as a convenience to make the interpreter prompt easier to use. Several of us would probably like to go a bit further and also add tab-completion (see issue5845)

[issue12238] Readline module loading in interactive mode

2012-10-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Serhiy, I don't think it's fixed in 3.3, or perhaps I'm misunderstanding what you mean by "fixed". If you create readline.cpython-33m.so in your cwd and then run python, the fake readline will still be loaded instead of the real one. For example (here with 3.4

[issue16136] Removal of VMS support

2012-10-22 Thread Christian Heimes
Christian Heimes added the comment: We don't have any box that is capable of running VMS. Even Trent's Snakebit setup doesn't have VMS although he has lots of exotic hardware and OS, even HP-UX on a PA-RISC machine. It seems to be possible to run VMS on a cluster of RaspberryPi machines [1].

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, I think this is a bug rather than a performance issue. -- type: performance -> behavior versions: +Python 3.2, Python 3.4 ___ Python tracker ___

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't like this patch since it makes the implementation poorly testable. Moreover, behaviour might change subtly when the fd becomes > 512. I think that instead the code should always use poll() on platforms where it is available. -- ___

[issue16136] Removal of VMS support

2012-10-22 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue16136] Removal of VMS support

2012-10-22 Thread Sandeep Mathew
Sandeep Mathew added the comment: Hi , I love VMS very much, I could not concentrate actively on python because other work commitments ate up most of my time. I have left my job at HP and am now a PhD student and university of Nevada , Reno . Now that I do not have any professional commitments

[issue15966] concurrent.futures: Executor.submit keyword arguments may not be called 'fn' (or 'self')

2012-10-22 Thread Mark Dickinson
Mark Dickinson added the comment: > Did you actually bang into this? No directly, no: I'd hit a similar problem in some of our own code, leading to a signature change from "def do_later(fn, *args, **kwargs)" to "def do_later(fn, arg, kwargs)". Then it occurred to me to wonder how Executor.s

[issue16298] httplib.HTTPResponse.read could potentially leave the socket opened forever

2012-10-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +orsenthil, pitrou stage: -> needs patch versions: +Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ __

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: A preliminary patch is in attachment. By default it uses select() but looks for ValueError (raised in case FD_SETSIZE gets hit) and falls back on using poll(). This is the failure I get when running tests on Linux. It is related to issue 3321 and I'm not sur

[issue12238] Readline module loading in interactive mode

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This issue was fixed in 3.3, but not in 2.7 or 3.2. $ strace ./python -i &1 | grep readline stat64("/home/serhiy/py/cpython3.3/build/lib.linux-i686-3.3/readline.cpython-33m.so", {st_mode=S_IFREG|0755, st_size=52511, ...}) = 0 open("/home/serhiy/py/cpython3.3/

[issue16300] Windows raises ValueError for file:///file/not/exists instead of URLError

2012-10-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 49de26395d1a by Senthil Kumaran in branch 'default': Issue #16301: Fix the localhost verification in urllib/request.py for file://. Modify tests to use localhost for local temp files, which could make Windows Buildbot (#16300) happy http://hg.pytho

[issue16301] localhost() and thishost() in urllib/request.py

2012-10-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 49de26395d1a by Senthil Kumaran in branch 'default': Issue #16301: Fix the localhost verification in urllib/request.py for file://. Modify tests to use localhost for local temp files, which could make Windows Buildbot (#16300) happy http://hg.pytho

[issue14892] 'import readline' hangs when launching with '&' on BSD and OS X

2012-10-22 Thread olivier-mattelaer
olivier-mattelaer added the comment: Thanks a lot Ronald. Cheers, Olivier -- status: pending -> open ___ Python tracker ___ ___ Pyth

[issue16301] localhost() and thishost() in urllib/request.py

2012-10-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Serhiy: Yes. I stand corrected. That snippet suggestion was my mistake. I think, wrapping the test is better than changing the return of localhost. It would always return a single value. Thanks. -- ___ Python tracke

[issue16302] Fix ResourceWarning in Lib/test/test_urllib.py

2012-10-22 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the suggestion, Serhiy. Attached a new patch. -- Added file: http://bugs.python.org/file27663/resourcewarning_urllib_test_v2.patch ___ Python tracker __

[issue8766] Segmentation fault with empty "encodings" subdirectory of directory in PYTHONPATH

2012-10-22 Thread anatoly techtonik
anatoly techtonik added the comment: Oh, sorry. I am just testing Python 3.3 and there are so many issues that hardly can test and fill them all. -- ___ Python tracker ___ __

[issue16301] localhost() and thishost() in urllib/request.py

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is wrong too. >>> tuple('abc') ('a', 'b', 'c') Use ((localhost(),) + thishost())) -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue16302] Fix ResourceWarning in Lib/test/test_urllib.py

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can use contextlib.closing() context manager (if urlopen() already does not return a context manager). -- nosy: +serhiy.storchaka ___ Python tracker

[issue16300] Windows raises ValueError for file:///file/not/exists instead of URLError

2012-10-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: The problem is here: if url[:2] == '//' and url[2:3] != '/' and url[2:12].lower() != 'localhost/': raise ValueError("file:// scheme is supported only on localhost") On Unix like systems url[2:3] == '/', that is path starts with '/' and this ValueError is

[issue16299] __build__ as a temp build directory for setup.py

2012-10-22 Thread Christian Heimes
Christian Heimes added the comment: The bug tracker is the wrong place to discuss your proposal. Please join the distutils-sig [1]. The group coordinates all efforts. [1] http://www.python.org/community/sigs/current/distutils-sig/ -- assignee: eric.araujo -> nosy: +christian.heimes st

[issue16302] Fix ResourceWarning in Lib/test/test_urllib.py

2012-10-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: thanks for the bug-report/patch. -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list ma

[issue13504] Meta-issue for "Invent with Python" IDLE feedback

2012-10-22 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue16302] Fix ResourceWarning in Lib/test/test_urllib.py

2012-10-22 Thread Berker Peksag
New submission from Berker Peksag: See the output: test_file_notexists (test.test_urllib.urlopen_HttpTests) ... file:///tmp/tmpmlmjhf /home/berker/hacking/cpython/Lib/test/test_urllib.py:284: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpmlmjhf'> self.assertTrue(urlopen(tm

[issue16299] __build__ as a temp build directory for setup.py

2012-10-22 Thread anatoly techtonik
anatoly techtonik added the comment: Another difference from C sources that it is very convenient to use Python packages directly from source. In this case this unrelated 'build' dir will be the source of confusion if user previously tried to install the package. -- status: pending ->

[issue16301] localhost() and thishost() in urllib/request.py

2012-10-22 Thread Senthil Kumaran
New submission from Senthil Kumaran: localhost() returns a string and thishost() returns tuple. In urllib/request.py, for file:// protocol, there is a verification to check to if the host is in the localhost and check happens: socket.gethostbyname(host) in (localhost() + thishost())): This is

[issue16299] __build__ as a temp build directory for setup.py

2012-10-22 Thread anatoly techtonik
anatoly techtonik added the comment: RDM> 'build' is pretty much universally understood to be something that can be blown away That's not true anymore in 2012. Why follow the bad practice? I also want to know what open source software project are you referring to. From my experience 'build' d

[issue16297] make csv.DictReader.__init__ use self.fieldnames

2012-10-22 Thread R. David Murray
R. David Murray added the comment: I think it is not an invalid request. However, what is the use case? Normally a class will manipulate the "real" variable, and the getter/setter is the public API. Without a good use case it doesn't seem worth changing that bit of the init method. ---

[issue16297] make csv.DictReader.__init__ use self.fieldnames

2012-10-22 Thread Berker Peksag
Berker Peksag added the comment: I think this is an invalid request. See the usage of property decorator: http://docs.python.org/py3k/library/functions.html#property -- nosy: +berker.peksag ___ Python tracker ___

[issue6972] zipfile.ZipFile overwrites files outside destination path

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch based on patch for issue10905. Test included (I have removed some old tests as new one supersede them). Please test on Windows. ".." components, leading slashes, drive letter, etc are just dropped, as in unzip or 7-Zip. Thanks Zhigang Wang fo

[issue10905] zipfile: fix arcname with leading '///' or '..'

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm going to close this issue as a duplicate of issue6972. Issue6972 is older and has a larger discussion. Thank you for patch and research, Zhigang Wang. I will use it for the new patch. -- resolution: -> duplicate status: open -> pending supersede

[issue16053] "strict" parameter is not documented in csv module

2012-10-22 Thread Éric Araujo
Éric Araujo added the comment: Because I lack time. Feel free to do it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue16299] __build__ as a temp build directory for setup.py

2012-10-22 Thread R. David Murray
R. David Murray added the comment: I see no reason to make this change. 'build' is pretty much universally understood to be something that can be blown away, and I think that making Python's naming convention different than that used by other open source software projects in similar contexts

[issue16300] Windows raises ValueError for file:///file/not/exists instead of URLError

2012-10-22 Thread Senthil Kumaran
New submission from Senthil Kumaran: >From the Buildbot failure - >http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/7573/steps/test/logs/stdio I remember that we restricted the access for file:// scheme to localhost only for Windows/Cygwin. In terms of exception raised it could

[issue16297] make csv.DictReader.__init__ use self.fieldnames

2012-10-22 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- title: small fix to csv.DictReader.__init__ -> make csv.DictReader.__init__ use self.fieldnames ___ Python tracker ___ __

[issue16297] small fix to csv.DictReader.__init__

2012-10-22 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- title: csv.DictReader -> small fix to csv.DictReader.__init__ versions: +Python 3.3 ___ Python tracker ___ ___

[issue16299] __build__ as a temp build directory for setup.py

2012-10-22 Thread anatoly techtonik
New submission from anatoly techtonik: Currently distutils builds files in a temporary directory named 'build' in current dir if not specified otherwise. It will be pythonic to name this directory to be __build__ be default to distinguish it from project specific directories and clarify that t

[issue8766] Segmentation fault with empty "encodings" subdirectory of directory in PYTHONPATH

2012-10-22 Thread Christian Heimes
Christian Heimes added the comment: I agree with Victor. -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13376] readline: pre_input_hook not getting called

2012-10-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: 1) Issue is still present with libedit on OSX 10.8 2) Libedit on OSX doesn't call rl_pre_input_hook when using the '#if defined(HAVE_RL_CALLBACK) && defined(HAVE_SELECT)' branch in the readline extension (that is, not calling readline(3), but using rl_callbac

[issue8766] Segmentation fault with empty "encodings" subdirectory of directory in PYTHONPATH

2012-10-22 Thread STINNER Victor
STINNER Victor added the comment: > This is still an issue for Windows. See my message on python-dev: your issue (with an invalid PYTHONHOME, Python exits with abort) is not related to this one, and it's not a bug (abort is not a bug). -- ___ Python

[issue15772] Unresolved symbols in Windows 64-bit python

2012-10-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Closing as works-for-me then. -- resolution: -> works for me status: open -> closed ___ Python tracker ___ ___

[issue8766] Segmentation fault with empty "encodings" subdirectory of directory in PYTHONPATH

2012-10-22 Thread anatoly techtonik
anatoly techtonik added the comment: This is still an issue for Windows. -- nosy: +techtonik versions: +Python 3.3 ___ Python tracker ___ _

[issue15633] httplib.response is not closed after all data has been read

2012-10-22 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Nikolaus Issue 16298 was raised today describing what could be the cause of what you observe. -- ___ Python tracker ___ _

[issue15633] httplib.response is not closed after all data has been read

2012-10-22 Thread Nikolaus Rath
Nikolaus Rath added the comment: This is just a heads-up that I'm still trying to debug this. So far, the problem doesn't seem to have shown up again (for reference, the original report for this is http://code.google.com/p/s3ql/issues/detail?id=358). -- ___

[issue672115] Assignment to __bases__ of direct object subclasses

2012-10-22 Thread Krzysztof Jurewicz
Changes by Krzysztof Jurewicz : -- nosy: +krzysiekj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16298] httplib.HTTPResponse.read could potentially leave the socket opened forever

2012-10-22 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2012-10-22 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +brian.curtin, loewis, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2012-10-22 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- keywords: +patch Added file: http://bugs.python.org/file27660/029d1cdf6422.diff ___ Python tracker ___ __

[issue16295] With VS2010 the select extension links against wsock32 instead of ws2_32

2012-10-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset daad150b4670 by Kristjan Valur Jonsson in branch '3.3': Issue #16295: Link "select" with ws2_32.lib, the winsock2 stub library. http://hg.python.org/cpython/rev/daad150b4670 New changeset a2cd25d434b3 by Kristjan Valur Jonsson in branch 'default': M

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Yes, now that I think of it that is how accept() is supposed to be used in 2.7 (back then I did also update doc examples in order to enforce this use case) so this is a test suite issue. -- ___ Python tracker

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: This should do it: diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py --- a/Lib/test/test_asyncore.py +++ b/Lib/test/test_asyncore.py @@ -484,8 +484,9 @@ return self.socket.getsockname()[:2] def handle_accept(self): -so

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-22 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Keeping the issue open until Trent can commit a new patch, according to msg173256. -- ___ Python tracker ___ _

[issue16295] With VS2010 the select extension links against wsock32 instead of ws2_32

2012-10-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue16231] pickle persistent_id return value

2012-10-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16295] With VS2010 the select extension links against wsock32 instead of ws2_32

2012-10-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: See this patch. -- keywords: +patch Added file: http://bugs.python.org/file27659/select.patch ___ Python tracker ___ ___

[issue16292] Cross compilation fixes (general)

2012-10-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15483] CROSS: initialise include and library paths in setup.py

2012-10-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15484] CROSS: use _PYTHON_PROJECT_BASE in distutils sysconfig

2012-10-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16291] Enable darwin-host cross compilation. Tested with build=linux, host=darwin

2012-10-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16290] PyComplex_AsCComplex should allow __complex__ to return float.

2012-10-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16053] "strict" parameter is not documented in csv module

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If the patch is good, why not commit it? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16102] uuid._netbios_getnode() is outdated

2012-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As I see in pywin32 sources status.adapter_address is bytes in Python 3. Here is a trivial patch. -- keywords: +patch Added file: http://bugs.python.org/file27658/uuid_netbios_getnode.patch ___ Python tracker

[issue16298] httplib.HTTPResponse.read could potentially leave the socket opened forever

2012-10-22 Thread Eran Rundstein
New submission from Eran Rundstein: When calling HTTPResponse.read() on a response that is: a. not chunked b. contains no content-length header the underlying socket (referenced by self.fp) will never get closed (through self.close()) The offending code is at the bottom of the read() function:

[issue16291] Enable darwin-host cross compilation. Tested with build=linux, host=darwin

2012-10-22 Thread Ray Donnelly
Ray Donnelly added the comment: > A small question about the patch, why this case in the cross_arch function: >From a real Mac Book Pro: $ uname -a Darwin MACBOOKPRO.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 $ /usr/bin/a

[issue16294] 8 space indent in tutorial

2012-10-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1a3f48c6ef16 by Jesus Cea in branch '2.7': Closes #16294: 8 space indent in tutorial http://hg.python.org/cpython/rev/1a3f48c6ef16 New changeset 2015db05d954 by Jesus Cea in branch '3.2': Closes #16294: 8 space indent in tutorial http://hg.python.or

[issue16294] 8 space indent in tutorial

2012-10-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- versions: +Python 3.4 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16294] 8 space indent in tutorial

2012-10-22 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I take care of this. Thanks for pointing it out. -- assignee: docs@python -> jcea nosy: +jcea ___ Python tracker ___ __

[issue14892] 'import readline' hangs when launching with '&' on BSD and OS X

2012-10-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've just tested this on OSX 10.8.2 and the problem is not present there (that is, 'python -c "import deadline" &' does not hang) The problem is present on OSX 10.6.8, and when using ksh(1) you can see why the process is stopped: [1] + Stopped(SIGTTOU)

[issue15633] httplib.response is not closed after all data has been read

2012-10-22 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

  1   2   >