[issue26156] Bad name into power operator syntax

2016-05-05 Thread Zachary Ware

Zachary Ware added the comment:

+1 for await_expr

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-05 Thread Yury Selivanov

Yury Selivanov added the comment:

Let's call it "await_expr"

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

May be "w_expr"? ("a_expr" is already used for addition level).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-05 Thread Zachary Ware

Zachary Ware added the comment:

I agree that what is currently in the docs is technically correct.  The section 
on the power operator:

   power ::=  await ["**" u_expr]

should be read as:

   power ::=  (["await"] primary) ["**" u_expr]

just as the definition of 'u_expr' below should be read as:

   u_expr ::=  (await ["**" u_expr]) | "-" u_expr | "+" u_expr | "~" u_expr

and 'await' should be read as:

   await ::= ["await"] (atom | attributeref | subscription | slicing | call)

Each definition builds upon previous ones.

However, it is confusing.  Could a name other than "await" be used, since 
"await" is easily confused with the keyword await?

--
nosy: +zach.ware

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

But to avoid confusion I propose following patch. This may be more correct, 
since it is strange to name the expression without "await" "await expression".

--
Added file: http://bugs.python.org/file42741/issue26156_await_power.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-05 Thread Yury Selivanov

Yury Selivanov added the comment:

Fwiw, I'm -1 on changing this. I think that the current names are correct.

--
nosy: +Yury.Selivanov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The docs looks correct to me. It reflects the fact that the "await" keyword has 
higher priority than the power operator. "await a ** b" is identical to "(await 
a) ** b", not "await (a ** b)".

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26967] argparse: allow_abbrev=False stops -vv from working

2016-05-05 Thread Xiang Zhang

Xiang Zhang added the comment:

After some research I suggest to document this behaviour that 
allow_abbrev=False will suspend option prefix matching. Simply fixing the count 
action behaviour is not enough since it also prevents you from creating custom 
actions that want to use option prefix matching. What's your advice berker?

--
nosy: +bethard

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26967] argparse: allow_abbrev=False stops -vv from working

2016-05-05 Thread Xiang Zhang

Xiang Zhang added the comment:

This is a side effect introduced by 99302634d756. You have to set allow_abbrev 
to True to make such match succeed. I think this is a bug.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-05 Thread paul czyzewski

paul czyzewski added the comment:

Thanks, Terry and Ned.

Ned, I checked (nice clear instructions, btw) and I had Tk 8.5.10.  So I 
followed the link and installed 8.5.18.  -- The freeze on mac still occurs but 
I understand that this will avoid some other bugs.

BTW, I don't know how testing works for IDLE and Python, but that's what I do 
for a living, so maybe I'll try to get involved.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26967] argparse: allow_abbrev=False stops -vv from working

2016-05-05 Thread Xiang Zhang

Changes by Xiang Zhang :


--
nosy: +xiang.zhang

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-05 Thread Ned Deily

Ned Deily added the comment:

Paul, also check to make sure you have installed the latest ActiveTcl Tcl/Tk 
8.5.x (not 8.6.x) as described here:  
https://www.python.org/download/mac/tcltk/.  One way to tell exactly which 
minor release of Tcl/Tk (the "x" in "8.5.x") is in use is to click on the 
"About IDLE" menu item in the "IDLE" menu or, depending on how you launched 
IDLE, "About Python" in the "Python" menu.  It should be 8.5.18 or higher and 
not 8.5.9 (the Apple-supplied version).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25770] expose name, args, and kwargs from methodcaller

2016-05-05 Thread Guido van Rossum

Guido van Rossum added the comment:

To me, the best rhythm has always been (*args, **kwds).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-05 Thread Terry J. Reedy

Terry J. Reedy added the comment:

As far as I know, freezing is limited to Macs.  In msg220751, Ned said 
"Further, then pressing "Return", "a", and "Tab" to try a new code completion 
results in the code completion window momentarily appearing then disappearing." 
The disappearance , and hence the later reappearance Ned describes, does not 
happen for me on Windows.

In my view, AutoComplete.py and AutoCompleteWindow.py need to be combined, 
refactored, re-written, and tested on all systems with a much more complete 
test suite.

--
versions: +Python 3.6 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-05 Thread R. David Murray

Changes by R. David Murray :


--
resolution: not a bug -> 
stage: resolved -> commit review
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-05 Thread Robert Jordens

Robert Jordens added the comment:

That should have read "... should _not_ be closed."

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-05 Thread Robert Jordens

Robert Jordens added the comment:

The original bug report is (apart from spelling) correct. This is a bug and it 
should be closed.

Please reopen.

This patch reverts the erroneous change in:

changeset:   96185:548d5704fcb3
user:Yury Selivanov 
date:Thu May 21 11:50:30 2015 -0400
summary: Issue 24180: Documentation for PEP 492 changes.

--
keywords: +patch
nosy: +Robert.Jordens
Added file: http://bugs.python.org/file42740/issue26156_power.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26968] glob.glob incorrect results under windows when pathname exists but interpreter does not have access permissions to pathname

2016-05-05 Thread Eryk Sun

Eryk Sun added the comment:

The access control list of a file may not grant or may deny the current user 
the right to read file attributes (i.e. lstat). Generally you don't have to 
worry about granted access to parent directories when attempting to stat the 
file or directory, since even standard users have SeChangeNotifyPrivilege to 
bypass path traversal access checks. In this case, ISTM that we at least know 
the file exists if lstat raises PermissionError instead of FileNotFoundError. 
Currently os.path.lexists returns False for any OSError, without distinguishing 
between these two cases.

You may also come across a similar issue when a file's delete disposition is 
set, since Windows doesn't allow opening a deleted file, even to read its 
attributes, and it doesn't actually unlink the file or directory until all 
references are closed. 

For example, create a directory, opened with delete sharing:

>>> h = _winapi.CreateFile('testglob', 0x4000, 7, 0, 1,
...0x200|0x100|0x80|0x10, 0)
>>> os.path.isdir('testglob')
True

Before removing the directory, it can be globbed directly:

>>> glob.glob('testglob')
['testglob']

After removing the directory, it can only be globbed indirectly by listing its 
parent directory:

>>> os.rmdir('testglob')
>>> os.lstat('testglob')
Traceback (most recent call last):
  File "", line 1, in 
PermissionError: [WinError 5] Access is denied: 'testglob'

>>> glob.glob('testglob')
[]
>>> glob.glob('testglob*')
['testglob']

Once the handle is closed, the directory is unlinked:

>>> _winapi.CloseHandle(h)
>>> os.lstat('testglob')
Traceback (most recent call last):
  File "", line 1, in 
FileNotFoundError: [WinError 2] The system cannot find the file specified: 
'testglob'
>>> glob.glob('testglob*')
[]

--
nosy: +eryksun

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26939] android: test_functools hangs on armv7

2016-05-05 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Can you post the backtraces of all threads (at least the innermost frames)?
Also, can you reproduce on an actual armv7 machine? Just wondering if there may 
be something peculiar in the emulator.

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-05 Thread paul czyzewski

paul czyzewski added the comment:

I'm new to IDLE.  I just upgraded to Mac El Capitan from Snow Leopard, and 
installed Python 3.5.1 (v3.5.1:37a07cee5969, Dec  5 2015, 21:12:44).

I have had the IDLE window freeze so many times (when clicking on something in 
the autocomplete window as described by Ned Deily) that I consider IDLE 
unusable.  I'm not familiar with Python bug practices but I would consider this 
a serious bug because, as a product manager would probably put it, this is 
going to drive away a significant percentage of new users (i.e., unexplained 
freezing of the product when doing something which seems natural -- clicking on 
the item that I want to select).

BTW, looks like I'm on tcl 8.5:
>>> tkinter.TclVersion
8.5

Unrelated question:  which can't Mac Spotlight find tkinter.py?  is it in some 
compressed file or something, so I can't find a standalone py file?

--
nosy: +paulsfo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26906] format(object.__reduce__) fails intermittently

2016-05-05 Thread Antti Haapala

Antti Haapala added the comment:

And to the other things failing, I was trying to find out which of the magic 
method ops fail, and for that tried to find out the `dir` of list iterator. 
Well...

% python3.5 -S  
Python 3.5.0+ (default, Oct 11 2015, 09:05:38) 
[GCC 5.2.1 20151010] on linux
>>> dir(iter([]))
Traceback (most recent call last):
  File "", line 1, in 
TypeError: object does not provide __dir__

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26968] glob.glob incorrect results under windows when pathname exists but interpreter does not have access permissions to pathname

2016-05-05 Thread Krzysztof Warzecha

Krzysztof Warzecha added the comment:

>>> os.lstat('c:\\PerfLogs')
Traceback (most recent call last):
  File "", line 1, in 
PermissionError: [WinError 5] Odmowa dostępu: 'c:\\PerfLogs'

(thats "Permission denied")

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26968] glob.glob incorrect results under windows when pathname exists but interpreter does not have access permissions to pathname

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

What returns os.lstat('c:\\PerfLogs')?

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26968] glob.glob incorrect results under windows when pathname exists but interpreter does not have access permissions to pathname

2016-05-05 Thread Krzysztof Warzecha

New submission from Krzysztof Warzecha:

Hello,

I'm running python 3.5.1 under windows and I've noticed glob.glob is returning 
incorrect results when I'm using full path name to directory to which I don't 
have access permissions.

Please consider this:

>> glob.glob('c:\\PerfLog*')
['c:\\PerfLogs']
>> glob.glob('c:\\PerfLogs')
[]
>> glob.glob('c:\\PerfLogs*')
['c:\\PerfLogs']

I tried to replicate this under Linux with "chmod 000", but so far I'm unable 
to. One more example from Windows: "c:\\System Volume Information". This is 
also the case for user-created directories where python interpreter does not 
have access rights to directory - I have one like that on my client's machine.

--
components: Library (Lib), Windows
messages: 264917
nosy: kwarzecha7, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: glob.glob incorrect results under windows when pathname exists but 
interpreter does not have access permissions to pathname
type: behavior
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

With the patch class properties work:

>>> class A:
... @classmethod
... @property
... def __doc__(cls):
... return 'A doc for %r' % cls.__name__
... 
>>> A.__doc__
"A doc for 'A'"

This is worth to be explicitly documented.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25177] OverflowError in statistics.mean when summing large floats

2016-05-05 Thread Berker Peksag

Changes by Berker Peksag :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26967] argparse: allow_abbrev=False stops -vv from working

2016-05-05 Thread Berker Peksag

Changes by Berker Peksag :


--
keywords: +3.5regression
nosy: +berker.peksag
stage:  -> needs patch
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26966] Spam

2016-05-05 Thread Berker Peksag

Changes by Berker Peksag :


--
nosy:  -Karan Rawat, larry
resolution:  -> rejected
status: open -> closed
title: turbotax phone number 1**888**226**1422 support, turbotax tech support 
phone number 1**888**226**1422 -> Spam

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26966] Spam

2016-05-05 Thread Berker Peksag

Changes by Berker Peksag :


Removed file: http://bugs.python.org/file42739/Gmail Customer Service Number 
+1-888-226-1422 USA  Gmail Password Recovery Toll Free Number.pdf

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26965] spam

2016-05-05 Thread Ned Deily

Changes by Ned Deily :


Removed file: http://bugs.python.org/file42738/ihaveanswer.jpg

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26967] argparse: allow_abbrev=False stops -vv from working

2016-05-05 Thread Michael Kruse

New submission from Michael Kruse:

#! /usr/bin/env python3
import argparse

parser = argparse.ArgumentParser(allow_abbrev=True)
parser.add_argument('-v', '--verbose', action='count')
print(parser.parse_args(['-vv']))

parser = argparse.ArgumentParser(allow_abbrev=False)
parser.add_argument('-v', '--verbose', action='count')
print(parser.parse_args(['-vv']))


Observed Output:
Namespace(verbose=2)
usage: test.py [-h] [-v]
test.py: error: unrecognized arguments: -vv


Expected Output:
Namespace(verbose=2)
Namespace(verbose=2)

--
components: Library (Lib)
messages: 264915
nosy: meinersbur
priority: normal
severity: normal
status: open
title: argparse: allow_abbrev=False stops -vv from working
type: behavior
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26966] Spam

2016-05-05 Thread Berker Peksag

Changes by Berker Peksag :


--
components:  -Argument Clinic
versions:  -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26966] Spam

2016-05-05 Thread Berker Peksag

Changes by Berker Peksag :


--
Removed message: http://bugs.python.org/msg264914

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26965] spam

2016-05-05 Thread Ned Deily

Changes by Ned Deily :


--
components:  -Argument Clinic

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26965] spam

2016-05-05 Thread Ned Deily

Changes by Ned Deily :


--
Removed message: http://bugs.python.org/msg264913

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26966] turbotax phone number 1**888**226**1422 support, turbotax tech support phone number 1**888**226**1422

2016-05-05 Thread Karan Rawat

New submission from Karan Rawat:

Turbotax Service (43) 
turbotax customer service, turbotax customer service number 1**888**226**1422, 
turbotax customer service phone number 1**888**226**1422, turbotax phone number 
1**888**226**1422 customer service, turbotax customer service phone, turbotax 
customer service line, turbotax phone number 1**888**226**1422 for customer 
service, turbotax customer service number 1**888**226**1422 phone, phone number 
1**888**226**1422 for turbotax customer service, customer service number 
1**888**226**1422 for turbotax, intuit turbotax customer service, contact 
turbotax customer service phone number 1**888**226**1422, customer service for 
turbotax, call turbotax customer service, intuit turbotax customer service 
phone number 1**888**226**1422, customer service turbotax, turbotax contact 
customer service, turbotax customer service hours, turbotax number 
1**888**226**1422 customer service, contact turbotax customer service…
Contact Turbotax (38) 
turbotax contact number 1**888**226**1422, turbotax contact, contact turbotax, 
contact turbotax by phone, turbotax contact phone number 1**888**226**1422, 
turbotax contact info, turbotax contact phone, contact turbotax phone, contact 
number 1**888**226**1422 for turbotax, intuit turbotax contact number 
1**888**226**1422, contact turbotax by phone number 1**888**226**1422, turbotax 
contact information, contact turbotax phone number 1**888**226**1422, turbotax 
number 1**888**226**1422 contact, turbotax phone contact, turbotax contact 
number 1**888**226**1422s, contacting turbotax, contacting turbotax by phone, 
contact turbotax support by phone, contact information for turbotax…
Free Turbo (22) 
free turbo tax, free turbo tax 2014, free turbo tax filing 2012, tax turbo 
free, federal free turbo tax, free tax turbo, free turbo tax state, free turbo 
taxes, free turbo tax filing, turbo tax questions free, free turbo tax federal, 
turbo tax free, free turbo tax 2013, free turbo tax filing 2013, free turbo tax 
return, turbo tax free edition, turbo taxes free, turbo tax free file, is turbo 
tax free, turbo tax for free…
Turbotax Help (23) 
turbotax help, turbotax help number 1**888**226**1422, turbotax help phone 
number 1**888**226**1422, turbotax help phone, turbotax help center phone 
number 1**888**226**1422, turbotax phone help, turbotax phone help line, 
turbotax tax help, turbotax number 1**888**226**1422 help, phone number 
1**888**226**1422 for turbotax help, turbotax expert help phone number 
1**888**226**1422, turbotax help center, turbotax help desk phone number 
1**888**226**1422, turbotax number 1**888**226**1422 for help, turbotax phone 
number 1**888**226**1422 for help, help with turbotax, turbotax live help, 
turbotax help phone line, turbotax live help phone number 1**888**226**1422, 
turbotax online help phone number 1**888**226**1422…
Turbotax Business (14) 
turbotax business, turbotax home and business 2014, turbotax 2014 home and 
business, turbotax business 2014, turbotax business 2013, turbotax 2013 home 
and business, turbotax for business, turbotax business online, turbotax small 
business, turbotax for business online, turbotax online business, intuit 
turbotax business, turbotax business support, turbotax business 2013 online
Turbotax Support (14) 
turbotax support, turbotax phone support, turbotax customer support, turbotax 
support phone, turbotax customer support phone, turbotax tech support, turbotax 
support site, turbotax tech support phone, turbotax live support, turbotax 
support line, customer support turbotax, turbotax 2013 support, support 
turbotax, turbotax support hours
Turbotax State (18) 
turbotax state, turbotax federal and state 2013, turbotax 2013 federal and 
state, turbotax federal and state, turbotax state taxes, turbotax state refund, 
turbotax state tax calculator, state tax turbotax, turbotax state return, 
turbotax 2014 state, turbotax free state, turbotax state returns, turbotax 
state tax, turbotax state id number 1**888**226**1422, turbotax state download, 
state taxes turbotax, turbotax state free, turbotax state form availability
Turbotax Free (25) 
turbotax.com free, turbotax toll free number 1**888**226**1422, turbotax 2014 
free, turbotax for free, free turbotax 2014, turbotax free 2014, turbotax toll 
free phone number 1**888**226**1422, free turbotax 2013, turbotax military 
free, toll free number 1**888**226**1422 for turbotax, turbotax free 2013, free 
turbotax, www.turbotax.com free edition, turbotax toll free, turbotax free, 
turbotax free edition, turbotax 2013 free, free 2013 turbotax, is turbotax 
free, 2013 turbotax free…
Call Turbotax (19) 
call turbotax, turbotax call center number 1**888**226**1422, turbotax number 
1**888**226**1422 to call, turbotax phone number 1**888**226**1422 to call, 
turbotax call number 1**888**226**1422, turbotax call center, call turbotax 
support, turbotax call center phone number 1**888**226**1422, turbotax call, 
call 

[issue26965] spam

2016-05-05 Thread Ned Deily

Changes by Ned Deily :


--
nosy:  -Karan Rawat, larry

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26965] Turbotax Tech Support Mumber 1!!888!!226!!1422 turbotax Usa Canada

2016-05-05 Thread Karan Rawat

New submission from Karan Rawat:

Turbotax Service (43) 
turbotax customer service, turbotax customer service number 1**888**226**1422, 
turbotax customer service phone number 1**888**226**1422, turbotax phone number 
1**888**226**1422 customer service, turbotax customer service phone, turbotax 
customer service line, turbotax phone number 1**888**226**1422 for customer 
service, turbotax customer service number 1**888**226**1422 phone, phone number 
1**888**226**1422 for turbotax customer service, customer service number 
1**888**226**1422 for turbotax, intuit turbotax customer service, contact 
turbotax customer service phone number 1**888**226**1422, customer service for 
turbotax, call turbotax customer service, intuit turbotax customer service 
phone number 1**888**226**1422, customer service turbotax, turbotax contact 
customer service, turbotax customer service hours, turbotax number 
1**888**226**1422 customer service, contact turbotax customer service…
Contact Turbotax (38) 
turbotax contact number 1**888**226**1422, turbotax contact, contact turbotax, 
contact turbotax by phone, turbotax contact phone number 1**888**226**1422, 
turbotax contact info, turbotax contact phone, contact turbotax phone, contact 
number 1**888**226**1422 for turbotax, intuit turbotax contact number 
1**888**226**1422, contact turbotax by phone number 1**888**226**1422, turbotax 
contact information, contact turbotax phone number 1**888**226**1422, turbotax 
number 1**888**226**1422 contact, turbotax phone contact, turbotax contact 
number 1**888**226**1422s, contacting turbotax, contacting turbotax by phone, 
contact turbotax support by phone, contact information for turbotax…
Free Turbo (22) 
free turbo tax, free turbo tax 2014, free turbo tax filing 2012, tax turbo 
free, federal free turbo tax, free tax turbo, free turbo tax state, free turbo 
taxes, free turbo tax filing, turbo tax questions free, free turbo tax federal, 
turbo tax free, free turbo tax 2013, free turbo tax filing 2013, free turbo tax 
return, turbo tax free edition, turbo taxes free, turbo tax free file, is turbo 
tax free, turbo tax for free…
Turbotax Help (23) 
turbotax help, turbotax help number 1**888**226**1422, turbotax help phone 
number 1**888**226**1422, turbotax help phone, turbotax help center phone 
number 1**888**226**1422, turbotax phone help, turbotax phone help line, 
turbotax tax help, turbotax number 1**888**226**1422 help, phone number 
1**888**226**1422 for turbotax help, turbotax expert help phone number 
1**888**226**1422, turbotax help center, turbotax help desk phone number 
1**888**226**1422, turbotax number 1**888**226**1422 for help, turbotax phone 
number 1**888**226**1422 for help, help with turbotax, turbotax live help, 
turbotax help phone line, turbotax live help phone number 1**888**226**1422, 
turbotax online help phone number 1**888**226**1422…
Turbotax Business (14) 
turbotax business, turbotax home and business 2014, turbotax 2014 home and 
business, turbotax business 2014, turbotax business 2013, turbotax 2013 home 
and business, turbotax for business, turbotax business online, turbotax small 
business, turbotax for business online, turbotax online business, intuit 
turbotax business, turbotax business support, turbotax business 2013 online
Turbotax Support (14) 
turbotax support, turbotax phone support, turbotax customer support, turbotax 
support phone, turbotax customer support phone, turbotax tech support, turbotax 
support site, turbotax tech support phone, turbotax live support, turbotax 
support line, customer support turbotax, turbotax 2013 support, support 
turbotax, turbotax support hours
Turbotax State (18) 
turbotax state, turbotax federal and state 2013, turbotax 2013 federal and 
state, turbotax federal and state, turbotax state taxes, turbotax state refund, 
turbotax state tax calculator, state tax turbotax, turbotax state return, 
turbotax 2014 state, turbotax free state, turbotax state returns, turbotax 
state tax, turbotax state id number 1**888**226**1422, turbotax state download, 
state taxes turbotax, turbotax state free, turbotax state form availability
Turbotax Free (25) 
turbotax.com free, turbotax toll free number 1**888**226**1422, turbotax 2014 
free, turbotax for free, free turbotax 2014, turbotax free 2014, turbotax toll 
free phone number 1**888**226**1422, free turbotax 2013, turbotax military 
free, toll free number 1**888**226**1422 for turbotax, turbotax free 2013, free 
turbotax, www.turbotax.com free edition, turbotax toll free, turbotax free, 
turbotax free edition, turbotax 2013 free, free 2013 turbotax, is turbotax 
free, 2013 turbotax free…
Call Turbotax (19) 
call turbotax, turbotax call center number 1**888**226**1422, turbotax number 
1**888**226**1422 to call, turbotax phone number 1**888**226**1422 to call, 
turbotax call number 1**888**226**1422, turbotax call center, call turbotax 
support, turbotax call center phone number 1**888**226**1422, turbotax call, 
call 

[issue26965] spam

2016-05-05 Thread Ned Deily

Changes by Ned Deily :


--
resolution:  -> rejected
status: open -> closed
title: Turbotax Tech Support Mumber 1!!888!!226!!1422 turbotax Usa Canada -> 
spam
type: security -> 
versions:  -Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26906] format(object.__reduce__) fails intermittently

2016-05-05 Thread Antti Haapala

Antti Haapala added the comment:

I can reproduce the bug in 3.5.0+ Ubuntu with list iterator, if I execute 
python with -S:

% python3.5 -S
Python 3.5.0+ (default, Oct 11 2015, 09:05:38) 
[GCC 5.2.1 20151010] on linux
>>> format(iter([]))
Traceback (most recent call last):
  File "", line 1, in 
TypeError: Type list_iterator doesn't define __format__

Thus here it depends on the stuff that site does or doesn't do. Iterating over 
a list iterator does *not* trigger the initialization. Printing it doesn't help 
either, or anything else that does not touch the non-magic attributes. I am not 
even sure what the site.py and such are doing to the list iterator class to 
trigger the initialization.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2016-05-05 Thread Berker Peksag

Berker Peksag added the comment:

Here is an updated patch with a test (adapted from msg198274.)

--
nosy: +berker.peksag
stage:  -> patch review
versions: +Python 3.6 -Python 3.4
Added file: http://bugs.python.org/file42737/issue19072.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26961] Provide an API to help debug super().__getattribute__ results

2016-05-05 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
nosy: +rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26964] Incorrect documentation for `-u`-flag

2016-05-05 Thread Olav Morken

New submission from Olav Morken:

The documentation for the `-u`-flag 
(https://docs.python.org/3/using/cmdline.html#cmdoption-u) contains:

> The text I/O layer will still be line-buffered if writing to the console, or 
> block-buffered if redirected to a non-interactive file.

This does not appear to be the case -- instead it is always line-buffered:

https://hg.python.org/cpython/file/v3.5.1/Python/pylifecycle.c#l1041

Attached is a trivial patch that simply removes everything after 
"line-buffered".

--
assignee: docs@python
components: Documentation
files: fix-doc-unbuffered.patch
keywords: patch
messages: 264910
nosy: docs@python, olavmrk
priority: normal
severity: normal
status: open
title: Incorrect documentation for `-u`-flag
Added file: http://bugs.python.org/file42736/fix-doc-unbuffered.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26961] Provide an API to help debug super().__getattribute__ results

2016-05-05 Thread Doug Hellmann

Doug Hellmann added the comment:

@Nick - Being able to get to the source is ok, but if I can get the actual type 
I can always get the source from that. I don't need the actual type object 
except to know what it is, and it seems more flexible to return the class 
object than a name or other reference to it that I then have to turn into the 
class object if I really did need it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26918] android: test_pipes fails

2016-05-05 Thread Xavier de Gaye

Xavier de Gaye added the comment:

I agree with not complicating tests too much.

For the record, the pipes test suite coverage is very low and the code paths 
that lead to invocations of os.popen() in the pipes module are not tested when 
those three tests are skipped.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26961] Provide an API to help debug super().__getattribute__ results

2016-05-05 Thread Doug Hellmann

Doug Hellmann added the comment:

The specific case I have right now is with a large code base written by someone 
else who is seeing a TypeError when they call super(their-local-class, 
self).__init__() because whatever class super() is returning is expecting 
arguments to __init__(). The TypeError thrown doesn't say what is being called 
(that's a separate issue) so I was trying to debug. The __init__() method of 
super() is a special wrapper, so there isn't any way using only super() to 
access the class it has decided to use. I'm currently walking the MRO by hand 
to find the class that's causing the problem. I expected to be able to do 
something like super(their-local-class, self).give_me_the_type_with('__init__') 
and get back a class.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26811] segfault due to null pointer in tuple

2016-05-05 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26918] android: test_pipes fails

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The equivalent of used "tr" command is .upper(), not .swapcase().

Instead of the loop

for s in sys.stdin.read(): sys.stdout.write(s.upper())

you can write just

sys.stdout.write(sys.stdin.read().upper())

But actually the loop is needed for testing purpose.

while True:
b = sys.stdin.buffer.read(1)
if not b:
break
sys.stdout.buffer.write(b.upper())

And sys.executable should be escaped for the case of spaces or other special 
symbols in the path.

All this complicates tests too much. I prefer to skip some tests on Android.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26881] modulefinder should reuse the dis module

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Added test.

But this test is fragile. Clever optimizer can made it passing even with 
modulefinder not supporting extended args (I'm going to provide such 
optimization).

--
Added file: http://bugs.python.org/file42735/dis_unpack_args_3.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26928] android: test_site fails

2016-05-05 Thread Xavier de Gaye

Xavier de Gaye added the comment:

BTW the test runs fine on android when the AttributeError in _bootlocale is 
hard-coded with a getpreferredencoding() fuction returning 'UTF-8' and not 
importing locale.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26928] android: test_site fails

2016-05-05 Thread Xavier de Gaye

Xavier de Gaye added the comment:

The problem is caused by the fact that android does not have HAVE_LANGINFO_H 
and CODESET set, hence in the _bootlocale module, the statement 
'_locale.CODESET' raises AttributeError and the locale module is imported upon 
interpreter startup. The locale module imports re.

See issue #19205 for why we would rather not import re and locale on startup.

This seems difficult to fix without either skipping most part of the test as it 
is done with Mac OS X, or having a specific sys.platform for android to handle 
the AttributeError in _bootlocale by having the getpreferredencoding() fuction 
returning 'UTF-8' ('UTF-8' is the file system encoding on android).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2016-05-05 Thread Xiang Zhang

Xiang Zhang added the comment:

Oops, I forgot about them. I think they should. Raymond mentioned count in 
msg75735. Attach patch to take them in.

--
Added file: http://bugs.python.org/file42734/issue26915_s2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26947] Documentation improvement needed

2016-05-05 Thread mPython

mPython added the comment:

Just to mention that I'm not native speaker, and I'm Django (Python) beginner. 
I'm very good in C++, Java and in last 12 years read a lot IT documentation. 
Mentioned sentence was not clear enough for me so I created this ticket.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

What about Sequence.index and Sequence.count?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26926] Large files are not supported on Android

2016-05-05 Thread Xavier de Gaye

Xavier de Gaye added the comment:

Using the glibc compilation flags recommended for large file support 
'-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1' does not 
enable large file support. See Suse's 'Large File Support in Linux' document 
[1].

In the android issue 64613 [2] one of the last comment said, only few days ago, 
 "fixed in the platform. (partially in L, mostly in M, completely in N.)", L 
standing for Lollipop (API 21 or 22) and M for Marshmallow (API 23). So it 
seems these tests should be skipped until platform N is available.

[1] http://users.suse.com/~aj/linux_lfs.html
[2] https://code.google.com/p/android/issues/detail?id=64613

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2016-05-05 Thread Xiang Zhang

Xiang Zhang added the comment:

In my opinion it's not worth. If there is such an operator in stdlib, I would 
expect more, exposing PyObject_RichCompareBool in Python level, providing a new 
operator like `===`.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26963] compile() expected string without null bytes

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

compile() always required a string without null bytes. If it accepted a string 
with null bytes in 2.7.10 (I don't see the confirmation on this in the source 
code), it was a bug and is fixed.

--
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Is it worth to add a function in the operator module that tests arguments for 
identity or equality?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26926] Large files are not supported on Android

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The resource module is not always available. And resource.setrlimit() itself 
can fail.

May be check HAVE_LARGEFILE_SUPPORT directly using sysconfig.get_config_vars()?

test_mmap needs similar fix.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26963] compile() expected string without null bytes

2016-05-05 Thread 周伟阳

New submission from 周伟阳:

"compile() expected string without null bytes"
I met this in python2.7.11, and python2.7.10 is fine.
ENV: DOCKER:2.7.11-alpine, pecan, ceph/pulpito

--
components: IO
messages: 264894
nosy: 周伟阳
priority: normal
severity: normal
status: open
title: compile() expected string without null bytes
type: behavior
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26926] Large files are not supported on Android

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Skipping test is the one way.

Other way is to enable large files support on Android (like it was done in 
issue11184 for AIX). It is hard to believe that Android's libc doesn't support 
files larger 2GiB. Should be an option to enable this support in a program.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2016-05-05 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Xiang, hanks for the patch and for the link to Guido's opinion.

Josh, I concur with your sentiments.  In this case the burden is light and is 
likely to prevent future difficulties by keeping the container invariants 
intact.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2016-05-05 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1c6cf4010df3 by Raymond Hettinger in branch 'default':
Issue 26915:  Add identity checks to the collections ABC __contains__ methods.
https://hg.python.org/cpython/rev/1c6cf4010df3

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26962] curses documenation- keys for Page Up and Page Down are reversed

2016-05-05 Thread Berker Peksag

Berker Peksag added the comment:

Thanks!

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26962] curses documenation- keys for Page Up and Page Down are reversed

2016-05-05 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 4462e193f089 by Berker Peksag in branch '2.7':
Issue #26962: Backport 23d986228c6b to 2.7
https://hg.python.org/cpython/rev/4462e193f089

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26918] android: test_pipes fails

2016-05-05 Thread Xavier de Gaye

Xavier de Gaye added the comment:

Ooops too late. Here is a new patch that replaces the tr command and allows all 
the tests of test_pipes to run successfully on android.

--
Added file: http://bugs.python.org/file42733/replace_tr.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26918] android: test_pipes fails

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

LGTM. Thanks Xavier.

It looks to me that there are no useful commands that can be used for testing 
on Android. We could use md5 or grep, but this would require rewriting tests 
too much for small benefit. It is better to skip tests.

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26918] android: test_pipes fails

2016-05-05 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3bad4b0f7612 by Serhiy Storchaka in branch 'default':
Issue #26918: Skipped some tests in test_pipes on Android.
https://hg.python.org/cpython/rev/3bad4b0f7612

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26962] curses documenation- keys for Page Up and Page Down are reversed

2016-05-05 Thread Berker Peksag

Berker Peksag added the comment:

Good catch, I forgot to update 2.7 (3.2, 3.3 and 3.4 are in security-fix-only 
mode so they don't get documentation updates anymore).

--
nosy: +berker.peksag
versions:  -Python 3.2, Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26962] curses documenation- keys for Page Up and Page Down are reversed

2016-05-05 Thread Nathan Kerr

New submission from Nathan Kerr:

In the documentation for the curses module- 15.11 in Python 2.7 
(https://docs.python.org/2.7/library/curses.html), the given key values for 
Page Up and Page Down are "KEY_NPAGE" and "KEY_PPAGE" respectively. These 
should be reversed.

This has been fixed in the documentation for 3.5 and 3.6 but not in the 
previous versions. See this bug report: http://bugs.python.org/issue26679

--
assignee: docs@python
components: Documentation
messages: 264884
nosy: docs@python, nkerr
priority: normal
severity: normal
status: open
title: curses documenation- keys for Page Up and Page Down are reversed
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26918] android: test_pipes fails

2016-05-05 Thread Xavier de Gaye

Xavier de Gaye added the comment:

Thanks for the review Serhiy. New patch attached.

--
Added file: http://bugs.python.org/file42732/no_tr_skipped_2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26918] android: test_pipes fails

2016-05-05 Thread Xavier de Gaye

Xavier de Gaye added the comment:

Here is the list of commands at /system/bin on the emulator.

--
Added file: http://bugs.python.org/file42731/emulator_system_bin.txt

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26765] Factor out common bytes and bytearray implementation

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Stage 4 patch moves thin wrappers around functions from bytes_methods.c to 
Objects/stringlib/transmogrify.h. The _method_ suffix is added to some names to 
distinguish them from existing stringlib names.

I'm not sure this is a good place. It may be better to add separate file (I'm 
going to move more simple wrappers here), but I don't have good name for it 
(bytes_methods.h is already used). Any ideas?

--
Added file: http://bugs.python.org/file42730/bytes_methods_stage4.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26961] Provide an API to help debug super().__getattribute__ results

2016-05-05 Thread Nick Coghlan

Nick Coghlan added the comment:

Actually, since this is intended primarily for debugging:

Doug, do you actually need the type information? Or would combining 
inspect.getsourcefile() and inspect.getlines() with super().__init__ to locate 
the source code for the offending method implementation be sufficient?

If that's the case, then the only benefit of this API would be to extend such 
debugging to extension module types in addition to regular Python classes.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26765] Factor out common bytes and bytearray implementation

2016-05-05 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you Meador.

Stage 3 patch is simple. It just adds guards in bytes-specific and 
unicode-specific template files to be sure that they are not used with wrong 
type.

--
Added file: http://bugs.python.org/file42729/bytes_methods_stage3.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26765] Factor out common bytes and bytearray implementation

2016-05-05 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f4406d746d27 by Serhiy Storchaka in branch 'default':
Issue #26765: Moved common code for the replace() method of bytes and bytearray
https://hg.python.org/cpython/rev/f4406d746d27

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com