[issue969718] BASECFLAGS are not passed to module build line

2013-10-19 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mai

[issue16612] Integrate "Argument Clinic" into CPython trunk

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8fde1a2c94dc by Larry Hastings in branch 'default': Issue #16612: Add "Argument Clinic", a compile-time preprocessor http://hg.python.org/cpython/rev/8fde1a2c94dc -- nosy: +python-dev ___ Python tracker

[issue16612] Integrate "Argument Clinic" into CPython trunk

2013-10-19 Thread Larry Hastings
Larry Hastings added the comment: Checked in. Thanks everybody! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue16612] Integrate "Argument Clinic" into CPython trunk

2013-10-19 Thread koobs
koobs added the comment: _curses and _curses_panel fail to build after this commit on koobs-freebsd10 buildslave, with some lovely clang warnings too. Attaching full log here. -- nosy: +koobs Added file: http://bugs.python.org/file32217/koobs-freebsd10-py3x-build-610.log _

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file32218/python-2.7-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file28508/python-2.7-distutils-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file32219/python-3.3-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file32220/python-3.4-distutils-C++.patch ___ Python tracker ___

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file28509/python-3.2-distutils-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file28510/python-3.3-distutils-C++.patch ___ Python tracker ___ __

[issue1222585] C++ compilation support for distutils

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file28511/python-3.4-distutils-C++.patch ___ Python tracker ___ __

[issue969718] BASECFLAGS are not passed to module build line

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: OPT should not be used in Distutils at all. Lib/distutils/sysconfig.py should have: if 'CFLAGS' in os.environ: cflags = os.environ['CFLAGS'] Makefile.pre.in should have: $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' CFLAGS

[issue16612] Integrate "Argument Clinic" into CPython trunk

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47618b00405b by Serhiy Storchaka in branch 'default': Fix compilation of the curses module (broken by issue #16612). http://hg.python.org/cpython/rev/47618b00405b -- ___ Python tracker

[issue969718] BASECFLAGS are not passed to module build line

2013-10-19 Thread Ned Deily
Ned Deily added the comment: Arfrever, your proposal is certainly one of many possible solutions and one that would be appropriate if we were designing the Python configure, Makefile, and Distutils components from scratch or looking at major changes to Distutils. But we're not at this point.

[issue16038] ftplib: unlimited readline() from connection

2013-10-19 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I think this is already fixed. Barry can we close this out? -- ___ Python tracker ___ ___ Python-

[issue16612] Integrate "Argument Clinic" into CPython trunk

2013-10-19 Thread Stefan Behnel
Changes by Stefan Behnel : -- nosy: -scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue16038] ftplib: unlimited readline() from connection

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: It is fixed in Python 2.6, but not 2.7, 3.1, 3.2, 3.3, 3.4. -- ___ Python tracker ___ _

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 19.10.2013 07:06, Martin Matusiak wrote: > > Martin Matusiak added the comment: > > It seems the versions of IronPython 1.0 mentioned in test cases do actually > support the "in" keyword, so the first version of the patch is probably > sufficient. > >

[issue19294] test_asyncio fails intermittently on OS X 10.4

2013-10-19 Thread Ned Deily
New submission from Ned Deily: Since asyncio was checked in, there have been a couple of similar buildbot failures on the OS X 10.4 (Tiger) buildbot sandwiched around a successful run. I also saw a similar failure on a 10.4 system I have. So far, the OS X 10.6 (Snow Leopard) buildbot has not

[issue16742] PyOS_Readline drops GIL and calls PyOS_StdioReadline, which isn't thread safe

2013-10-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Perhaps in debug builds the memory apis should verify consistency and matching useage. -- ___ Python tracker ___ __

[issue19249] Enumeration.__eq__

2013-10-19 Thread CliffM
CliffM added the comment: It is appropriate to modify the pickle-module to trap (a potential) the singletonicity-breaking event and raise a warning ? (I'm guessing an exception would be far too rude) I like the idea of using identity-equality, but without the above trap one might get really w

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: I've implemented most of the necessarily bindings in #17134. It's still missing trust setting checks and #16487 to load certs from memory or file object. -- ___ Python tracker _

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-19 Thread Martin Matusiak
Martin Matusiak added the comment: Attaching a v3 which uses "in" and "startswith". Just for good measure I ran this module on IronPython 1.0 and it fails on import: - bytes literal: b'(__libc_init)' - "if" as infix operator: line 177 - "unexpected token open": use of "with" context manager o

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: http://www.python.org/dev/peps/pep-0453/#bundling-ca-certificates-with-cpython proposes that ensurepip comes with a default CA cert bundle, too. I see two issues with the proposal: 1) We must have a way to update the cert bundle outside the release cycle, e.

[issue18709] SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238)

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: I don't get it. Has somebody found a memory leak in my patch? Larry, I have removed 2.7, 3.3 and 3.4 from the affected versions. They fix has already landed. 3.1 and 3.2 are still open, though. Georg, the patch for 3.2 is still up to date. Are you going to c

[issue19287] __contains__() of dbm.ndbm databases fails with str

2013-10-19 Thread Vajrasky Kok
Vajrasky Kok added the comment: What about dbm.gnu and dbm.dumb? Should we add string key support as well? -- nosy: +vajrasky ___ Python tracker ___ _

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 19.10.2013 12:11, Martin Matusiak wrote: > > Attaching a v3 which uses "in" and "startswith". > > > Just for good measure I ran this module on IronPython 1.0 and it fails on > import: > > - bytes literal: b'(__libc_init)' > - "if" as infix operator: l

[issue19287] __contains__() of dbm.ndbm databases fails with str

2013-10-19 Thread Vajrasky Kok
Vajrasky Kok added the comment: Sorry, I just found out that you already created a separate ticket for dbm.gnu. http://bugs.python.org/issue19288 What about dbm.dumb? -- ___ Python tracker ___

[issue19295] Make asyncio work without threads

2013-10-19 Thread Stefan Krah
New submission from Stefan Krah: I'm referring to msg200288. I guess this is low priority, since not many people will want to use asyncio on a build --without-threads. -- keywords: buildbot messages: 200399 nosy: gvanrossum, skrah priority: low severity: normal stage: needs patch status

[issue19295] Make asyncio work without threads

2013-10-19 Thread Stefan Krah
Stefan Krah added the comment: Meanwhile, the patch addresses the buildbot failure. I currently don't have access to the machine with my ssh-key, so I can't commit the patch right now. -- keywords: +patch Added file: http://bugs.python.org/file3/issue19295.patch ___

[issue18777] Cannot compile _ssl.c using openssl > 1.0

2013-10-19 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19251] bitwise ops for bytes of equal length

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: bytes(x ^ y for x, y in zip(a, b)) is super-slow if you have to do XOR inside a hot loop for a couple of ten thousand times. int.from_bytes + int.to_bytes is about ten times faster. I expect bitwise ops of bytes to be even faster and more readable. $ python

[issue19296] Compiler warning when compiling dbm module

2013-10-19 Thread Vajrasky Kok
New submission from Vajrasky Kok: I got this warning when compiling dbm module with Python 3.4. /home/sky/Code/python/programming_language/cpython/Modules/_dbmmodule.c: In function ‘newdbmobject’: /home/sky/Code/python/programming_language/cpython/Modules/_dbmmodule.c:55:5: warning: passing ar

[issue19287] __contains__() of dbm.ndbm databases fails with str

2013-10-19 Thread Berker Peksag
Berker Peksag added the comment: > What about dbm.dumb? dbm.dumb works fine with str: $ python3.3 -c 'from dbm import dumb; db=dumb.open("/tmp/db2", "c"); db["key"]="value"; print(b"key" in db); print("key" in db)' True True $ ./python -c 'from dbm import dumb; db=dumb.open("/tmp/db2", "c");

[issue16742] PyOS_Readline drops GIL and calls PyOS_StdioReadline, which isn't thread safe

2013-10-19 Thread STINNER Victor
STINNER Victor added the comment: > Kristján Valur Jónsson added the comment: > > Perhaps in debug builds the memory apis should verify consistency and matching useage. Python does check usage of apis in debug mode. Memory allocation failure are almost never checked. See my pyfailmalloc module f

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-19 Thread Martin Matusiak
Martin Matusiak added the comment: Double checked that the test passes against both default and 2.7 branches. Is there anything else that needs to happen here or are you satisfied, Marc-Andre? -- ___ Python tracker

[issue18777] Cannot compile _ssl.c using openssl > 1.0

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: Trent, can you have a look? There seems to be a hickup with the linker and dynamic loader. Python picks up the ssl libraries from /usr/lib instead of /usr/local/lib ld -b build/temp.hp-ux-B.11.31-ia64-3.4/home/cpython/cpython/Modules/_ssl.o -L/usr/local/lib

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Why is this not a security patch? Because it's not a "vulnerability" > in the narrow technical sense? I expect that it will greatly increase > the actual practical security, by making it easier to do the right > thing. IMO it's not a vulnerability. It's not a

[issue19254] Python implementation of PBKDF2_HMAC

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e73627483d2f by Christian Heimes in branch 'default': Issue #19254: Provide an optimized Python implementation of PBKDF2_HMAC http://hg.python.org/cpython/rev/e73627483d2f -- nosy: +python-dev ___ Python

[issue19254] Python implementation of PBKDF2_HMAC

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: Serhiy, I have taken your review into account. I still need to use memoryview() in order to handle all types that are supported by the format char "y*". -- components: +Library (Lib) resolution: -> fixed stage: patch review -> committed/rejected stat

[issue18582] PBKDF2 support

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a26ef834a49 by Christian Heimes in branch 'default': Issue #18582: provide a faster C implementation of pbkdf2_hmac that works with OpenSSL < 1.0 http://hg.python.org/cpython/rev/0a26ef834a49 -- ___ Pyt

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 19.10.2013 13:37, Martin Matusiak wrote: > > Martin Matusiak added the comment: > > Double checked that the test passes against both default and 2.7 branches. > > Is there anything else that needs to happen here or are you satisfied, > Marc-Andre? No,

[issue19259] Provide Python implementation of operator.compare_digest()

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: it's in the _operator module because we needed a place to put it that is *always* available. The C backend for the hashlib module is only available on platforms with OpenSSL (hence the internal name Modules/_hashopenssl.c). The operator module already contai

[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: Does 2.7 also hang? The pthread_atfork() handler is also installed in 2.7. Can you install the debugging symbols for libc and openssl on your machine? -- nosy: +benjamin.peterson, georg.brandl, larry priority: critical -> release blocker versions: +Py

[issue18747] Re-seed OpenSSL's PRNG after fork

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: It's considered fixed but we have seen issues. The issues are tracked in #19227. AFAIK the fixed hasn't landed in 3.2 yet. I'm removing 2,7, 3.3 and 3.4 from the versions list. -- versions: -Python 2.7, Python 3.3, Python 3.4 __

[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

2013-10-19 Thread Charles-François Natali
Charles-François Natali added the comment: > It looks as though fork() is indirectly calling something in > _ssl.cpython-34dm.so which is not > completing. The stack is strange: what is /lib/libncursesw.so.5 doing there? Also, we can see exit() is being called. And indeed, _fini() is some share

[issue18777] Cannot compile _ssl.c using openssl > 1.0

2013-10-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue18747] Re-seed OpenSSL's PRNG after fork

2013-10-19 Thread Charles-François Natali
Charles-François Natali added the comment: Well, I don't mean to be a pain, but I still think this patch shouldn't have been applied: it makes fork() not async-safe, which can trigger hard to debug, random bugs (#19227 might or might not be a direct consequence). at the very least, I still it sh

[issue12029] Catching virtual subclasses in except clauses

2013-10-19 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19297] test_asyncio: unclosed sockets

2013-10-19 Thread Stefan Krah
New submission from Stefan Krah: unittest produces the following resource warnings: $ ./python -m test -uall test_asyncio [1/1] test_asyncio /home/stefan/hg/master/Lib/unittest/case.py:571: ResourceWarning: unclosed testMethod() /home/stefan/hg/master/Lib/unittest/case.py:571: ResourceWarnin

[issue12029] Catching virtual subclasses in except clauses

2013-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: The performance hit is that such a change would potentially make it more expensive to figure out that a raised exception *doesn't* match a given "except" clause, along with the complexity of introducing execution of arbitrary code while still unwinding the stack

[issue18810] Stop doing stat calls in importlib.machinery.FileFinder to see if something is a file or folder

2013-10-19 Thread Brett Cannon
Brett Cannon added the comment: Nick pointed out that the change to FileFinder is possibly going to break subclasses since the os module code doesn't treat '' as the cwd (which is unfortunate) and so people may have been relying on that never being the case. Really shouldn't matter all that mu

[issue12029] Catching virtual subclasses in except clauses

2013-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: Actually, I take back the performance comment - Jim's right that in the normal case, the slowdown should be minimal (it's just some additional checks that certain slots aren't populated on each listed exception class), and types can already influence that by mes

[issue12029] Catching virtual subclasses in except clauses

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Actually, I take back the performance comment - Jim's right that in > the normal case, the slowdown should be minimal (it's just some > additional checks that certain slots aren't populated on each listed > exception class), and types can already influence that

[issue19297] test_asyncio: unclosed sockets

2013-10-19 Thread Vajrasky Kok
Vajrasky Kok added the comment: Attached the patch to fix the resource warning problem. -- keywords: +patch nosy: +vajrasky Added file: http://bugs.python.org/file32224/close_httpd_server_in_asyncio_test_utils.patch ___ Python tracker

[issue19298] Use __atribute__(cleanup ...) to detect refleaks

2013-10-19 Thread Brett Cannon
New submission from Brett Cannon: GCC defines an __attribute__ called 'cleanup' which attaches to a variable declaration and specifies a function to execute with an argument of a pointer to the variable when the block scope is left. Typically this is used to automate cleanup (much like smart p

[issue19297] test_asyncio: unclosed sockets

2013-10-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gvanrossum stage: -> patch review type: -> resource usage ___ Python tracker ___ ___ Python-bu

[issue19298] Use __atribute__(cleanup ...) to detect refleaks

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: That's a fantastic idea! :) -- nosy: +christian.heimes versions: +Python 3.4 ___ Python tracker ___ __

[issue19299] test_asyncio refleak failures

2013-10-19 Thread Antoine Pitrou
New submission from Antoine Pitrou: Either the tests forget to cleanup resources at the end, or the library itself has resource management issues. $ ./python -Wi -m test -R 3:3 test_asyncio [1/1] test_asyncio beginning 6 repetitions 123456 .. test_asyncio leaked [240, -677, -158] references

[issue19299] test_asyncio refleak failures

2013-10-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19291] Add docs for asyncio package (Tulip, PEP 3156)

2013-10-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +eric.araujo, ezio.melotti, georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19293] test_asyncio failures on AIX

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: Commenting out poll in selectors.py does not help. AIX has its own epoll/kqueue efficient I/O event polling feature "pollset", which I will open as a separate enhancement request issue. Some of the subprocess tests in test_asyncio/test_events.py related to sig

[issue19294] test_asyncio fails intermittently on OS X 10.4

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks for reporting these. These tests sometimes pass and sometimes fail, right? I suspect that there's a race condition in the test and slower machines provoke it more often. I'm not sure what to do -- I won't have time to properly debug this until after the

[issue19295] Make asyncio work without threads

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1c281f3de48f by Guido van Rossum in branch 'default': Skip the asyncio tests when threads are not available. http://hg.python.org/cpython/rev/1c281f3de48f -- nosy: +python-dev ___ Python tracker

[issue18582] PBKDF2 support

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 88fac1574049 by Christian Heimes in branch 'default': Issue #18582: HMAC_CTX_copy() is not available on OpenSSL < 1.0 http://hg.python.org/cpython/rev/88fac1574049 -- ___ Python tracker

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: @Christian: What is holding up those patches? I don't believe we should be in the business of distributing certificates -- we should however make it easy to use the system certificates. @Antoine: I still claim that a flag that defaults to no security is a vuln

[issue19297] test_asyncio: unclosed sockets

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: I noticed this previously and was told it wasn't very important. Can I delay the fix until after the alpha 4 release? -- ___ Python tracker _

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: Am 19.10.2013 18:02, schrieb Guido van Rossum: > @Christian: What is holding up those patches? I don't believe we should be > in the business of distributing certificates -- we should however make it > easy to use the system certificates. The usual issues: lac

[issue19293] test_asyncio failures on AIX

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41a841fac7fb by Guido van Rossum in branch 'default': Disable some subprocess tests that hang on AIX. http://hg.python.org/cpython/rev/41a841fac7fb -- nosy: +python-dev ___ Python tracker

[issue19297] test_asyncio: unclosed sockets

2013-10-19 Thread Stefan Krah
Stefan Krah added the comment: Yes, the fix can certainly be delayed -- it's just a minor thing that's as little distracting. -- ___ Python tracker ___ __

[issue19293] test_asyncio failures on AIX

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks for the investigation and the patch. As to the deeper issue, I'm not sure I understand what's going on -- is this a bug in Python or in AIX? Is there a better work-around than disabling the test? The issue 18238 that you mention seems to be closed b

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > @Antoine: I still claim that a flag that defaults to no security is a > vulnerability -- nobody reads warnings in docs until *after* they've been > bitten. It should be an explicit choice in the script or app to disable > certificate checking. If we were intro

[issue19293] test_asyncio failures on AIX

2013-10-19 Thread Charles-François Natali
Charles-François Natali added the comment: Does AIX have an equivalent to Linux's strace? If yes, having a sample output would be helpful. Otherwise, maybe just adding manual debug traces to PollSelector.select() would help to see which events are reported. -- nosy: +neologix

[issue19293] test_asyncio failures on AIX

2013-10-19 Thread Stefan Krah
Stefan Krah added the comment: I think the failure is not only on AIX. The FreeBSD bots had similar failures, and here is one on PPC Linux: http://buildbot.python.org/all/builders/PPC64%20PowerLinux%203.x/builds/881/steps/test/logs/stdio Timeout (1:00:00)! Thread 0x008074e46670: File "/h

[issue19285] test_asyncio failures on FreeBSD

2013-10-19 Thread Stefan Krah
Stefan Krah added the comment: Ok, the timings have been adjusted, so I'm making #19293 a superseder for the hanging issue. -- resolution: -> duplicate status: open -> closed superseder: -> test_asyncio failures on AIX ___ Python tracker

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Stefan Krah
Changes by Stefan Krah : -- title: test_asyncio failures on AIX -> test_asyncio hanging for 1 hour ___ Python tracker ___ ___ Python-b

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: [Off-topic: Heck, another one of those upside-down tracebacks. WHY???] I'll need a lot of help from folks on the affected platforms in debugging this, since these tests work fine when I run them on the platforms to which I have access (Ubuntu and OS X). I w

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Changes by Guido van Rossum : -- assignee: -> gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: So you agree that we should change the urllib default in 3.4? I'm all for that. Tools like svn and hg have extensive configurations for this purpose, and (at least hg) secure defaults; I certainly remember having to deal with hg complaining about the security

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Tools like svn and hg have extensive configurations for this purpose, and > (at least hg) secure defaults; I certainly remember having to deal with hg > complaining about the security of some repo site, where the fix was > something I had to put in my .hgrc. Th

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: But do you agree that the urllib default should be changed? -- ___ Python tracker ___ ___ Python-b

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > But do you agree that the urllib default should be changed? Well, I'm fine for 3.4, even though I'm not particularly enthusiastic :-) -- ___ Python tracker _

[issue19300] Swap keyword arguments in open() to make encoding easier to use

2013-10-19 Thread py.user
New submission from py.user: >>> print(open.__doc__) open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None) -> file object It would be handy to use open('file.txt', 'r', 'utf-8') instead of open('file.txt', 'r', encoding='utf-8') -

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: I fear it's a bit too late in the release cycle to get it right. Feature freeze is in about a month and this is a major change. The set_default_verify_paths() works only on some Unix platforms when OpenSSL configured with the distribution-specific paths to

[issue19300] Swap keyword arguments in open() to make encoding easier to use

2013-10-19 Thread Ezio Melotti
Ezio Melotti added the comment: That would be backward incompatible. -- nosy: +ezio.melotti resolution: -> rejected stage: -> committed/rejected status: open -> closed versions: -Python 3.3 ___ Python tracker __

[issue16612] Integrate "Argument Clinic" into CPython trunk

2013-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch with yet some tiny changes (but they are too large for just comment). It corrects misleading docstrings of permute_*_option_groups() and simplifies rstrip_lines() and permute_optional_groups(). Fill free to apply those of them which look good

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: My understanding of the issue is POSIX and The Open Group specification are ambiguous about the handling of Unix socket API calls when interrupted by a signal. Linux implements a more liberal, accommodating behavior and the Python Async I/O implementation is a

[issue19279] UTF-7 to UTF-8 decoding crash

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 214c0aac7540 by Serhiy Storchaka in branch '2.7': Issue #19279: UTF-7 decoder no more produces illegal unicode strings. http://hg.python.org/cpython/rev/214c0aac7540 New changeset f471f2f05621 by Serhiy Storchaka in branch '3.3': Issue #19279: UTF-7

[issue18582] PBKDF2 support

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset a15fcb847515 by Christian Heimes in branch 'default': Issue #18582: skip test of _hashlib.pbkdf2_hmac if OpenSSL is not available or too old http://hg.python.org/cpython/rev/a15fcb847515 -- ___ Python tr

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: Also, the Python buildbot for AIX is running on a POWER AIX 7.1 system at OSU OSL that is a member of the "GCC Compile Farm" cluster on which FOSS developers can obtain free accounts. If you want access to an AIX system for testing, it's available. --

[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-19 Thread Alexandre Vassalotti
New submission from Alexandre Vassalotti: The value of __qualname__ for globals declared in function scope doesn't seems right to me: >>> def f(): ...global C ...class C: pass ...return C.__qualname__ ... >>> f() 'f..C' It would be much more useful to return 'C' in this case. In my

[issue19259] Provide Python implementation of operator.compare_digest()

2013-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: attrgetter and itemgetter are partial versions of getattr (. operator) and op.getitem ([] operator). I see now that _compare_digest might have more clearly been named _eq_strng_slow ;-). ('Compare' implies to me a -1, 0, 1 return.) Are you planning to leave t

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: No, please let's not get in the business of shipping certs. Please not. There should be only *one* place per system where sysadmins have to update certs. It would not scale if every language implementation were to have its own set of certs. Trusting only certs

[issue1772673] Replacing char* with const char*

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3055e61f1e66 by Serhiy Storchaka in branch 'default': Issue #1772673: The type of `char*` arguments now changed to `const char*`. http://hg.python.org/cpython/rev/3055e61f1e66 -- nosy: +python-dev ___ Pyt

[issue19302] Add support for AIX pollset efficient event I/O polling

2013-10-19 Thread David Edelsohn
New submission from David Edelsohn: Implement AIX pollset in Modules/selectmodule.c -- components: Extension Modules messages: 200457 nosy: David.Edelsohn priority: normal severity: normal status: open title: Add support for AIX pollset efficient event I/O polling type: enhancement versi

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Charles-François Natali
Charles-François Natali added the comment: Wait, I think there's a misunderstanding here. POSIX does indeed leave undefined the behavior of syscalls when a signal is received: whether or not it fails with EINTR depends on the operating system, the SA_RESTART flag, etc. But the tests we're talkin

[issue1772673] Replacing char* with const char*

2013-10-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19302] Add support for AIX pollset efficient event I/O polling

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: Either create new pollset object or use pollset to provide implementation of Python epoll API on AIX. -- ___ Python tracker ___ ___

[issue19298] Use __atribute__(cleanup ...) to detect refleaks

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

  1   2   >