[issue24825] visual margin indicator for breakpoints in IDLE

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe one of Saimadhav's original patches used a symbol. I suggested color highlighting instead, and it seems to work better. In any case, debating such details is part of an issue. -- resolution: - duplicate stage: - resolved status: open -

[issue4214] no extension debug info with msvc9compiler.py

2015-08-07 Thread John Ehresman
John Ehresman added the comment: I just ran into this again when I installed 2.7.10 -- evidently I had patched my local installation and forgot about it. This is very important to anyone who tries to use the Visual Studio C debugger to debug extension modules. -- nosy: +jpe

[issue9262] IDLE: Use tabbed shell and edit windows

2015-08-07 Thread Mark Roseman
Changes by Mark Roseman m...@markroseman.com: -- nosy: +markroseman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9262 ___ ___ Python-bugs-list

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-08-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset adb510322c8f by Eric Snow in branch '3.5': Issue #24667: Resize odict in all cases that the underlying dict resizes. https://hg.python.org/cpython/rev/adb510322c8f New changeset 47287c998bb0 by Eric Snow in branch 'default': Merge from 3.5 (issue

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-08-07 Thread Eric Snow
Eric Snow added the comment: I've pushed the fix for RC1. Thanks again Fabian for bringing it to our attention. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue24812] All standard keystrokes not recognized in IDLE dialogs on Mac

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Then either simpledialog should changed, or Idle should subclass or rewrite it to work as it should. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24812

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: And if the older version is still present, as 2.7 will be for years, copy back to .idlerc. To me, having two copies of the directory, one in the 'wrong' place, is worse than one copy in the wrong place. -- ___

[issue24774] inconsistency in http.server.test

2015-08-07 Thread Martin Panter
Martin Panter added the comment: Yeah you are probably right. This way keeps things simple. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24774 ___

[issue4214] no extension debug info with msvc9compiler.py

2015-08-07 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4214 ___ ___

[issue17776] IDLE Internationalization

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just noticed https://pypi.python.org/pypi/idle-lif/1.0 Python IDLE Language Pack. Have not looked at it. If someone decides to work on this, I have ideas on how i18n could be done with minimal impact on the code, partly based on

[issue24827] round(1.65, 1) return 1.6 with decimal

2015-08-07 Thread umedoblock
New submission from umedoblock: round(1.65, 1) return 1.6 with decimal. I feel bug adobe result. not bug ? import decimal d1 = decimal.Decimal(1.65) d2 = decimal.Decimal(10 ** -2) * 5 d1 Decimal('1.65') d2 Decimal('0.05000104083408559') d1 + d2

[issue24827] round(1.65, 1) return 1.6 with decimal

2015-08-07 Thread Zachary Ware
Zachary Ware added the comment: The rounding mode of the default context is ROUND_HALF_EVEN[1]: import decimal decimal.getcontext() Context(prec=28, rounding=ROUND_HALF_EVEN, Emin=-99, Emax=99, capitals=1, clamp=0, flags=[], traps=[InvalidOperation, DivisionByZero, Overflow]) For

[issue4214] no extension debug info with msvc9compiler.py

2015-08-07 Thread Steve Dower
Changes by Steve Dower steve.do...@microsoft.com: -- assignee: tarek - steve.dower resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4214

[issue4214] no extension debug info with msvc9compiler.py

2015-08-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 418095f0d711 by Steve Dower in branch '2.7': Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py https://hg.python.org/cpython/rev/418095f0d711 New changeset 7c322c296a3b by Steve Dower in branch '3.4': Issue #4214: Remove

[issue24827] round(1.65, 1) return 1.6 with decima modulel

2015-08-07 Thread umedoblock
umedoblock added the comment: I don't agree with not a bug. s1, v1, ndigits1 = 1.65, 1.65, 1 s2, v2, ndigits2 = 2.675, 2.675, 2 decimal.Decimal(v1) Decimal('1.649911182158029987476766109466552734375') round(v1, ndigits1) 1.6 round(decimal.Decimal(s1), ndigits1) Decimal('1.6')

[issue24814] Idle: Disable menu items when not applicable

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I want to make this the cover issue for the general topic. We should make an overall list here. A patch can cover whatever subset of items that someone wants to tackle. Specific issues should only be opened when there is a specific patch, or if there are

[issue24820] IDLE themes for light on dark

2015-08-07 Thread Mark Roseman
Mark Roseman added the comment: I read #7949 as saying the text widget picks up the background color from the system-wide GTk theme. This one is saying that the background color of the text widget should be changeable as part of an IDLE highlighting theme. --

[issue15944] memoryview: allow all casts to bytes

2015-08-07 Thread Stefan Krah
Changes by Stefan Krah ste...@bytereef.org: -- title: memoryviews and ctypes - memoryview: allow all casts to bytes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15944 ___

[issue15944] memoryviews and ctypes

2015-08-07 Thread Stefan Krah
Stefan Krah added the comment: Ok, shall we sneak this past Larry for 3.5? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15944 ___ ___

[issue15944] memoryviews and ctypes

2015-08-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why not :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15944 ___ ___ Python-bugs-list mailing list

[issue19771] runpy should check ImportError.name before wrapping it

2015-08-07 Thread Laura Creighton
Laura Creighton added the comment: I tried to run some tests from the python3.4 test suite and got: python3 -m test -ugui test_tk test_ttk_guionly test_idle /usr/bin/python3: Error while finding spec for 'test.__main__' (class 'ImportError': bad magic number in 'test': b'\x03\xf3\r\n'); 'test'

[issue15944] memoryviews and ctypes

2015-08-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 07/08/2015 14:57, Stefan Krah a écrit : If people are content with writing m[124:128] = b'abcd' and accept that tolist() etc. won't represent the original structure of the object, then let's do it. As long as the casting has to be explicit, this sounds

Re: Linux users: please run gui tests

2015-08-07 Thread Laura Creighton
In a message of Fri, 07 Aug 2015 15:06:41 +0200, Peter Otten writes: $ touch test.py $ python -c import\ test $ rm test.py $ python3 -m test -ugui test_tk /usr/bin/python3: bad magic number in 'test': b'\x03\xf3\r\n' From that I'd conclude that your python3 sees a leftover python2 pyc instead of

Re: Python Scheduling

2015-08-07 Thread Emile van Sebille
On 8/6/2015 11:06 AM, sairam kumar wrote: Hi Experts, I am Automating some repetitive works through Sikuli and Python scripting languages.I have multiple workflows.i need to schedule this script for every two hours.can anyone guide me how to schedule the scripts for every two hours. is

[issue23672] IDLE can crash if file name contains non-BMP Unicode characters

2015-08-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Interesting, this doesn't work with non-UTF-8 locale. $ touch astral피.py $ LC_ALL=en_US.iso88591 ./python -m idlelib.idle -e astral피.py Traceback (most recent call last): File /home/serhiy/py/cpython/Lib/runpy.py, line 170, in _run_module_as_main

Re: Linux users: please run gui tests

2015-08-07 Thread Laura Creighton
In a message of Fri, 07 Aug 2015 21:13:02 +0200, Peter Otten writes: test_set() was introduced in a bugfix http://bugs.python.org/issue15133 https://hg.python.org/cpython/rev/117f45749359/ that I don't have on my machine (up-to-date Linux Mint 17). When I download

Re: Python speed

2015-08-07 Thread Christian Gollwitzer
Am 07.08.2015 um 19:17 schrieb Laura Creighton: you really only are doing crunching, and your crunching is done in loops which run for a significant amount of time -- then PyPy is generally faster than Fortran. PyPy faster than Fortran in a tight number-crunching loop? Sorry I find this very

[issue24798] _msvccompiler.py doesn't properly support manifests

2015-08-07 Thread Steve Dower
Steve Dower added the comment: Made a couple more changes (including a fix for vcruntime140.dll embedding) after testing numpy's build, but that worked fine with the final fixes. -- resolution: - fixed stage: - resolved status: open - closed ___

[issue24801] right-mouse click in IDLE on Mac doesn't work

2015-08-07 Thread Mark Roseman
Mark Roseman added the comment: Have attached macpopup.patch which removes the incorrect Tk behaviour and makes it so that right click on Mac will bring up the context menu as appropriate. -- keywords: +patch Added file: http://bugs.python.org/file40148/macpopup.patch

Re: Python speed

2015-08-07 Thread Laura Creighton
In a message of Fri, 07 Aug 2015 23:26:46 +0200, Christian Gollwitzer writes: Am 07.08.2015 um 19:17 schrieb Laura Creighton: you really only are doing crunching, and your crunching is done in loops which run for a significant amount of time -- then PyPy is generally faster than Fortran. PyPy

[issue24787] csv.Sniffer guesses M instead of \t or , as the delimiter

2015-08-07 Thread Tiago Wright
Tiago Wright added the comment: Attached is a .py file with 32 test cases for the Sniff class, 18 that fail, 14 that pass. My hope is that these samples can be used to improve the delimiter detection code. -Tiago -- Added file: http://bugs.python.org/file40149/testround8.py

[issue23937] IDLE: revise window size, placement startup options

2015-08-07 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- title: IDLE start maximized - IDLE: revise window size, placement startup options ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23937 ___

[issue24750] IDLE: Cosmetic improvements for main window

2015-08-07 Thread Mark Roseman
Mark Roseman added the comment: I'm attaching mainwin3.patch, which is a subset of the previous patches, modified to not use ttk. It gets rid of the highlightthickness, the sunken line/column effect, and adds a thin separator below the text widget. -- Added file:

[issue24812] All standard keystrokes not recognized in IDLE dialogs on Mac

2015-08-07 Thread Mark Roseman
Mark Roseman added the comment: note that many of these are using 'simpledialog' which has that limitation -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24812 ___

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-08-07 Thread jan parowka
jan parowka added the comment: fiddling with the entry bar the right way and adding exactly 'AppDate\' to the existing path You can type in '%APPDATA%' in the path bar, run dialog, or even start menu, and it will take you to the current user's Application Data folder. It works from XP

[issue24798] _msvccompiler.py doesn't properly support manifests

2015-08-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8e966eba2b5e by Steve Dower in branch '3.5': Issue #24798: _msvccompiler.py doesn't properly support manifests https://hg.python.org/cpython/rev/8e966eba2b5e New changeset f61a083b843f by Steve Dower in branch 'default': Issue #24798:

Re: Which Python implementation am I using?

2015-08-07 Thread Laura Creighton
In a message of Sat, 08 Aug 2015 03:27:04 +1000, Steven D'Aprano writes: def jython(): t = platform.java_ver() return (t and t[0]) or ('java' in sys.platform.lower()) Around here if we cannot find platform.python_implemention() we just look for sys.platform.startswith('java')

[issue24821] The optimization of string search can cause pessimization

2015-08-07 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Search in strings is highly optimized for common case. However for some input data the search in non-ascii string becomes unexpectedly slow. Compare: $ ./python -m timeit -s 's = АБВГД*10**4' -- 'є in s' 10 loops, best of 3: 11.7 usec per loop $

[issue24822] IDLE: Accelerator key doesn't work for Options

2015-08-07 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Accelerator key (Alt+O) for the Options menu works in IDLE Shell window, but doesn't work in IDLE Editor windows due to conflict with the accelerator key for the Format menu. -- components: IDLE messages: 248180 nosy: kbk, roger.serwy,

Re: Linux users: please run gui tests

2015-08-07 Thread Mark Lawrence
On 07/08/2015 04:46, Grant Edwards wrote: On 2015-08-07, Grant Edwards invalid@invalid.invalid wrote: On 2015-08-07, Terry Reedy tjre...@udel.edu wrote: Python has an extensive test suite run after each 'batch' of commits on a variety of buildbots. However, the Linux buildbots all (AFAIK) run

Re: Getting and/or setting network interface parameters on OS X

2015-08-07 Thread Chris Angelico
On Fri, Aug 7, 2015 at 5:10 PM, Shekhar Chandra shekharchandra...@gmail.com wrote: Looking for a Python 2.7 module through which I can fetch the below details for all available network interfaces on a OS X device : Gateways DNS server DHCP server WINS server IP address DNS suffix I

Re: Linux users: please run gui tests

2015-08-07 Thread Cecil Westerhof
On Friday 7 Aug 2015 09:53 CEST, Cecil Westerhof wrote: On Friday 7 Aug 2015 04:07 CEST, Terry Reedy wrote: Python has an extensive test suite run after each 'batch' of commits on a variety of buildbots. However, the Linux buildbots all (AFAIK) run headless', with gui's disabled. Hence the

Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-07 Thread Friedrich Rentsch
On 08/06/2015 03:21 AM, Rustom Mody wrote: On Thursday, August 6, 2015 at 6:36:56 AM UTC+5:30, Terry Reedy wrote: There have been discussions, such as today on Idle-sig , about who uses Idle and who we should design it for. If you use Idle in any way, or know of or teach classes using Idle,

Re: Uninstall

2015-08-07 Thread Bill
Thank you. I downloaded it from Python.org. I didn't know that Python came with the Mac OS. I have a better understanding of all this now and no longer feel that I need to uninstall it has I can chose either version. Thank you again. On Aug 6, 2015, at 12:50 PM, Laura Creighton

ANNOUNCING: Availability of a pre-alpha release of a Python CLI API and associated character-mode emulation of the pixel-mode wxPython GUI API

2015-08-07 Thread Richard S. Gordon
Members of the Python developer community might find some useful information, programming techniques, building block modules, packages and tools in the toolkit I’ve released via github: https://github.com/ https://github.com/rigordo959/tsWxGTUI_PyVx_Repository The repository includes Python 2x

Re: Linux users: please run gui tests

2015-08-07 Thread Peter Otten
Cecil Westerhof wrote: python3 --version python3 -m test -ugui test_tk test_ttk_guionly test_idle This gives: Python 3.4.1 [1/3] test_tk [2/3] test_ttk_guionly [3/3] test_idle All 3 tests OK. This was on openSUSE 13.2. I also tried to run it on Debian, but there I get: No moduke

Getting and/or setting network interface parameters on OS X

2015-08-07 Thread Shekhar Chandra
Looking for a Python 2.7 module through which I can fetch the below details for all available network interfaces on a OS X device : Gateways DNS server DHCP server WINS server IP address DNS suffix I also want to set them for a specific interface. --

Re: Linux users: please run gui tests

2015-08-07 Thread Cecil Westerhof
On Friday 7 Aug 2015 04:07 CEST, Terry Reedy wrote: Python has an extensive test suite run after each 'batch' of commits on a variety of buildbots. However, the Linux buildbots all (AFAIK) run headless', with gui's disabled. Hence the following test_tk test_ttk_guionly test_idle (and on 3.5,

Re: Linux users: please run gui tests

2015-08-07 Thread Peter Otten
Terry Reedy wrote: Python has an extensive test suite run after each 'batch' of commits on a variety of buildbots. However, the Linux buildbots all (AFAIK) run 'headless', with gui's disabled. Hence the following test_tk test_ttk_guionly test_idle (and on 3.5, test_tix, but not important)

[issue15443] datetime module has no support for nanoseconds

2015-08-07 Thread Tomi Kyöstilä
Changes by Tomi Kyöstilä tomi.kyost...@gmail.com: -- nosy: +tomikyos ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15443 ___ ___ Python-bugs-list

[issue23812] asyncio.Queue.put_nowait(), followed get() task cancellation leads to item being lost

2015-08-07 Thread Guido van Rossum
Guido van Rossum added the comment: So this looks like it will miss 3.5.0rc1. How confident are we that the new patch won't introduce new bugs? This late in the release process that would be awkward. On Fri, Aug 7, 2015 at 12:47 AM, Gustavo J. A. M. Carneiro rep...@bugs.python.org wrote:

Python Scheduling

2015-08-07 Thread sairam kumar
Hi Experts, I am Automating some repetitive works through Sikuli and Python scripting languages.I have multiple workflows.i need to schedule this script for every two hours.can anyone guide me how to schedule the scripts for every two hours. is there any way to schedule the python

Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-07 Thread Timothy Johnson
On 8/5/2015 9:06 PM, Terry Reedy wrote: There have been discussions, such as today on Idle-sig , about who uses Idle and who we should design it for. If you use Idle in any way, or know of or teach classes using Idle, please answer as many of the questions below as you are willing, and as are

[issue15944] memoryviews and ctypes

2015-08-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: The proposal sounds reasonable to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15944 ___ ___

[issue24824] Pydoc fails with codecs

2015-08-07 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Pydoc fails with the codecs module in 3.5+. All works in 3.4. $ ./python -m pydoc codecs Traceback (most recent call last): File /home/serhiy/py/cpython-3.5/Lib/runpy.py, line 170, in _run_module_as_main __main__, mod_spec) File

[issue24764] cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition

2015-08-07 Thread Pierre Quentel
Pierre Quentel added the comment: I don't really see why there is a Content-Length in the headers of a multipart form data. The specification at http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2 doesn't mention it, and it is absent in the example that looks like the one tested by

[issue678264] test_resource fails when file size is limited

2015-08-07 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678264 ___ ___

[issue9917] resource max value represented as signed when should be unsigned

2015-08-07 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9917 ___ ___

[issue24823] ctypes.create_string_buffer does not add NUL if len(init) == size

2015-08-07 Thread Tom Pohl
New submission from Tom Pohl: From the ctypes.create_string_buffer docs: If a bytes object is specified as first argument, the buffer is made one item larger than its length so that the last element in the array is a NUL termination character. An integer can be passed as second argument which

Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-07 Thread tjohnson
On 8/6/2015 7:31 PM, Terry Reedy wrote: On 8/6/2015 11:35 AM, Timothy Johnson wrote: problems because it works well for that. Most of the time I use PyDev and Notepad++ to edit Python code, but if more features were added to Idle I would consider using it more. What 1 or 2 features would you

Re: Linux users: please run gui tests

2015-08-07 Thread Chris Angelico
On Fri, Aug 7, 2015 at 7:15 PM, Peter Otten __pete...@web.de wrote: By default Debian doesn't install the test suite -- that's why you cannot run it ;) Install it with $ sudo apt-get install libpython3.4-testsuite and then try again. Which makes it work fine on my system. ChrisA --

Re: Python Scheduling

2015-08-07 Thread Suneel Mohan SG
Sairam, What's your OS? Windows 7 does have a Task Scheduler. Go to Control Panel - Administrative Tools - Task Scheduler. Hope this helps. Br, Suneel. On Friday, August 7, 2015 at 2:27:03 PM UTC+5:30, sairam kumar wrote: Hi Experts,     I am Automating some repetitive works through

Re: Linux users: please run gui tests

2015-08-07 Thread Cecil Westerhof
On Friday 7 Aug 2015 11:15 CEST, Peter Otten wrote: Cecil Westerhof wrote: python3 --version python3 -m test -ugui test_tk test_ttk_guionly test_idle This gives: Python 3.4.1 [1/3] test_tk [2/3] test_ttk_guionly [3/3] test_idle All 3 tests OK. This was on openSUSE 13.2. I also

Python speed

2015-08-07 Thread rogerh906
Can anyone compare PyNum calculation speed to Fortran? This is for a number crunching program working with large files. Roger -- https://mail.python.org/mailman/listinfo/python-list

[issue23004] mock_open() should allow reading binary data

2015-08-07 Thread Berker Peksag
Berker Peksag added the comment: data_as_list = read_data.splitlines(True) is not actually the equivalent of data_as_list = [l + sep for l in read_data.split(sep)] It will change the behavior of the _iterate_read_data helper. See the comment at

Re: Python Scheduling

2015-08-07 Thread Emile van Sebille
On 8/7/2015 7:17 AM, Laura Creighton wrote: In a message of Fri, 07 Aug 2015 06:48:32 -0700, Emile van Sebille writes: On 8/6/2015 11:06 AM, sairam kumar wrote: Hi Experts, I am Automating some repetitive works through Sikuli and Python scripting languages.I have multiple workflows.i

[issue24824] Pydoc fails with codecs

2015-08-07 Thread Yury Selivanov
Yury Selivanov added the comment: This is related to Arguments Clinic and Larry's implementation of signature parsing for built-in functions. This particular bug is caused by 'codecs.encode' 'codecs.decode' functions with the AC signatures defined as follows: _codecs.encode obj:

[issue24825] visual margin indicator for breakpoints in IDLE

2015-08-07 Thread Mark Roseman
New submission from Mark Roseman: Right now breakpoints can only be set/cleared by using a context menu on a line in the editor. I discovered this entirely by reading through the bug database, as right-click doesn't work on OS X (#24801). Some other tools use an indicator (e.g. stop sign) in

[issue24764] cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition

2015-08-07 Thread Peter Landry
Peter Landry added the comment: Yeah, I think that makes the most sense to me as well. I tried to make a minimum-impact patch, but this feels cleaner. If we remove the Content-Length header, the `limit` kwarg might occur at an odd place in the part itself, but that feels unavoidable if

[issue23004] mock_open() should allow reading binary data

2015-08-07 Thread R. David Murray
R. David Murray added the comment: splitlines(keepends=True) is not ever equivalent to splitting by just '\n'. I don't know the details here, but switching to that would certainly be a behavior change. (Especially if the code path also applies to non-binary data!):

[issue23812] asyncio.Queue.put_nowait(), followed get() task cancellation leads to item being lost

2015-08-07 Thread Yury Selivanov
Yury Selivanov added the comment: Yep, GH works. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23812 ___ ___ Python-bugs-list mailing

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

2015-08-07 Thread Yury Selivanov
Yury Selivanov added the comment: Alex, sure, go ahead. Although I think python-ideas would be a better choice. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24383 ___

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2015-08-07 Thread Chris Brennan
Chris Brennan added the comment: This bug appears (for me) when I use longer install paths, both in the GUI installer and doing a silent install via msiexec. The paths I've used so far are these: E:\langs\Python\x32\27 E:\langs\Python\x32\34 E:\langs\Python\x64\27 E:\langs\Python\x64\34

[issue24826] ability to integrate editor, shell, debugger in one window

2015-08-07 Thread Mark Roseman
New submission from Mark Roseman: This builds on things like the tabbed editor suggestion, but essentially I'm talking about a scenario where you'd have your one (editor) window open working on your program, you click 'run...' or 'debug...' from the menu, and a shell and debugger area open up

Re: Linux users: please run gui tests

2015-08-07 Thread Peter Otten
Laura Creighton wrote: In a message of Fri, 07 Aug 2015 15:06:41 +0200, Peter Otten writes: $ touch test.py $ python -c import\ test $ rm test.py $ python3 -m test -ugui test_tk /usr/bin/python3: bad magic number in 'test': b'\x03\xf3\r\n' From that I'd conclude that your python3 sees a

[issue24272] PEP 484 docs

2015-08-07 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Here is a new patch for the first part of classes at the end of docs. I also did some minor changes (in particular added more info on generics and removed the section about ellipsis for default arguments, we could return it if we decide to write something

Python Developer- Houston, TX

2015-08-07 Thread malladisivaramakrishna88
Hi, Hope you are doing well !!! My name is Siva and I'm a recruiter at TheAppliedthought , a global staffing and IT consulting company. Please find the below job description which may suits any of your consultants who are available in market or who are looking for change, please send me

[issue24764] cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition

2015-08-07 Thread Peter Landry
Peter Landry added the comment: A new patch that simply removes Content-Length from part headers when present. -- Added file: http://bugs.python.org/file40145/cgi_multipart.patch ___ Python tracker rep...@bugs.python.org

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

2015-08-07 Thread Alex Grönholm
Alex Grönholm added the comment: Where do we stand with this then? Should I start a thread on python-dev to get the ball rolling? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24383 ___

[issue23812] asyncio.Queue.put_nowait(), followed get() task cancellation leads to item being lost

2015-08-07 Thread Yury Selivanov
Yury Selivanov added the comment: Guido, I agree, let's not push the updated implementation in 3.5.0. Gustavo, could you please generate the patch with hg diff, so that code review here works? And I think we need a new issue to track the new patch. -- nosy: +larry priority: deferred

[issue23812] asyncio.Queue.put_nowait(), followed get() task cancellation leads to item being lost

2015-08-07 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- nosy: -larry priority: release blocker - deferred blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23812 ___

[issue23812] asyncio.Queue.put_nowait(), followed get() task cancellation leads to item being lost

2015-08-07 Thread Gustavo J. A. M. Carneiro
Gustavo J. A. M. Carneiro added the comment: I am not using hg anymore, since asyncio migrated to git. Here's a github PR, does that help? https://github.com/python/asyncio/pull/260 -- ___ Python tracker rep...@bugs.python.org

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two negative factors. 1. Users may edit the user config files 'by hand'. They occasionally must edit them to fix problems. Burying them in a *hidden* directory (invisible in Explorer) will make editing much harder, *especially for beginners*. Even as a

[issue24810] UX mode for IDLE targeted to 'new learners'

2015-08-07 Thread Mark Roseman
Mark Roseman added the comment: While the thing about asking for a favourite colour before switching to advanced mode was a joke, I do sincerely believe that extensive progressive disclosure techniques should be used to keep much of IDLE's features and options hidden out of the box. If the

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

2015-08-07 Thread Alex Grönholm
Alex Grönholm added the comment: I've already made my case on python-ideas, so let's talk it over there. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24383 ___

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

2015-08-07 Thread Guido van Rossum
Guido van Rossum added the comment: You could also withdraw. The more I think about it the more I dislike it. I just don't think we should do *anything* that encourages confusion between threads and tasks. They are fundamentally different concepts and should remain so. --

Re: How to use regex (re)

2015-08-07 Thread Peter Pearson
On Thu, 6 Aug 2015 13:06:36 -0700 (PDT), PK Khatri pise...@gmail.com wrote: I have a following script which extracts xyz.tgz and outputs to a folder which contains several sub-folders and files. source_dir = c:\\TEST dest_dir = c:\\TEST for src_name in

[issue24801] right-mouse click in IDLE on Mac doesn't work

2015-08-07 Thread Mark Roseman
Mark Roseman added the comment: If you have your mouse set up to have two buttons, right-clicking in the editor window doesn't bring up the context menu it's supposed to. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24801

Re: Linux users: please run gui tests

2015-08-07 Thread Peter Otten
Laura Creighton wrote: In a message of Fri, 07 Aug 2015 17:34:54 +0200, Peter Otten writes: Run $ python3 -m test -ugui -v test_tk (That way the unittest framework will see the -v option) Aha, I didn't understand that. Thank you. Note that there are lines like # possible namespace for

Re: except block isn't catching exception

2015-08-07 Thread sohcahtoa82
On Thursday, August 6, 2015 at 5:46:19 PM UTC-7, Chris Angelico wrote: On Fri, Aug 7, 2015 at 10:34 AM, sohcahto...@gmail.com wrote: Despite my except KeyboardInterrupt, the KeyboardInterrupt forced by the thread.interrupt_main() in the worker thread isn't being caught. Other things

Urgent requirement for Python Developer

2015-08-07 Thread appthought1
Hi, Hope you are doing well !!! My name is Siva and I'm a recruiter at TheAppliedthought , a global staffing and IT consulting company. Please find the below job description which may suits any of your consultants who are available in market or who are looking for change, please send me

Re: Which Python implementation am I using?

2015-08-07 Thread Ned Batchelder
On Friday, August 7, 2015 at 1:27:17 PM UTC-4, Steven D'Aprano wrote: Is this the best way to detect Jython and IronPython when python_implementation isn't available? How about PyPy, Stackless, or others? I've been told that the canonical test for PyPy is: '__pypy__' in

Re: Python speed

2015-08-07 Thread beliavsky--- via Python-list
On Friday, August 7, 2015 at 10:08:37 AM UTC-4, roge...@gmail.com wrote: Can anyone compare PyNum calculation speed to Fortran? This is for a number crunching program working with large files. Roger Did you mean NumPy? It depends on the program. Here are two posts that compared speeds.

Re: Linux users: please run gui tests

2015-08-07 Thread Laura Creighton
In a message of Fri, 07 Aug 2015 17:34:54 +0200, Peter Otten writes: Run $ python3 -m test -ugui -v test_tk (That way the unittest framework will see the -v option) Aha, I didn't understand that. Thank you. Note that there are lines like # possible namespace for /home/lac/src/accounting/test

Re: Python speed

2015-08-07 Thread Laura Creighton
In a message of Fri, 07 Aug 2015 09:57:26 -0700, beliavsky--- via Python-list w rites: On Friday, August 7, 2015 at 10:08:37 AM UTC-4, roge...@gmail.com wrote: Can anyone compare PyNum calculation speed to Fortran? This is for a number crunching program working with large files. Roger And

Which Python implementation am I using?

2015-08-07 Thread Steven D'Aprano
I have a need to determine which Python implementation is running. Starting from Python 2.6, we have platform.python_implemention() which (at least in principle) will do the right thing. However, for my sins, I also need to support 2.4 and 2.5. I have come up with this function to determine the

[issue24813] Idle Help dialogs shouldn't be modal

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am broadening this to include re-evaluation of everything under Help. There are other issues for search on config. -- title: About IDLE dialog shouldn't be modal - Idle Help dialogs shouldn't be modal ___ Python

[issue24823] ctypes.create_string_buffer does not add NUL if len(init) == size

2015-08-07 Thread eryksun
eryksun added the comment: Not every buffer is null-terminated. That's just the assumption used if the size isn't specified. The documentation can possibly be reworded to make this clearer, but the function itself shouldn't be changed. -- assignee: - docs@python components:

[issue24801] right-mouse click in IDLE on Mac doesn't work

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: From your description, I an not sure what it is that does not work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24801 ___

Re: Python Scheduling

2015-08-07 Thread Laura Creighton
In a message of Fri, 07 Aug 2015 06:48:32 -0700, Emile van Sebille writes: On 8/6/2015 11:06 AM, sairam kumar wrote: Hi Experts, I am Automating some repetitive works through Sikuli and Python scripting languages.I have multiple workflows.i need to schedule this script for every two

  1   2   >