[issue19546] configparser leaks implementation detail

2014-06-27 Thread Claudiu Popa
Claudiu Popa added the comment: Łukasz, do you have some time to take a look at this patch? -- type: - behavior versions: +Python 3.5 Added file: http://bugs.python.org/file35791/issue19546_1.patch ___ Python tracker rep...@bugs.python.org

[issue18108] shutil.chown should support dir_fd and follow_symlinks keyword arguments

2014-06-27 Thread Claudiu Popa
Claudiu Popa added the comment: I got a failure on FreeBSD: [1/1] test_shutil test test_shutil failed -- Traceback (most recent call last): File /tank/libs/cpython/Lib/test/test_shutil.py, line 1258, in test_chown shutil.chown(os.path.basename(filename), dir_fd=dirfd) File

[issue21875] Remove vestigial references to Classic Mac OS attributes in os.stat() and os.name docs

2014-06-27 Thread Ned Deily
New submission from Ned Deily: The documentation for os.stat() still contains references to optional stat fields that were supported on Classic Mac OS systems but are no longer supported in Python on Mac OS X: On Mac OS systems, the following attributes may also be available:

[issue10312] intcatcher() can deadlock

2014-06-27 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- resolution: - out of date stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10312 ___

[issue10312] intcatcher() can deadlock

2014-06-27 Thread Claudiu Popa
Claudiu Popa added the comment: It's still in Python 2, though. -- nosy: +Claudiu.Popa resolution: out of date - stage: resolved - status: closed - open versions: -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue4346] PyObject_CallMethod changes the exception message already set by PyObject_GetAttr

2014-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa4b4487c7ad by Benjamin Peterson in branch '2.7': don't overwrite the error from PyObject_GetAttrString (closes #4346) http://hg.python.org/cpython/rev/aa4b4487c7ad -- nosy: +python-dev resolution: - fixed stage: patch review - resolved

[issue21875] Remove vestigial references to Classic Mac OS attributes in os.stat() and os.name docs

2014-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 94f7cdab9f71 by Ned Deily in branch '2.7': Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. http://hg.python.org/cpython/rev/94f7cdab9f71 New changeset d130a04fa6a1 by Ned Deily in branch '3.4': Issue #21875: Remove

[issue21875] Remove vestigial references to Classic Mac OS attributes in os.stat() and os.name docs

2014-06-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21875 ___

[issue4613] Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python shows no traceback

2014-06-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - out of date stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4613 ___

[issue10513] sqlite3.InterfaceError after commit

2014-06-27 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- stage: needs patch - patch review versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10513 ___

[issue20562] sqlite3 returns result set with doubled first entry

2014-06-27 Thread Claudiu Popa
Claudiu Popa added the comment: issue10513 has a patch that fixes this problem as well. -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20562 ___

[issue20562] sqlite3 returns result set with doubled first entry

2014-06-27 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20562 ___ ___

[issue10721] Remove HTTP 0.9 server support

2014-06-27 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@hybridcluster.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10721 ___ ___

[issue6130] There ought to be a way for extension types to associate documentation with their tp_new or tp_init methods

2014-06-27 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, larry, ncoghlan stage: - needs patch type: - enhancement versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6130

[issue6692] asyncore kqueue support

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: Since Python 3.4 has asyncio which supports all selectors provided by the new selectors module (which includes kqueue, but also devpoll since Python 3.5), I propose to close this issue as wontfix since there is no activity since 4 years. -- nosy:

[issue19996] httplib infinite read on invalid header

2014-06-27 Thread brian yardy
brian yardy added the comment: import http.client h = http.client.HTTPConnection('http://www.einstantloan.co.uk/') h.request('GET', '/', headers={'Accept-Encoding': 'gzip'}) r = h.getresponse() hdrs = r.getheaders() body = r.read() # Hang here. curl --compressed

[issue17399] test_multiprocessing hang on Windows, non-sockets

2014-06-27 Thread brian yardy
brian yardy added the comment: All 4 or 5 times I tried on 3.2, yes. In Command Prompt, 3.2 gave same error as before, 3.3 a different error. multi-test.txt has full tracebacks.'http://www.einstantloan.co.uk/' -- nosy: +brianyardy ___ Python tracker

[issue19841] ConfigParser PEP issues

2014-06-27 Thread brian yardy
brian yardy added the comment: Do you mean PEP 8 violations? These aren’t usually enough to cause a change.'http://www.einstantloan.co.uk/' -- nosy: +brianyardy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19841

[issue21873] Tuple comparisons with NaNs are broken

2014-06-27 Thread akira
akira added the comment: It is about equality. `float('nan') != float('nan')` unlike `0 == 0`. From msg221603: If not equal, the sequences are ordered the same as their first differing elements. The result of the expression: `(a, whatever) (b, whatever)` is defined by `a b` if a and b

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: Attaching Victor and Lisha's patch in reviewable form. -- keywords: +patch Added file: http://bugs.python.org/file35792/issue14534.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-27 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534 ___ ___

[issue12815] Coverage of smtpd.py

2014-06-27 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12815 ___ ___

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: Victor: I've left a review on Rietveld; it should have sent you an email with it. The basic change looks good to me, but there's some cleanup that will need to happen before it can be committed, and Michael will need to confirm that this does what he was

[issue18454] distutils crashes when uploading to PyPI having only the username (no pw) defined

2014-06-27 Thread Dries Desmet
Dries Desmet added the comment: I confirm, using python 2.7 on Mac. -- nosy: +dries_desmet ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18454 ___

[issue9973] Sometimes buildbot fails to cleanup working copy

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: @Steve I'm assuming that this is covered by the work you're doing for 3.5 builds, am I correct? -- components: +Windows nosy: +BreamoreBoy, steve.dower versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: The latest patch looks okay to my eye, can somebody do a formal commit review please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19681

[issue9973] Sometimes buildbot fails to cleanup working copy

2014-06-27 Thread Steve Dower
Steve Dower added the comment: Probably, but that work is not going to be checked in for a while (until we have guarantees that we'll be able to use VC14 and there's a 'go-live' version available). If this is causing problems now, it should be fixed. The patch looks fine to me, but Zachary

[issue9973] Sometimes buildbot fails to cleanup working copy

2014-06-27 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9973 ___ ___ Python-bugs-list

[issue9973] Sometimes buildbot fails to cleanup working copy

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: The real simple method here would be to replace clean[-amd64].bat with a call to kill_python_d (if it exists), followed by an hg --config extensions.purge= purge --all. That ought to give as much of a guarantee of a clean slate as possible, with the added

[issue4899] doctest should support fixtures

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: I suggest this is closed as won't fix as David and Raymond are against it and Tim says he no longer understands doctest. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue5217] testExtractDir (test.test_zipfile.TestWithDirectory) fails when python built with srcdir != builddir

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Presumably this can be closed as out of date? -- nosy: +BreamoreBoy type: - behavior versions: +Python 2.7, Python 3.4, Python 3.5 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue17399] test_multiprocessing hang on Windows, non-sockets

2014-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is no longer a 3.x issue. 3.2 and 3.3 get security fixes only. For 3.4, test_multiprocessing is split into 4 files and all run in multiple tries. Test_multiprocessing_spawn takes a minute, but it does 264 + 20 skipped tests, including a few 'wait' tests.

[issue678264] test_resource fails when file size is limited

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: The inline patch in msg117130 has never been committed from what I can see. Can somebody review it please as I'm assuming that it's still valid. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2

[issue5217] testExtractDir (test.test_zipfile.TestWithDirectory) fails when python built with srcdir != builddir

2014-06-27 Thread Berker Peksag
Berker Peksag added the comment: Presumably this can be closed as out of date? Yes. $ mkdir objdir $ cd objdir $ .././configure $ make $ ./python -m test -v test_zipfile Ran 164 tests in 38.202s OK (skipped=1) 1 test OK. -- nosy: +berker.peksag resolution:

[issue8070] Infinite loop in PyRun_InteractiveLoopFlags() if PyRun_InteractiveOneFlags() raises an error

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: I've failed to reproduce this using latest default on Windows 7, would someone else like to try please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-27 Thread Aaron Swan
New submission from Aaron Swan: On Linux Red Hat os.rename(src,dst) does nothing when src and dst files are hard-linked. It seems like the expected behavior would be the removal of the src file. This would be in keeping with the documentation that states: On Unix, if dst exists and is a

[issue10195] Memory allocation fault-injection?

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Do you folks want to pick this up again as it seems a handy thing to have in our toolbox? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue10236] Sporadic failures of test_ssl

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as out of date? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10236

[issue10195] Memory allocation fault-injection?

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: This feature is implemented in my external project: https://bitbucket.org/haypo/pyfailmalloc It was discussed to integrate it in Python 3.4, but I foscused my efforts on the PEP 445 (malloc API) and 454 (tracemalloc). --

[issue14060] Implement a CSP-style channel

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: @Matt are you interested in following up on this? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14060

[issue21873] Tuple comparisons with NaNs are broken

2014-06-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the logic for tuple ordering is a bit weird due to rich comparisons. Each pair of elements is first checked for equality (__eq__). Only if the equality comparison returns False does it call the relevant ordering operations (such as __lt__). The

[issue5930] Transient error in multiprocessing (test_number_of_objects)

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as out of date? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5930

[issue20560] tkFileFilter.c: ostypeCount not initialized?

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: I'm going to go ahead and close this, since it should be fixed. Terry, if you do find that this is still an issue, please reopen. -- resolution: - fixed stage: needs patch - resolved status: pending - closed ___

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-27 Thread Esa Peuha
Esa Peuha added the comment: This looks like a documentation bug. Functions in module os are usually just thin wrappers around the underlying OS functions, and POSIX states that doing nothing is the correct thing to do here. (It is arguably a bug in early Unix implementations that got

[issue3620] test_smtplib is flaky

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as out of date? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3620 ___

[issue10402] sporadic test_bsddb3 failures

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: As #3892 has been closed this can also be closed. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10402 ___

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-06-27 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- components: +Distutils -Build, Windows nosy: +dstufft, eric.araujo -zach.ware status: languishing - open type: compile error - behavior versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-06-27 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16296 ___ ___

[issue7885] test_distutils fails if Python built in separate directory

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still an issue that needs addressing? I can't try it myself as I use Windows. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7885

[issue21856] memoryview: no overflow on large slice values (start, stop, step)

2014-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: #21831 was about size not being properly clamped. Here it is. -- nosy: +terry.reedy resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-27 Thread Aaron Swan
Aaron Swan added the comment: Although using the mv command *does* remove the src file on red hat linux, I can accept that the POSIX requirement that the source *must* be removed might not apply if source is the same as the destination file. It would be nice if the behavior was consistent,

[issue10000] mark more tests as CPython specific

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: How is pypy supporting Python 3.2.5 without this being done? Or has it been done but perhaps documented elsewhere? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker

[issue21864] Error in documentation of point 9.8 'Exceptions are classes too'

2014-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The preceding sentence There are two new valid (semantic) forms for the raise statement is obsolete also as there is no other form (other than 'raise', which should not be in the tutorial previously). To rewrite this section for 3.x would require looking at

[issue11697] Unsigned type in mmap_move_method

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: The if conditional referenced in msg132364 was changed in r79606 but dest, src and cnt are still unsigned long and the call to PyArg_ParseTuple is unchanged. -- nosy: +BreamoreBoy ___ Python tracker

[issue5930] Transient error in multiprocessing (test_number_of_objects)

2014-06-27 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5930 ___

[issue4899] doctest should support fixtures

2014-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this for both the general reasons already given and the lack of a proposed api that could programmed, Hence there is no example code that would run and hence no specifics to approve. If someone wanted to pursue this, python-ideas would be a

[issue10236] Sporadic failures of test_ssl

2014-06-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - out of date stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10236 ___

[issue21856] memoryview: no overflow on large slice values (start, stop, step)

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: If the behaviour is well expected, I suggest to add an unit test: memoryview_test_large_slice.patch. -- keywords: +patch resolution: not a bug - status: closed - open Added file: http://bugs.python.org/file35793/memoryview_test_large_slice.patch

[issue20560] tkFileFilter.c: ostypeCount not initialized?

2014-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem is gone after re-running external.bat -- and manually copying the dlls into pcbuild. It there an open issue to fix the undocumented need to copy? -- ___ Python tracker rep...@bugs.python.org

[issue11279] test_posix and lack of id -G support - less noise required?

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can our Solaris gurus take this on please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11279 ___

[issue10195] Memory allocation fault-injection?

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: Related issues: #19817 tracemalloc add a memory limit feature and #19835 Add a MemoryError singleton to fix an unlimited loop when the memory is exhausted. -- ___ Python tracker rep...@bugs.python.org

[issue20560] tkFileFilter.c: ostypeCount not initialized?

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: Is there an open issue to fix the undocumented need to copy? I don't think so. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20560 ___

[issue11273] asyncore creates selec (or poll) on every iteration

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: On the other hand, it appears to be quite difficult to integrate such a massive change into asyncore in a fully backward compatible manner. At least, it's not clear to me how to do this without breaking code relying on map's parameter and asyncore.socket_map.

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as out of date? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8314 ___

[issue21856] memoryview: test slick clamping

2014-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Memoryview should definitely have the same slice tests as other sequence objects. Go ahead and check. I believe slice clamping itself should now be done by slice.indices, not by each class. S.indices(len) - (start, stop, stride) Assuming a

[issue21582] use support.captured_stdx context managers - test_asyncore

2014-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset c2dba8ee4e96 by Victor Stinner in branch '3.4': Closes #21582: Cleanup test_asyncore. Patch written by diana. http://hg.python.org/cpython/rev/c2dba8ee4e96 New changeset f1cd0aa1561a by Victor Stinner in branch 'default': (Merge 3.4) Closes #21582:

[issue21582] use support.captured_stdx context managers - test_asyncore

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: The patch is simple, safe, and makes the test code cleaner. I commited your patch diana, thanks. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21582

[issue9858] Python and C implementations of io are out of sync

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Is there anything left to do on this or can it be closed as fixed? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue11385] TextTestRunner methods are not documented

2014-06-27 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- type: - behavior versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11385 ___

[issue11389] unittest: no way to control verbosity of doctests from cmd

2014-06-27 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- type: - behavior versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11389 ___

[issue16133] asyncore.dispatcher.recv doesn't handle EAGAIN / EWOULDBLOCK

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: EWOULDBLOCK.patch: asyncio ignores BlockingIOError on sock.recv(), except BlockingIOError: is more portable and future proof than _RETRY = frozenset((EWOULDBLOCK, EAGAIN)). Except of that, EWOULDBLOCK.patch change looks correct. -- nosy: +haypo

[issue9350] add remove_argument_group to argparse

2014-06-27 Thread paul j3
paul j3 added the comment: I wonder if this patch is needed. - there hasn't been discussion in 4 years - In Steven's use case, a group without any arguments, the group does not show up. A common example of an empty argument group, is a parser without any user defined arguments.

[issue7885] test_distutils fails if Python built in separate directory

2014-06-27 Thread Ned Deily
Ned Deily added the comment: It looks like this was fixed as part of the changes for Issue12141 (which were also backported to 2.7.x); test_build_ext tests are now cleanly skipped if the include file cannot be found. -- nosy: +ned.deily resolution: - out of date stage: needs patch -

[issue7202] python setup.py cmd --verbose does not set verbosity

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Assuming that this is still an issue would someone like to propose a patch? -- components: -Distutils2 nosy: +BreamoreBoy, dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.1, Python 3.2 ___ Python

[issue16133] asyncore.dispatcher.recv doesn't handle EAGAIN / EWOULDBLOCK

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: Modifying recv() to return None doesn't look correct. I read it as: you should always use recv() output, except if the result is None: in this case, do nothing. In Python, we use exceptions for that. BUT in fact, sock.recv() already raises an exception, so

[issue10000] mark more tests as CPython specific

2014-06-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +pjenvey ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1 ___ ___ Python-bugs-list mailing list

[issue16133] asyncore.dispatcher.recv doesn't handle EAGAIN / EWOULDBLOCK

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #15982 which is the exactly the same on Windows. (By the way, the asyncore module has been marked as deprecated in Python 3.4 in favor of asyncio, and this issue is already solved in asyncio.) --

[issue15982] asyncore.dispatcher does not handle windows socket error code correctly (namely WSAEWOULDBLOCK 10035)

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: This issue looks like a duplicate of the issue #16133. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15982 ___

[issue11452] test_trace not symlink install clean

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as out of date? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11452 ___

[issue13103] copy of an asyncore dispatcher causes infinite recursion

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: This issue has been fixed in Python 3.5 by this change: --- changeset: 90495:2cceb8cb552b parent: 90493:d1a03834cec7 user:Giampaolo Rodola' g.rod...@gmail.com date:Tue Apr 29 02:03:40 2014 +0200 files: Lib/asyncore.py

[issue11697] Unsigned type in mmap_move_method

2014-06-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11697 ___ ___ Python-bugs-list mailing list

[issue21877] External.bat and pcbuild of tkinter do not match.

2014-06-27 Thread Terry J. Reedy
New submission from Terry J. Reedy: dir/pydir/Tools/buildbot/external.bat downloads tcl/tk 8.y.z into dir/tcl-8.y.z and dir/tk-8.y.x and compiles them into dir/tcltk. Of critical importance are dir/tcltk/bin/tcl8yg.dll and dir/tcltk/bin/tk8yg.dll (where y is currently 5 or 6.

[issue5862] multiprocessing 'using a remote manager' example errors and possible 'from_address' code leftover

2014-06-27 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.4, Python 3.5 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5862 ___

[issue7506] multiprocessing.managers.BaseManager.__reduce__ references BaseManager.from_address

2014-06-27 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.4, Python 3.5 -Python 2.6, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7506 ___

[issue21877] External.bat and pcbuild of tkinter do not match.

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: compiles _tkinter is such a way that it looks for the two dlls 'everywhere' (in pcbuild itself and 5-10 other, non-existent directories) I think you're confusing the finding of the tcl/tk DLLs with the finding of init.tcl; the DLLs are searched for on PATH

[issue12498] asyncore.dispatcher_with_send, disconnection problem + miss-conception

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: Actually the class asyncore.dispatcher_with_send do not handle properly disconnection. When the endpoint shutdown his sending part of the socket, but keep the socket open in reading, the current implementation of dispatcher_with_send will close the socket

[issue11754] Changed test to check calculated constants in test_string.py

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: I see very little value in implementing this change, thoughts? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue1371826] distutils is silent about multiple -I/-L/-R

2014-06-27 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1371826

[issue12498] asyncore.dispatcher_with_send, disconnection problem + miss-conception

2014-06-27 Thread François-Xavier Bourlet
François-Xavier Bourlet added the comment: No worries, I am glad to see asyncore going away. It was indeed badly designed in the first place. -- François-Xavier Bourlet On Fri, Jun 27, 2014 at 2:28 PM, STINNER Victor rep...@bugs.python.org wrote: STINNER Victor added the comment: Actually

[issue11452] test_trace not symlink install clean

2014-06-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - wont fix stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11452 ___

[issue11453] asyncore.file_wrapper should implement __del__ and call close there to prevent resource leaks and behave like socket.socket does.

2014-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae12a926e680 by Victor Stinner in branch '3.4': Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper http://hg.python.org/cpython/rev/ae12a926e680 -- nosy: +python-dev ___ Python

[issue11453] asyncore.file_wrapper should implement __del__ and call close there to prevent resource leaks and behave like socket.socket does.

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: I fixed the issue in Python 3.4 and 3.5, thanks for the report. In Python 3.4+, it's safe to add a destructor (__del__ method): even if the object is part of a reference cycle, it will be destroyed. It's not the case in Python 2.7. I prefer to leave Python

[issue12509] test_gdb fails on debug build when builddir != srcdir

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: The code from the patch was committed in r77824. -- nosy: +BreamoreBoy type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12509 ___

[issue11453] asyncore.file_wrapper should implement __del__ and call close there to prevent resource leaks and behave like socket.socket does.

2014-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7c9335d97628 by Victor Stinner in branch 'default': (Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosed http://hg.python.org/cpython/rev/7c9335d97628 -- ___ Python tracker

[issue6692] asyncore kqueue support

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: I read asyncore.patch: it is close to the selectors module, so it means duplicated efforts. I prefer to close this issuse since asyncore has been deprecated in favor of asyncio (and selectors). Using the selectors module in asyncore would not be efficient

[issue10880] do_mkvalue and 'boolean'

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can somebody do a patch review on this please, it's against _testcapimodule.c. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10880

[issue11266] asyncore does not handle EINTR in recv, send, connect, accept,

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: It was already discussed in other issues, the issue is not specific to asyncore: Python code should not handle EINTR. IMO the C module socket should handle EINTR for you. -- nosy: +haypo ___ Python tracker

[issue21531] Sending a zero-length UDP packet to asyncore invokes handle_close()

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: For UDP, you can use the new asyncio module for that. I agree that the asyncore documentation should mention that datagram protocols (UDP) are not supported. -- nosy: +haypo ___ Python tracker

[issue777588] asyncore/Windows: select() doesn't report errors for a non-blocking connect()

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: Workaround: (...) e = self.socket.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) Oh, it looks like the issue was already fixed 4 years ago: --- changeset: 63720:ba7353147507 branch: 3.1 parent: 63716:915b028b954d user:Giampaolo Rodolà

[issue777588] asyncore/Windows: select() doesn't report errors for a non-blocking connect()

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: Note: asyncio also calls getsockopt(SOL_SOCKET,SO_ERROR) to check if the connect() succeeded or not, and so it doesn't have this bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue777588

  1   2   >