[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2015-07-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24712 ___ ___

[issue24708] strop.replace Integer Overflow

2015-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch looks truncated at 120th column. -- assignee: - serhiy.storchaka components: +Extension Modules nosy: +serhiy.storchaka stage: - patch review type: security - crash ___ Python tracker

[issue24705] sysconfig._parse_makefile doesn't expand ${} vars appearing before $() vars

2015-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please provide an example where unpatched code fails but patched code work? -- nosy: +serhiy.storchaka, tarek stage: - test needed type: - behavior ___ Python tracker rep...@bugs.python.org

Re: Integers with leading zeroes

2015-07-24 Thread alister
On Wed, 22 Jul 2015 20:11:47 -0600, Michael Torrie wrote: On 07/22/2015 07:51 AM, Grant Edwards wrote: On 2015-07-22, Ben Finney ben+pyt...@benfinney.id.au wrote: Laura Creighton l...@openend.se writes: The biggest use I have for decimal numbers that begin with 0 is in credit card numbers,

Re: Find Minimum for element in multiple dimensional array

2015-07-24 Thread Robert Davis
On Wednesday, July 22, 2015 at 5:54:30 PM UTC-5, Robert Davis wrote: Given a set of arrays within an array how do I find the arrays with the minimum values based on two elements/columns in the array? Those two elements/columns are the destination zip code and distance. I have an array of

[issue24705] sysconfig._parse_makefile doesn't expand ${} vars appearing before $() vars

2015-07-24 Thread Matthias Klose
Matthias Klose added the comment: On 07/24/2015 03:14 PM, Serhiy Storchaka wrote: Serhiy Storchaka added the comment: Could you please provide an example where unpatched code fails but patched code work? yes, see the substitution for the LIBPL macro, which leaves ${prefix} unexpanded.

[issue24705] sysconfig._parse_makefile doesn't expand ${} vars appearing before $() vars

2015-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, I don't understand your example. Could you please provide reproducible Python code? Or better a patch for Lib/test/test_sysconfig.py? -- ___ Python tracker rep...@bugs.python.org

[issue24539] StreamReaderProtocol.eof_received() should return True to keep the transport open

2015-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset fc1d40a706e7 by Victor Stinner in branch '3.4': asyncio: sync with github https://hg.python.org/cpython/rev/fc1d40a706e7 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue24539] StreamReaderProtocol.eof_received() should return True to keep the transport open

2015-07-24 Thread STINNER Victor
STINNER Victor added the comment: but it still needs a unittest and merging into CPython 3.4 and up. I did this part. By the way, running unit tests now logs two warnings on SSL tests, because returning True has no effect on SSL. We may just remove the warning at runtime and ensure that

[issue14373] C implementation of functools.lru_cache

2015-07-24 Thread Ned Deily
Ned Deily added the comment: Sorry about the delay in testing the patch. I just confirmed (1) that I am still able to produce a segfault on OS X as described above under the specific conditions with a 10.6-like installer built with the current 3.5 tip and (2) that, with clru_cache_new.patch

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-24 Thread Russell Keith-Magee
Russell Keith-Magee added the comment: Are you using the libffi sources vendored into the Python source tree, or a more recent version? I can verify that libffi v3.2 works on ARMv7 (on iOS, anyway), and there's been plenty of changes to the ARM source tree since the Python version was

Re: what windows compiler for python 3.5?

2015-07-24 Thread Mark Lawrence
On 24/07/2015 13:24, Brian Gladman wrote: On 24/07/2015 12:04, Chris Angelico wrote: On Fri, Jul 24, 2015 at 8:53 PM, Robin Becker ro...@reportlab.com wrote: yes I build extensions for reportlab. Unfortunately, despite our MSDN subscription to the Visual Studio stuff we have no access to the

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2015-07-24 Thread Carol Willing
Carol Willing added the comment: Biwan John, thanks for the issue report. I can confirm that there is jitter due to scroll speed lag in Chrome for Python 2.7 docs. This behavior does not happen with Python 3.x docs. No issues with Firefox. I am using Mac OS X 10.10 with up-to-date Chrome and

[issue12978] Figure out extended attributes on BSDs

2015-07-24 Thread Ned Deily
Ned Deily added the comment: There certainly is interest in supporting extended attributes on additional platforms. Thanks for the patch, William, and the positive comments, Billy. Since this probably falls into the category of new feature, it should be targeted for 3.6, now that 3.5 is in

[issue24646] Python accepts SSL certificate that should be rejected on OSX

2015-07-24 Thread Ned Deily
Ned Deily added the comment: Ronald, FWIW, your test program seems to work without crashing on both 10.6 and 10.8; not surprisingly, it failed to compile on 10.5 (no 'errSecSuccess'). -- ___ Python tracker rep...@bugs.python.org

[issue24383] consider implementing __await__ on concurrent.futures.Future

2015-07-24 Thread Alex Grönholm
Alex Grönholm added the comment: Yes, Yury's approach is wrong here -- Futures should not know about asyncio, but asyncio should be able to handle Futures natively. This seems like the obvious solution to me. Any counterarguments? -- nosy: +alex.gronholm

[issue24705] sysconfig._parse_makefile doesn't expand ${} vars appearing before $() vars

2015-07-24 Thread Matthias Klose
New submission from Matthias Klose: LIPL has the value ${prefix}/lib/python3.5/config-$(VERSION)$(ABIFLAGS)-x86_64-linux-gnu and the code relies to substitute parameters from the left to the right, but it prefers $() variables. the attached patch substitutes all variables from the left to

[issue24383] consider implementing __await__ on concurrent.futures.Future

2015-07-24 Thread Yury Selivanov
Yury Selivanov added the comment: Any counterarguments? There are no counterarguments. There is no obvious way to support concurrent.futures transparently, though: await conc_fut requires conc_fut to implement __await__. So we either have to implement __await__ for concurrent futures

Re: what windows compiler for python 3.5?

2015-07-24 Thread Brian Gladman
On 24/07/2015 12:04, Chris Angelico wrote: On Fri, Jul 24, 2015 at 8:53 PM, Robin Becker ro...@reportlab.com wrote: yes I build extensions for reportlab. Unfortunately, despite our MSDN subscription to the Visual Studio stuff we have no access to the Visual Studio Version 2015. Last one in my

<    1   2