[issue27863] multiple issues in _elementtree module

2016-08-25 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27861] sqlite3 type confusion and multiple frees

2016-08-25 Thread Xiang Zhang
Xiang Zhang added the comment: For the first issue, the doc says: The cursor method accepts a single optional parameter cursorClass. If supplied, this must be a custom cursor class that extends sqlite3.Cursor. So I think we should check the type and then raise TypeError. For the second issue,

[issue27842] Order CSV header fields

2016-08-25 Thread Steve Holden
Steve Holden added the comment: Is there another way? :) Sent from my iPhone > On 26 Aug 2016, at 12:16, Raymond Hettinger wrote: > > > Raymond Hettinger added the comment: > > Consider using itertools.permutations() to generate the 120 cases cases. > > The news entry goes into Misc/NEWS (

[issue27842] Order CSV header fields

2016-08-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Consider using itertools.permutations() to generate the 120 cases cases. The news entry goes into Misc/NEWS (there is not .txt extension). -- ___ Python tracker __

[issue19504] Change "customise" to "customize".

2016-08-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue19504] Change "customise" to "customize".

2016-08-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 579360b1c8fe by Raymond Hettinger in branch '3.5': Issue 19504: Change "customise" to "customize" American spelling. https://hg.python.org/cpython/rev/579360b1c8fe -- ___ Python tracker

[issue19504] Change "customise" to "customize".

2016-08-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list m

[issue27840] functools.partial: don't copy keywoard arguments in partial_call()?

2016-08-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Antoine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27833] Process is locked when try to execute Queue.put() inside

2016-08-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Davin, what are your thoughts? -- assignee: -> davin nosy: +rhettinger ___ Python tracker ___ _

[issue27858] Add identity function to functools

2016-08-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27852] itertools -> flatten_all()

2016-08-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I think there is no need add this function in itertools. > And due to this details it may be not worth to add it as a recipe. Sorry YoSTEALTH, I concur with Serhiy on both points and am going to pass on this proposal. That said, I encourage you to post

[issue27860] Improvements to ipaddress module

2016-08-25 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27865] WeakMethod does not support builtin methods

2016-08-25 Thread Antony Lee
New submission from Antony Lee: List subclasses can be weakref'd (as mentioned by the docs), but their methods cannot be wrapped by WeakMethod, even though this makes sense semantically: ``` In [25]: class L(list): pass In [26]: weakref.WeakMethod(L().append) ---

[issue17642] IDLE add font resizing hot keys and wheel

2016-08-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://stackoverflow.com/questions/39155656/i-need-bigger-font-in-python-idle/39156068#39156068 is about getting a larger font size than 22 for classroom projection. I think configdialog.py should be extended something as follows (about line 1000). self.

[issue19884] Importing readline produces erroneous output

2016-08-25 Thread Martin Panter
Martin Panter added the comment: Thanks, I can try to commit the version fix part of the patch when I get a chance. What is EL6.8, is that a Red Hat (Enterprise Linux) thing? -- versions: +Python 3.6 -Python 3.4 ___ Python tracker

[issue27213] Rework CALL_FUNCTION* opcodes

2016-08-25 Thread STINNER Victor
STINNER Victor added the comment: I'm working on a new calling convention: "fast call". I already pushed changes implementing first functions: _PyObject_FastCallDict(PyObject *func, PyObject **stack, Py_ssize_t nargs, PyObject *kwargs) kwargs is a Python dict, but it can be NULL. _PyObject_F

[issue27213] Rework CALL_FUNCTION* opcodes

2016-08-25 Thread STINNER Victor
STINNER Victor added the comment: > Pybench is now only ~200ms slower instead of 1200ms slower. But the whole > point of this patch is that CALL_FUNCTION_EX shouldn't be optimized for, so > I'd much prefer real benchmarking results FYI I released a first version of the "new" Python benchmark s

[issue27852] itertools -> flatten_all()

2016-08-25 Thread YoSTEALTH
YoSTEALTH added the comment: Currently there is flatten() function in itertools Recipes section. This is what it does: -> a = ['one', 'plus', [b'two', b'three'], ['four', ('five', (1, {'e', 'ee'}, (2, (3, ))), ['six'])], generator()] <- ['o', 'n', 'e', 'p', 'l', 'u', 's', b'two', b'three', 'fou

[issue27864] test_socket: unknown thread blocks forever on "AMD64 FreeBSD 9.x 3.x"

2016-08-25 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/4736/steps/test/logs/stdio ... running: test_socket (778 sec) running: test_socket (808 sec) running: test_socket (838 sec) running: test_socket (868 sec) running: test_socket (898 sec)

[issue27845] Optimize update_keyword_args() function

2016-08-25 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #27358: "BUILD_MAP_UNPACK_WITH_CALL is slow. -- ___ Python tracker ___ ___ Pytho

[issue27358] BUILD_MAP_UNPACK_WITH_CALL is slow

2016-08-25 Thread STINNER Victor
STINNER Victor added the comment: See also issue #27845: "Optimize update_keyword_args() function". -- nosy: +haypo ___ Python tracker ___ __

[issue27810] Add METH_FASTCALL: new calling convention for C functions

2016-08-25 Thread STINNER Victor
STINNER Victor added the comment: I changed the dependency to the issue #27830 "Add _PyObject_FastCallKeywords(): avoid the creation of a temporary dictionary for keyword arguments" which itself depends on the issue #27213 "Rework CALL_FUNCTION* opcodes". -- dependencies: +Add _PyObjec

[issue27830] Add _PyObject_FastCallKeywords(): avoid the creation of a temporary dictionary for keyword arguments

2016-08-25 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +Rework CALL_FUNCTION* opcodes ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27830] Add _PyObject_FastCallKeywords(): avoid the creation of a temporary dictionary for keyword arguments

2016-08-25 Thread STINNER Victor
Changes by STINNER Victor : -- title: Add _PyObject_FastCallKeywords(): pass keyword arguments as (key, value) pairs -> Add _PyObject_FastCallKeywords(): avoid the creation of a temporary dictionary for keyword arguments ___ Python tracker

[issue27830] Add _PyObject_FastCallKeywords(): pass keyword arguments as (key, value) pairs

2016-08-25 Thread STINNER Victor
STINNER Victor added the comment: > New changeset ffcfa4f005a3 by Victor Stinner in branch 'default': > Issue #27830: Revert, remove _PyFunction_FastCallKeywords() > https://hg.python.org/cpython/rev/ffcfa4f005a3 I'm sorry, I misunderstood Serhiy's comment. I understood that Serhiy proposed to

[issue27830] Add _PyObject_FastCallKeywords(): pass keyword arguments as (key, value) pairs

2016-08-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffcfa4f005a3 by Victor Stinner in branch 'default': Issue #27830: Revert, remove _PyFunction_FastCallKeywords() https://hg.python.org/cpython/rev/ffcfa4f005a3 -- ___ Python tracker

[issue23702] docs.python.org/3/howto/descriptor.html still refers to "unbound methods"

2016-08-25 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27768] ssl: add public API for IA-32 processor capabilities vector

2016-08-25 Thread Gregory P. Smith
Gregory P. Smith added the comment: The processor capabilities vector is not the API you want. What you want is an API to ask the ssl library about characteristics of algorithm implementations it will be using. Those are not the same thing. If we want to expose processor capabilities as a lib

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-08-25 Thread Christian Heimes
Christian Heimes added the comment: OpenSSL 1.1.0 final was released a couple of hours ago. One test is failing because it uses 3DES. 1.1.0 has 3DES disabled by default. -- ___ Python tracker

[issue26638] Avoid warnings about missing CLI options when building documentation

2016-08-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you, that worked -- and should have been documented in the help output. All the sphinx dependencies were inequalities, and rebuilding worked. The devguide only says "You are expected to have installed a recent version of Sphinx on your system or in a vi

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-08-25 Thread Chi Hsuan Yen
Changes by Chi Hsuan Yen : -- nosy: +Chi Hsuan Yen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27855] 2to3: Wrong code output w/ has_key without trailing space

2016-08-25 Thread E Rippey
E Rippey added the comment: I have one line change to "Lib/lib2to3/fixes/fix_has_key.py" that will resolve this issue. Would a patch be accepted? It doesn't seem like the input is unusually contorted. -- status: closed -> open ___ Python tracker <

[issue27859] argparse - subparsers does not retain namespace

2016-08-25 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27863] multiple issues in _elementtree module

2016-08-25 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue25878] CPython on Windows builds with /W3, not /W4

2016-08-25 Thread Jim Jewett
Jim Jewett added the comment: Is there a way to document why certain warnings are being suppressed, in case someone wants to revisit the suppression later? -- nosy: +Jim.Jewett ___ Python tracker

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-25 Thread Christian Heimes
Christian Heimes added the comment: Jim, https://docs.python.org/3/library/ssl.html#ssl.SSLContext.set_ciphers >>> ctx = ssl.create_default_context() >>> ctx.set_ciphers('HIGH:+3DES:!MD5') Please note that OpenSSL 1.1 will remove 3DES from default builds. You will have to build your own OpenSS

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2016-08-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed with David. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2016-08-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27852] itertools -> flatten_all()

2016-08-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In proposed implementation str and bytes are not flattened. What about bytearray? array.array? memoryview? For different tasks they can be considered atomic or as collections. There are such much task specific details and the implementation is such simple, t

[issue27425] Tests fail because of git's newline preferences on Windows

2016-08-25 Thread Jim Jewett
Jim Jewett added the comment: I think if the test is ensuring one line-ending type, then there should be another test ensuring the other... but I think it would be best if there were a single test file that had both types of line-endings, just to ensure that the code doesn't cheat by reading o

[issue27414] http.server.BaseHTTPRequestHandler inconsistence with Content-Length value

2016-08-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue27861] sqlite3 type confusion and multiple frees

2016-08-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue27858] Add identity function to functools

2016-08-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue1673203, issue11011. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-l

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-25 Thread Donald Stufft
Donald Stufft added the comment: It's not a recompile but it's not a configuration file either, it's a Python level API you can call when you're creating a connection to specify what ciphers you want to allow for that connection. -- ___ Python track

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-25 Thread Jim Jewett
Jim Jewett added the comment: What does overriding to put it back require? Does it require a re-compile, or can it be done via a config file? Taking it out of the default set sounds reasonable, but requiring a recompile for people who want to retain backwards compatibility strikes me as too mu

[issue27860] Improvements to ipaddress module

2016-08-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +ncoghlan, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue27863] multiple issues in _elementtree module

2016-08-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report tehybel. -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka stage: -> needs patch ___ Python tracker ___ __

[issue27863] multiple issues in _elementtree module

2016-08-25 Thread SilentGhost
Changes by SilentGhost : -- nosy: +eli.bendersky, scoder type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27858] Add identity function to functools

2016-08-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: I believe this has been previously discussed and declined. -- nosy: +rhettinger ___ Python tracker ___ _

[issue27863] multiple issues in _elementtree module

2016-08-25 Thread tehybel
New submission from tehybel: I'll describe 7 issues in the /Modules/_elementtree.c module here. They include multiple use-after-frees, type confusions and instances of out-of-bounds array indexing. Issue 1: use-after-free in element_get_text The problematic code looks like this: LOCA

[issue27859] argparse - subparsers does not retain namespace

2016-08-25 Thread SilentGhost
Changes by SilentGhost : -- stage: -> needs patch versions: -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-b

[issue27862] Make urllib.parse runnable as a script

2016-08-25 Thread SilentGhost
SilentGhost added the comment: Guido doesn't like the idea in general[0]. [0] https://bugs.python.org/issue26488#msg273329 -- nosy: +SilentGhost resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue27860] Improvements to ipaddress module

2016-08-25 Thread SilentGhost
Changes by SilentGhost : -- nosy: +pmoody stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue27862] Make urllib.parse runnable as a script

2016-08-25 Thread EungJun Yi
New submission from EungJun Yi: It would be nice if urllib.prase runnable as a script so I can easily parse urls in command line or shell script. I have attached a patch. -- components: Library (Lib) files: 0001-Make-urllib.parse-runnable-as-a-script.patch keywords: patch messages: 273

[issue27861] sqlite3 type confusion and multiple frees

2016-08-25 Thread tehybel
New submission from tehybel: The first issue is a type confusion which resides in the sqlite3 module, in the file connection.c. The function pysqlite_connection_cursor takes an optional argument, a factory callable: if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist,

[issue27861] sqlite3 type confusion and multiple frees

2016-08-25 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> needs patch type: -> crash versions: +Python 3.6 ___ Python tracker ___ __

[issue25847] CPython not using Visual Studio code analysis!

2016-08-25 Thread Christian Heimes
Christian Heimes added the comment: Coverity Scan has two steps. In the first step the code is compiled with the coverity tool chain. It's a wrapper around the preprocessor and compiler. Next up the result is uploaded and analyzed by a service. So yes, the project needs to be build before it c

[issue27425] Tests fail because of git's newline preferences on Windows

2016-08-25 Thread Emanuel Barry
Changes by Emanuel Barry : Added file: https://bugs.python.org/file44225/fix_newlines_2.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue27425] Tests fail because of git's newline preferences on Windows

2016-08-25 Thread Emanuel Barry
Emanuel Barry added the comment: Whoops, turns out I was using the wrong approach for binary files. Here come add_gitattributes_2.patch and fix_newlines_2.patch (thanks Zachary for pointing this out). -- Added file: https://bugs.python.org/file44224/add_gitattributes_2.patch _

[issue26638] Avoid warnings about missing CLI options when building documentation

2016-08-25 Thread Zachary Ware
Zachary Ware added the comment: The syntax is ` install ""`, so in this case 'pip install "Sphinx==1.3.6"` (or `pip install "Sphinx<1.4"`) should do it for you. That ought to also take care of downgrading any other packages that need it (though I don't think there are any), or at least tell y

[issue27860] Improvements to ipaddress module

2016-08-25 Thread Moritz Sichert
New submission from Moritz Sichert: This patch fixes the following minor issues with the ipaddress module: - Removed unused property _BaseV4._valid_mask_octets - Removed unused methods _BaseV4._is_valid_netmask() and _BaseV4._is_hostmask() - Replaced several calls to superclass constructors by s

[issue27859] argparse - subparsers does not retain namespace

2016-08-25 Thread Nick Papior
New submission from Nick Papior: Using argparse does not retain the Namespace variable across sub-parsers. This prohibits customization of Actions due to "upper" level arguments not being stored in the namespace passed to the sub-parsers. Hence, one may not create different sub-parsers which d

[issue25847] CPython not using Visual Studio code analysis!

2016-08-25 Thread Steve Dower
Steve Dower added the comment: Does it only check built code? I thought it would statically analyze everything? Is MS_WINDOWS code excluded, because that would explain why it "misses" issues. -- ___ Python tracker

[issue27425] Tests fail because of git's newline preferences on Windows

2016-08-25 Thread Emanuel Barry
Emanuel Barry added the comment: Here are three patches for this: - add_gitattributes_1.patch adds `.gitattributes`, with all the newline preferences in `.hgeol` (with the exception of the "native" rule at the end, which in git is the default newline preference). - fix_newlines_1.patch fixes t

[issue27425] Tests fail because of git's newline preferences on Windows

2016-08-25 Thread Emanuel Barry
Changes by Emanuel Barry : Added file: https://bugs.python.org/file44221/test_random_warning_1.patch ___ Python tracker ___ ___ Python-bugs-l

[issue27425] Tests fail because of git's newline preferences on Windows

2016-08-25 Thread Emanuel Barry
Changes by Emanuel Barry : Added file: https://bugs.python.org/file44220/fix_newlines_1.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue23746] sysconfg.is_python_build() is buggy

2016-08-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset bf51f1f3569a by Vinay Sajip in branch '3.5': Issue #23746: Clarified is_python_build() documentation. https://hg.python.org/cpython/rev/bf51f1f3569a New changeset a0a7c5b1af97 by Vinay Sajip in branch 'default': Closes #23746: merged update from 3.5

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2016-08-25 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: -mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-25 Thread Vinay Sajip
Vinay Sajip added the comment: The existing docs have a section "These constants are GNU extensions and not present if they are not defined by the C library." There could be a corresponding section for BSD extensions to which O_EXLOCK and O_SHLOCK are moved, or the word "GNU" can removed from

[issue23746] sysconfg.is_python_build() is buggy

2016-08-25 Thread Vinay Sajip
Vinay Sajip added the comment: It's not *only* used in test - it's also used in third party libraries. For example, it's used in distlib (which is vendored by pip) to determine whether it's being run from a source build. -- nosy: +vinay.sajip ___ Py

[issue27858] Add identity function to functools

2016-08-25 Thread R. David Murray
R. David Murray added the comment: I agree with Steven, I don't think this is really worth it, but I wouldn't vote -1. I suspect it won't get added, though, since a function I do want ('first') got rejected :) -- nosy: +r.david.murray ___ Python tr

[issue27858] Add identity function to functools

2016-08-25 Thread Jáchym Barvínek
Jáchym Barvínek added the comment: Java offers an identity function: https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html 2016-08-25 14:10 GMT+02:00 Steven D'Aprano : > > Steven D'Aprano added the comment: > > Just in case anyone else thinks this is a good idea, here's a p

[issue27855] 2to3: Wrong code output w/ has_key without trailing space

2016-08-25 Thread R. David Murray
Changes by R. David Murray : -- title: 2to3: Wrong code output w/ has_key -> 2to3: Wrong code output w/ has_key without trailing space ___ Python tracker ___ __

[issue27855] 2to3: Wrong code output w/ has_key

2016-08-25 Thread R. David Murray
R. David Murray added the comment: I don't think it is necessary or reasonable to expect 2to3 to handle this. It is a tool for the developer to use, so just clean up the input. -- nosy: +r.david.murray resolution: -> rejected stage: -> resolved status: open -> closed ___

[issue27858] Add identity function to functools

2016-08-25 Thread Steven D'Aprano
Steven D'Aprano added the comment: Just in case anyone else thinks this is a good idea, here's a patch. -- keywords: +patch Added file: https://bugs.python.org/file44218/identity.patch ___ Python tracker _

[issue27858] Add identity function to functools

2016-08-25 Thread Steven D'Aprano
Steven D'Aprano added the comment: I had a work mate make this exact same point literally yesterday. He asked me if Python had an identity function, and when I suggested just using `lambda x: x` he grouched that this wasn't sufficiently obvious enough as "identity" is self-explanatory. (Perha

[issue27858] Add identity function to functools

2016-08-25 Thread Jáchym Barvínek
New submission from Jáchym Barvínek: An identity function is sometimes useful in functional-style programming as a dummy or default value. For example, we can sometimes see a pattern like this (e.g. in itertools.groupby): def f(params, key=None): if key is None: key = lambda x: x ...

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2016-08-25 Thread Jens Jørgen Mortensen
Changes by Jens Jørgen Mortensen : -- versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2016-08-25 Thread Jens Jørgen Mortensen
Jens Jørgen Mortensen added the comment: That would also be a solution. Also, the sentence is not quite grammatically correct: "when space [is] expensive". -- versions: -Python 3.5 ___ Python tracker __

[issue27838] test_os.test_chown() random failure on "AMD64 FreeBSD CURRENT Debug 3.x" buildbot

2016-08-25 Thread STINNER Victor
STINNER Victor added the comment: Hum, the test has a fail ratio somewhere near 1/5. It fails for 6 months, maybe longer. -- ___ Python tracker ___ _

[issue27838] test_os.test_chown() random failure on "AMD64 FreeBSD CURRENT Debug 3.x" buildbot

2016-08-25 Thread koobs
koobs added the comment: This appears to have spontaneously resolved itself after build #957 after many failures. For reference, other builders on the same host were failing as well: AMD64 FreeBSD CURRENT Debug 3.5 (#567, #568) AMD64 FreeBSD CURRENT Non-Debug 3.5 (#8, #9) And possibly others (

[issue27833] Process is locked when try to execute Queue.put() inside

2016-08-25 Thread Xiang Zhang
Xiang Zhang added the comment: Guni, the behaviour is not consistent since your code is not that 'right'. You can not expect a not 'right' snippet to behave correctly. You can do what the programming guide says: [1] consuming all items before join [2] call q.cancel_join_thread [3] ignore prs1.

[issue27833] Process is locked when try to execute Queue.put() inside

2016-08-25 Thread Guni
Guni added the comment: Hi Eric, The reason why I still think is a actually bug is because the behaviour is not consistent. When we write code we don't exactly know how much data we will put in the queue. If this ticket is consider as not an actual bug it means that everybody has to make a c

[issue27768] ssl: add public API for IA-32 processor capabilities vector

2016-08-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: If we wanted to expose such information, we would need to do it in a dedicated module (or in `os`) and provide something that doesn't restrict itself to two particular x86 flags. requests can rely on a private attribute if they really want to. -- ___

[issue27768] ssl: add public API for IA-32 processor capabilities vector

2016-08-25 Thread Christian Heimes
Christian Heimes added the comment: Why? Other libraries like requests like to use the information, too. -- ___ Python tracker ___ __

[issue27768] ssl: add public API for IA-32 processor capabilities vector

2016-08-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: The constants would have to be private, too. We really don't want to encourage other users to rely on them. -- ___ Python tracker ___

[issue26488] hashlib command line interface

2016-08-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25847] CPython not using Visual Studio code analysis!

2016-08-25 Thread Christian Heimes
Christian Heimes added the comment: +1, if somebody is able to find time. Coverity Scan checks only X86_64 Linux builds. -- ___ Python tracker ___ _

[issue27852] itertools -> flatten_all()

2016-08-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger components: +Documentation nosy: +rhettinger priority: normal -> low ___ Python tracker ___ __

[issue27768] ssl: add public API for IA-32 processor capabilities vector

2016-08-25 Thread Christian Heimes
Christian Heimes added the comment: GPS, sure it is simple enough under Linux. But what about other operating systems? OPENSSL_ia32cap_loc() works under Windows, too. Antoine, AES-GCM is still faster and performs better than ChaCha20 Poly1305. NSS and Mozilla's recommended cipher suite list pr

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-08-25 Thread Christian Heimes
Christian Heimes added the comment: Donald, !3DES de-selects all 3DES block ciphers suites. -- ___ Python tracker ___ ___ Python-bugs