[issue25523] Correct "a" article to "an" article

2015-11-01 Thread Martin Panter
Martin Panter added the comment: Thanks everyone for the comments. Serhiy’s points: I did this by using “grep” and then manually editing all of the appropriate lines. So they were not generated by a script, but because it is a fairly mindless process I could have made human mistakes. In

installer user interface glitch ?

2015-11-01 Thread t_ciorba--- via Python-list
hi, i am not sure what is wrong, but after launching the installer for windows XPsp3 python-3.5.0.exe i couldnt see what i have to select, it was a white board and the only button on it was "cancel". here is a screen of it: when i click on random points of this empty board, i get random

Re: LU decomposition

2015-11-01 Thread Chris Angelico
On Sun, Nov 1, 2015 at 9:04 PM, gers antifx wrote: > I have to write a LU-decomposition. My Code worked so far but (I want to > become better:) ) I want to ask you, if I could write this LU-decomposition > in a better way? > > def LU(x): > L =

[issue22450] urllib doesn't put Accept: */* in the headers

2015-11-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: > What do you think, Raymond Before dismissing this, we should get a better understanding of why "Accept: */*" is so widely used in practice. Here's what we know so far: * The header made a difference to the Facebook Graph API. * Curl (a minimalist)

[issue25525] Deallocation scheme for memoryview is unsafe

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Strange bug. I can't attach any file. -- ___ Python tracker ___ ___

Re: installer user interface glitch ?

2015-11-01 Thread Chris Angelico
On Sun, Nov 1, 2015 at 7:23 PM, t_ciorba--- via Python-list wrote: > > i am not sure what is wrong, but after launching the installer for windows > XPsp3 python-3.5.0.exe i couldnt see what i have to select, it was a white > board and the only button on it was "cancel".

Re: installer user interface glitch ?

2015-11-01 Thread Laura Creighton
In a message of Sun, 01 Nov 2015 10:23:15 +0200, t_ciorba--- via Python-list wr ites: >hi, >i am not sure what is wrong, but after launching the installer for windows >XPsp3 python-3.5.0.exe i couldnt see what i have to select, it was a white >board and the only button on it was "cancel". here

Python 2 vs Python 3 for teaching

2015-11-01 Thread Chris Angelico
I'm proud to say that a Python tutoring company has just converted its course over from teaching Python 2.7 to teaching 3.x. For the naysayers out there, it actually wasn't much of a transition; putting parentheses around all print calls, plus changing the way virtual environments get created,

Puzzled

2015-11-01 Thread Robinson, Wendy
Hi there, I installed Python 3.5.0 64-bit for Windows yesterday and tried some basic programs successfully. This morning I rebooted my computer and can't get a single one to work. The interpreter seems to be fine and the environment variables look correct. But every py file I try to run at

[issue25528] Attempt to further increase test coverage of calendar module

2015-11-01 Thread Rohit Mediratta
New submission from Rohit Mediratta: Opened to submit a patch. - make patchcheck succeeded - full testsuite succeeded - Old coverage Lib/calendar.py 375 5486% 511, 519, 541, 608-699, 703 - New coverage Lib/calendar.py 375 5186% 608-699, 703 --

Re: Puzzled

2015-11-01 Thread Laura Creighton
In a message of Fri, 30 Oct 2015 09:20:23 -0700, "Robinson, Wendy" writes: >Hi there, >I installed Python 3.5.0 64-bit for Windows yesterday and tried some basic >programs successfully. >This morning I rebooted my computer and can't get a single one to work. The >interpreter seems to be fine

Re: Puzzled

2015-11-01 Thread Sibylle Koczian
Am 30.10.2015 um 17:20 schrieb Robinson, Wendy: Hi there, I installed Python 3.5.0 64-bit for Windows yesterday and tried some basic programs successfully. This morning I rebooted my computer and can’t get a single one to work. The interpreter seems to be fine and the environment variables

Re: Puzzled

2015-11-01 Thread Peter Otten
Robinson, Wendy wrote: > Hi there, > I installed Python 3.5.0 64-bit for Windows yesterday and tried some basic > programs successfully. > This morning I rebooted my computer and can't get a single one to work. > The interpreter seems to be fine and the environment variables look > correct. But

[issue25522] IDLE: warn if save-as name matches stdlib name

2015-11-01 Thread Laura Creighton
Laura Creighton added the comment: Do we need a full path name here as well? Probably not. -- ___ Python tracker ___

[issue25514] better startup error messages in IDLE when stdlib modules shadowed

2015-11-01 Thread Laura Creighton
Laura Creighton added the comment: can I send a file -- type: behavior -> enhancement versions: -Python 3.4 Added file: http://bugs.python.org/file40915/dia2.py ___ Python tracker

[issue25523] Correct "a" article to "an" article

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I had pointed to some of changes not because they look wrong to me, but for the case if there are human mistakes. After your acknowledgement all LGTM. -- stage: patch review -> commit review ___ Python tracker

[issue22450] urllib doesn't put Accept: */* in the headers

2015-11-01 Thread Martin Panter
Martin Panter added the comment: According to all the HTTP 1.1 RFCs, having */* at the end means you accept any other content type if none of the higher priority ones are available (otherwise you risk a 406 Not Acceptable error). So that explains why Firefox has */* tacked on. Requests

Re: problems using python in PowerShell

2015-11-01 Thread navid Rahimi
What error message do you get exactly ? without error message how people gonna know what is going on? best wishes, -navid On Fri, Oct 30, 2015 at 6:39 PM, Chris Angelico wrote: > On Sat, Oct 31, 2015 at 1:53 AM, josephine ewers via Python-list >

Re: installer user interface glitch ?

2015-11-01 Thread Laura Creighton
In a message of Sun, 01 Nov 2015 11:24:55 +0100, Laura Creighton writes: >In a message of Sun, 01 Nov 2015 10:23:15 +0200, t_ciorba--- via Python-list wr >ites: >>hi, >>i am not sure what is wrong, but after launching the installer for windows >>XPsp3 python-3.5.0.exe i couldnt see what i have to

[issue25228] Regression in cookie parsing with brackets and quotes

2015-11-01 Thread Martin Panter
Martin Panter added the comment: Adding Guido and Antoine, who committed the security fix as 9e765e65e5cb in 2.7 and 5cfe74a9bfa4 in 3.2. Perhaps you are able to help decide if the proposal here would affect the original security report. Basically this issue (as well as #22758 and #22983) are

[issue25522] IDLE: warn if save-as name matches stdlib name

2015-11-01 Thread Laura Creighton
Laura Creighton added the comment: I'm not sure about "Neither you nor Python will be able to import the stdlib." Depending on what the file is, you may be able to import it later. I'd prefer: "If you run Python in this directory, your version of will be used instead of the one in the

[issue14373] C implementation of functools.lru_cache

2015-11-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

LU decomposition

2015-11-01 Thread gers antifx
Hey, I have to write a LU-decomposition. My Code worked so far but (I want to become better:) ) I want to ask you, if I could write this LU-decomposition in a better way? def LU(x): L = np.eye((x.shape[0])) n = x.shape[0] for ii in range(n-1): for ll in range(1+ii,n):

Re: LU decomposition

2015-11-01 Thread Peter Otten
gers antifx wrote: > I have to write a LU-decomposition. My Code worked so far but (I want to > become better:) ) I want to ask you, if I could write this > LU-decomposition in a better way? > > def LU(x): > L = np.eye((x.shape[0])) > n = x.shape[0] > for ii in range(n-1): >

[issue25527] Invalid (... and confusing) warning raised by 2to3 regarding repeat

2015-11-01 Thread Antony Lee
New submission from Antony Lee: $ echo 'from numpy import repeat\nrepeat(2, 3)' | 2to3 - RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma

Re: installer user interface glitch ?

2015-11-01 Thread Chris Warrick
On 1 November 2015 at 09:23, t_ciorba--- via Python-list wrote: > > hi, > i am not sure what is wrong, but after launching the installer for windows > XPsp3 python-3.5.0.exe i couldnt see what i have to select, it was a white > board and the only button on it was

[issue25228] Regression in cookie parsing with brackets and quotes

2015-11-01 Thread Pathangi Jatinshravan
Pathangi Jatinshravan added the comment: Just saw the code review comments now, didn't know that there was a separate section for code review comments until now. Will take a look and implement them. -- ___ Python tracker

[issue25510] fileinput.FileInput.readline() always returns str object at the end even if in 'rb' mode

2015-11-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset e27c589e1c6a by Serhiy Storchaka in branch '3.4': Issue #25510: fileinput.FileInput.readline() now returns b'' instead of '' https://hg.python.org/cpython/rev/e27c589e1c6a New changeset 321b34824020 by Serhiy Storchaka in branch '3.5': Issue

[issue25228] Regression in cookie parsing with brackets and quotes

2015-11-01 Thread Pathangi Jatinshravan
Pathangi Jatinshravan added the comment: New patch with code review comments incorporated. -- Added file: http://bugs.python.org/file40919/patch_review.diff ___ Python tracker

Re: installer user interface glitch ?

2015-11-01 Thread rurpy--- via Python-list
On Sunday, November 1, 2015 at 8:52:55 AM UTC-7, Chris Angelico wrote: > On Mon, Nov 2, 2015 at 2:43 AM, rurpy--- via Python-list > wrote: > > Why, oh why, do the python.org front page and other pages that offer > > a Windows download not say a word about it not running

Re: installer user interface glitch ?

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 3:24 AM, rurpy--- via Python-list wrote: > I dont recall seeing anyone posting asking why they could not get > Python to install on Windows 95 recently. I only read this group > intermittently but I have seen *many* posts asking why they couldnt >

Re: installer user interface glitch ?

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 3:39 AM, Michael Torrie wrote: > On 11/01/2015 03:08 AM, Chris Angelico wrote: >> Windows XP has now been around for twelve years. > > It's older than that. Release date was August 1, 2001. More than 14 > years ago. My how the time flies. > > Though

[issue25525] Deallocation scheme for memoryview is unsafe

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry for my bad wording. I wasn't going to blame or insult anybody. -- ___ Python tracker ___

[issue25446] smtplib.py AUTH LOGIN code messed up sending login and password data since 3.5

2015-11-01 Thread Larry Hastings
Larry Hastings added the comment: I think it's about time to think about releasing 3.5.1. But since this bug is marked as a "release blocker", 3.5.1 cannot be released until this is fixed. Arguably I can't even really make a schedule for 3.5.1 until it's fixed, or at least I'm reasonably

Re: Multithreading python,two tkinter windows

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 1:05 AM, Vindhyachal Takniki wrote: > #get reading at every 1 second > def get_analog_1(thread_name): > global read_ok_1, current_time_1,analog_1 > while True: > if((time.time() - current_time_1) > 1): > if(0 ==

Re: UNABLE TO GET IDLE TO RUN

2015-11-01 Thread Steven D'Aprano
On Sun, 1 Nov 2015 12:45 pm, Michiel Overtoom wrote: > >> On 31 Oct 2015, at 06:59, Terry Reedy wrote: >> This is a different issue than IDLE avoiding clashes. I opened >> https://bugs.python.org/issue25522 > > Terry, thanks for recording this into the issue tracker. > >

[issue25510] fileinput.FileInput.readline() always returns str object at the end even if in 'rb' mode

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Ryosuke for your contribution. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 1:49 AM, Laura Creighton wrote: >>I'd rather not use 2to3 there. If you want to maintain a library that >>can be used from 2.x and 3.x, it's much better to aim for the >>compatible middle - u prefixes on all Unicode strings, b prefixes on >>all byte

Re: installer user interface glitch ?

2015-11-01 Thread Grant Edwards
On 2015-11-01, Laura Creighton wrote: > The whole message of 'get a newer os' is decidedly hard for them. > "It works fine, like my 2004 Ford car" they want to tell you. Except it _doesn't_ work fine, or they wouldn't be complaining. If you want to run Python 3.5, then XP just

Re: Multithreading python,two tkinter windows

2015-11-01 Thread Laura Creighton
In a message of Sun, 01 Nov 2015 06:05:58 -0800, Vindhyachal Takniki writes: >I have made a python code & using multithreading in it. this is very basic >code, not using queues & other stuff. This is your problem. The code that uses queues is more basic. For tkinter you cannot use threads like

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Laura Creighton
In a message of Mon, 02 Nov 2015 01:27:24 +1100, Chris Angelico writes: >On Mon, Nov 2, 2015 at 1:11 AM, wrote: >> On Nov 1, 2015 2:45 AM, "Chris Angelico" wrote: >>> >>> I'm proud to say that a Python tutoring company has just converted its >>>

[issue18973] Use argparse in the calendar module

2015-11-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9f8b5053e30d by Serhiy Storchaka in branch 'default': Issue #18973: Command-line interface of the calendar module now uses argparse https://hg.python.org/cpython/rev/9f8b5053e30d -- nosy: +python-dev ___

[issue25521] optparse module does not emit DeprecationWarning

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And it looks there was a special decision to not deprecate optparse. -- ___ Python tracker ___

[issue25228] Regression in cookie parsing with brackets and quotes

2015-11-01 Thread Guido van Rossum
Guido van Rossum added the comment: I'm coming at this without much context (I don't recall the original issue) but IIUC from a security POV, lenient parsing is unsafe -- it could allow an attacker to modify a cookie (or part of a cookie -- I'm unclear on the correct terminology here) and that's

Re: UNABLE TO GET IDLE TO RUN

2015-11-01 Thread Tim Golden
On 01/11/2015 14:27, Steven D'Aprano wrote: I remember from a few weeks back, a teacher with the same problem posted this on the mailinglist. Eventually she had a technician coming in to reinstall Windows, just to fix this problem ;-) What an overkill... If that is true, that's really sad.

[issue18973] Use argparse in the calendar module

2015-11-01 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Serhiy, welcome. -- ___ Python tracker ___ ___ Python-bugs-list mailing

Re: installer user interface glitch ?

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 2:43 AM, rurpy--- via Python-list wrote: > Why, oh why, do the python.org front page and other pages that offer > a Windows download not say a word about it not running on Windows XP? > > Even if one is anal enough to go to the page about the 3.5

[issue25083] Python can sometimes create incorrect .pyc files

2015-11-01 Thread Brett Cannon
Brett Cannon added the comment: Nope, I think you probably have everyone who might be interested in looking at fixing this on the issue, tzickel. Just a matter of someone taking the interest and initiative to fix this in Python 2.7. -- ___ Python

Multithreading python,two tkinter windows

2015-11-01 Thread Vindhyachal Takniki
I have made a python code & using multithreading in it. this is very basic code, not using queues & other stuff. 1. Task is to create two independent Tkinter windows 2. Code has four files: main.py:creates individual thread analog.py: generate random values every 1 sec & 10 sec screen.py:

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread paul.hermeneutic
On Nov 1, 2015 2:45 AM, "Chris Angelico" wrote: > > I'm proud to say that a Python tutoring company has just converted its > course over from teaching Python 2.7 to teaching 3.x. For the > naysayers out there, it actually wasn't much of a transition; This would make an

Re: UNABLE TO GET IDLE TO RUN

2015-11-01 Thread Steven D'Aprano
On Sun, 1 Nov 2015 01:50 pm, Terry Reedy wrote: > On 10/31/2015 9:45 PM, Michiel Overtoom wrote: >> I'd go even a step further. I think IDLE should not only warn, but > > The warning will require a choice, with the default (if one just hits > ) being to reject the duplicate and go back to the

[issue18973] Use argparse in the calendar module

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you SilentGhost and Stéphane for your review. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25525] Deallocation scheme for memoryview is unsafe

2015-11-01 Thread Stefan Krah
Stefan Krah added the comment: First of all, the premise "exports > 0" in your example looks wrong to me. The deallocation process for the first view should start precisely when it no longer has any exports. In fact, the check for "exports > 0" is for the case when memoryview.release() is

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-11-01 Thread Cyd Haselton
Cyd Haselton added the comment: Key note: it looks like the config option --with-hash-algorithm does nothing; python is still built with the siphash hash algorithim even though I specified fnv and, in pyconfig.h: /* Define hash algorithm for str, bytes and memoryview. SipHash24: 1, FNV: 2,

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 1:11 AM, wrote: > On Nov 1, 2015 2:45 AM, "Chris Angelico" wrote: >> >> I'm proud to say that a Python tutoring company has just converted its >> course over from teaching Python 2.7 to teaching 3.x. For the >> naysayers out

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-11-01 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Are there no binaries? Pretty sure it isn't your device. I'd think a compiler issue. What are you using, and what version? You have insane determination! :D On November 1, 2015 8:34:21 AM CST, Cyd Haselton wrote: > >Cyd Haselton added

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-11-01 Thread Cyd Haselton
Cyd Haselton added the comment: Pretty sure there are binaries, but the python binary can't build its own modules. I'm using GCC 4.9.2 on Android L...which means it is a PIE and that Python is being built as a PIE -- ___ Python tracker

Re: installer user interface glitch ?

2015-11-01 Thread rurpy--- via Python-list
On 11/01/2015 03:06 AM, Chris Warrick wrote: > On 1 November 2015 at 09:23, t_ciorba--- via Python-list > wrote: >> >> hi, i am not sure what is wrong, but after launching the installer >> for windows XPsp3 python-3.5.0.exe i couldnt see what i have to >> select, it was

[issue25521] optparse module does not emit DeprecationWarning

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is a difference between optparse and other deprecated module. Other modules are deprecated if they are too buggy or bad-designed to be fixed and there are stable standard or third-party modules that provides similar functionality. But looking on a

Re: UNABLE TO GET IDLE TO RUN

2015-11-01 Thread Laura Creighton
I managed to delete the real mail I would like to reply to. This is, at least in the same thread In a message of Mon, 02 Nov 2015 01:27:23 +1100, "Steven D'Aprano" writes a reply to Michael Overtoon: > Users are inclined to ignore alerts, dialogs and error messages, and > applications try

Re: installer user interface glitch ?

2015-11-01 Thread Michael Torrie
On 11/01/2015 03:08 AM, Chris Angelico wrote: > Windows XP has now been around for twelve years. It's older than that. Release date was August 1, 2001. More than 14 years ago. My how the time flies. Though more recent versions of Windows have added features (which Python now takes advantage

[issue25464] Tix HList header_exists should be "exist"

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It looks as a bug in Tix. All other Tcl, Tk and Tix commands (except "assemblecode") use "exists", and "header exists" is documented. Perhaps we should workaround this bug. But I doubt about renaming header_exists to header_exist. As for tests, I'm working

Re: installer user interface glitch ?

2015-11-01 Thread Laura Creighton
The important thing is that, numbers-wise, windowsXP was the version of computer a whole lot of people got when they got their first computer. The notion of, not it "wearing out" but that the whole world "wore out" or "advanced beyond" them is foreign to them. They aren't computer-hobbyists --

Re: installer user interface glitch ?

2015-11-01 Thread Laura Creighton
In a message of Sun, 01 Nov 2015 17:56:33 +, Grant Edwards writes: >On 2015-11-01, Laura Creighton wrote: > >> The whole message of 'get a newer os' is decidedly hard for them. >> "It works fine, like my 2004 Ford car" they want to tell you. > >Except it _doesn't_ work fine,

[issue25083] Python can sometimes create incorrect .pyc files

2015-11-01 Thread tzickel
tzickel added the comment: TL:DR Python 2 forgot to do I/O error checking when reading .py files from disk. On some rare situations this can bite Python in the ass and cause it to bork .pyc files. Checked python 3, it checks the I/O in a different / better way. Next python 2.7 is out in 1.5

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-11-01 Thread Cyd Haselton
Cyd Haselton added the comment: GDB debugging isn't going to happen any time soon; all of the gdb tests fail. I re-compiled with the --with-pydebug option, thinking that would help, but it won't build; I get the following error when the newly built python starts to build packages: Debug

[issue25530] ssl: OP_NO_SSLv3 should always be set unless a user specifically asks for it

2015-11-01 Thread Alex Gaynor
New submission from Alex Gaynor: SSLv3 is broken, both _create_unverified_context and create_default_context turn it off, but we should make all contexts turn it off, like we do for SSLv2. A patch is attached. -- components: Library (Lib) files: sslv3.diff keywords: needs review,

[issue25531] greenlet header file is missing inside virtualenv

2015-11-01 Thread Alexey Borzenkov
Alexey Borzenkov added the comment: Just wanted to clarify that greenlet.h is not missing in virtualenv, but headers seem to be installed in venv/include/site/python3.5, when only venv/include is considered for includes when building extensions. It is not specific to OSX and it is trivial to

[issue25531] greenlet header file is missing inside virtualenv

2015-11-01 Thread R. David Murray
R. David Murray added the comment: Greenlet isn't part of python, so what bug in CPython are you reporting? It sounds like you should be reporting this to the greenlet folks. -- nosy: +r.david.murray ___ Python tracker

[issue25083] Python can sometimes create incorrect .pyc files

2015-11-01 Thread Meador Inge
Meador Inge added the comment: I started poking at the patch a little and have a few comments. My understanding of the issue comments is that the read error actually happens when reading in the *source* file and *not* the bytecode file. This happens because 'ferror' is not checked after

[issue25521] optparse module does not emit DeprecationWarning

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, I have not more information. My supposition is based on indirect evidence in msg225052. I suppose there was more recent discussion in 2014. -- ___ Python tracker

[issue25243] decouple string-to-boolean logic from ConfigParser.getboolean and offer as separate function

2015-11-01 Thread Joshua Bronson
Joshua Bronson added the comment: My friend @novalis_dt and I worked up a patch for this including tests (attached). First time working with the CPython codebase but hope it's a reasonable start. Here's a preview: ~> ./python.exe

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2015-11-01 Thread Chris Withers
New submission from Chris Withers: The following results in an infinite loop: >>> from inspect import unwrap >>> from unittest.mock import call >>> unwrap(call) This can occur when you use doctest.DocTestSuite to load doc tests from a module where unittest.mock.call has been imported.

Re: UNABLE TO GET IDLE TO RUN

2015-11-01 Thread Steven D'Aprano
On Mon, 2 Nov 2015 11:07 am, Terry Reedy wrote: > On 11/1/2015 11:17 AM, Laura Creighton wrote: > >> In a message of Mon, 02 Nov 2015 01:27:23 +1100, "Steven D'Aprano" writes >> a reply to Michael Overtoon: > > He was actually responding to my proposal to warn about duplicating > stdlib names

Re: UNABLE TO GET IDLE TO RUN

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 12:19 PM, Steven D'Aprano wrote: > - Python as a whole should move "" from the start of sys.path to the end (or > at least the middle, after the stdlib) so as to avoid accidental shadowing. > > - Even if Python doesn't do this, IDLE could do it, and

Re: installer user interface glitch ?

2015-11-01 Thread Terry Reedy
On 11/1/2015 10:54 AM, Michiel Overtoom wrote: On 01 Nov 2015, at 16:43, rurpy--- via Python-list wrote: Why, oh why, do the python.org front page and other pages that offer a Windows download not say a word about it not running on Windows XP? I'm also curious why

[issue25521] optparse module does not emit DeprecationWarning

2015-11-01 Thread R. David Murray
R. David Murray added the comment: I can't remember the timing...was that PEP accepted before we made DeprecationWarnings off by default? It sounds like it probably was, based on the phrasing. -- ___ Python tracker

testfixtures 4.4.0 Released!

2015-11-01 Thread Chris Withers
Hi All, I'm pleased to announce the release of testfixtures 4.4.0. This is a feature release that adds the following: - Add support for labelling the arguments passed to compare(). - Allow expected and actual keyword parameters to be passed to compare(). - Fix "TypeError: unorderable

Re: UNABLE TO GET IDLE TO RUN

2015-11-01 Thread Paul Rubin
Terry Reedy writes: > * 'Save-as' is not part of the regular workflow. It is done once per > file. Experienced users who know to avoid stdlib names will not see > the messages unless they accidentally duplicate one -- which is > possible because there are now so many. I

Re: installer user interface glitch ?

2015-11-01 Thread Steven D'Aprano
On Mon, 2 Nov 2015 03:43 am, Chris Angelico wrote: > Remember, people can click a direct download link > *on the python.org front page* and be immediately downloading Python 2 > or 3 for the OS that the browser announces. Where would you put the > big fat noisy warning? Maybe the website

[issue25464] Tix HList header_exists should be "exist"

2015-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: If tkinter and IDLE are some places installed without tix, then it it not usable. What about the suggestion for a revised patch? -- ___ Python tracker

[issue18010] pydoc search chokes on import errors

2015-11-01 Thread Martin Panter
Martin Panter added the comment: Here is a test case. I had to insert a temporary directory into sys.path, based off my patch in Issue 25184. Let me know if it doesn’t look too evil :) -- nosy: +martin.panter stage: test needed -> patch review Added file:

[issue25523] Correct "a" article to "an" article

2015-11-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset d8ff13414deb by Martin Panter in branch '3.4': Issue #25523: Correct "a" article to "an" article https://hg.python.org/cpython/rev/d8ff13414deb New changeset e279ab6753fd by Martin Panter in branch '3.5': Issue #25523: Merge "a" to "an" fixes from

Re: UNABLE TO GET IDLE TO RUN

2015-11-01 Thread Steven D'Aprano
On Mon, 2 Nov 2015 03:17 am, Laura Creighton wrote: > I managed to delete the real mail I would like to reply to. > This is, at least in the same thread > > In a message of Mon, 02 Nov 2015 01:27:23 +1100, "Steven D'Aprano" writes > a reply to Michael Overtoon: Actually it's a reply to

Re: installer user interface glitch ?

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 12:32 PM, Steven D'Aprano wrote: > On Mon, 2 Nov 2015 03:43 am, Chris Angelico wrote: > >> Remember, people can click a direct download link >> *on the python.org front page* and be immediately downloading Python 2 >> or 3 for the OS that the browser

Re: installer user interface glitch ?

2015-11-01 Thread Terry Reedy
On 11/1/2015 5:28 PM, boB Stepp wrote: On Sun, Nov 1, 2015 at 3:48 PM, Laura Creighton wrote: Actually, adding the XP - do not look here -- message for several webpages has been on the pydotorg todo list for more than a week now. Not sure why it hasn't happened. Thank you

[issue25521] optparse module does not emit DeprecationWarning

2015-11-01 Thread R. David Murray
R. David Murray added the comment: Oh, and as far as bugs because it is powerful...optparse has had time to have its bugs fixed, so having bugs in the newer features of argparse is not surprising, really. We just need to get the fixes committed. --

[issue25523] Correct "a" article to "an" article

2015-11-01 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue25529] Provide access to the validated certificate chain in ssl module

2015-11-01 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou ___ Python tracker ___

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Paul Rubin
Chris Angelico writes: > We teach 3.4 (because that's what's available on the Ubuntu VMs that > we're recommending; anything 3.2+ will probably work just the same), > and that's it. The async keyword seems like one of Py3's bigger improvements and it makes its appearance in

[issue25041] document AF_PACKET socket address format

2015-11-01 Thread Camilla Montonen
Camilla Montonen added the comment: Thank you very much for the feedback, Martin and Berker! I'll start working on the revised patch. -- ___ Python tracker

[issue25446] smtplib.py AUTH LOGIN code messed up sending login and password data since 3.5

2015-11-01 Thread R. David Murray
R. David Murray added the comment: I will work on it this week, should have something committed before the end of next weekend. -- ___ Python tracker

PyPy subprocess

2015-11-01 Thread LJ
Hi All. I hope you're having a good weekend. Im working on a large scale optimization problem which invokes the Gurobi solver from python. Before invoking the solver I use pure python to solve five subproblems in parallel using the multiprocessing module. These subproblems are the bottleneck

PyPy subprocess

2015-11-01 Thread LJ
By the way, Im using python 2.7. Thanks -- https://mail.python.org/mailman/listinfo/python-list

[issue25388] tokenizer crash/misbehavior -- heap use-after-free

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Stack trace: #0 ascii_decode (start=0xa72f2008 "", end=0xf891 , dest=) at Objects/unicodeobject.c:4795 #1 0x08100c0f in PyUnicode_DecodeUTF8Stateful (s=s@entry=0xa72f2008 "", size=size@entry=1490081929, errors=errors@entry=0x81f4303 "replace",

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 6:47 AM, Paul Rubin wrote: > Chris Angelico writes: >> We teach 3.4 (because that's what's available on the Ubuntu VMs that >> we're recommending; anything 3.2+ will probably work just the same), >> and that's it. > > The async

Re: installer user interface glitch ?

2015-11-01 Thread boB Stepp
On Sun, Nov 1, 2015 at 3:48 PM, Laura Creighton wrote: > Actually, adding the XP - do not look here -- > message for several webpages has been on the pydotorg > todo list for more than a week now. > > Not sure why it hasn't happened. > > Thank you for the reminder. I have to

[issue25395] SIGSEGV using json.tool: highly nested OrderedDict

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Martin for your review and for initial investigation. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25395] SIGSEGV using json.tool: highly nested OrderedDict

2015-11-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset ce8c850a52d4 by Serhiy Storchaka in branch '3.5': Issue #25395: Fixed crash when highly nested OrderedDict structures were https://hg.python.org/cpython/rev/ce8c850a52d4 New changeset bd6bfa5fe203 by Serhiy Storchaka in branch 'default': Issue

[issue25510] fileinput.FileInput.readline() always returns str object at the end even if in 'rb' mode

2015-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. I don't think we should care about breaking backward compatibility here. Most code tests end-of-files with "not line" or "len(line) == 0", and this work with fixed fileinput as well as with broken. That is why we have received this bug report now,

  1   2   >