[issue21911] IndexError: tuple index out of range should include the requested index and tuple length

2014-07-09 Thread Ram Rachum

Ram Rachum added the comment:

Thanks for the information about timing, Stefan and Josh. That is good to know 
regardless of this ticket :)

--

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



[issue20587] sqlite3 converter not being called

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Can somebody try my code on 2.7 as I don't run it anymore.  You'll probably 
have to undo the str = bytes dance I've just performed.  Any reason why the 
default convertors and adapters described here 
https://docs.python.org/2/library/sqlite3.html#default-adapters-and-converters 
can't be used?  Maybe something to do with microsecond formatting for which I 
know there is a completely separate issue?

--
components: +Library (Lib) -Windows
nosy: +BreamoreBoy
Added file: http://bugs.python.org/file35911/workingdemo.py

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



[issue9624] Error 2755, failure to find drive when installing Python

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

I don't see any evidence that this is actually a Python problem.  There has 
been no response to msg115080.  What do we do?

--
nosy: +BreamoreBoy

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



[issue21323] CGI HTTP server not running scripts from subdirectories

2014-07-09 Thread Ned Deily

Ned Deily added the comment:

Zach, thanks for the patch and the test. Someone will review it in the coming 
days. In the meantime, if you haven't already, please review and submit the 
Python Contributor's Agreement: 
https://www.python.org/psf/contrib/contrib-form/ otherwise we won't be able to 
use your contribution.

--

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



[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Is this still a problem with cygwin?

--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2

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



[issue9624] Error 2755, failure to find drive when installing Python

2014-07-09 Thread Brian Curtin

Changes by Brian Curtin br...@python.org:


--
nosy:  -brian.curtin

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



[issue9055] test_issue_8959_b fails when run from a service

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

I think this can be closed as fixed/resolved, am I correct?

--
nosy: +BreamoreBoy

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



[issue9055] test_issue_8959_b fails when run from a service

2014-07-09 Thread Paul Moore

Changes by Paul Moore p.f.mo...@gmail.com:


--
resolution:  - fixed
status: open - closed

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



[issue21943] To duplicate a list has biyective properties, not inyective ones

2014-07-09 Thread Toni Diaz

New submission from Toni Diaz:

Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
[GCC 4.7.2] on linux2
Type help, copyright, credits or license for more information.
 a=['dog']
 b=a
 a
['dog']
 b
['dog']
 b.remove('dog')
 a
[]
 b
[]


When defining a list from another (b=a), in my opinion, I expect that all you 
do to one doesn't affect to the other one.
However, with the commands .remove  .append I don't see that (the definition 
b=a is bijective).
Should it work this way?

Thanks

--
components: Demos and Tools
messages: 222606
nosy: Toni Diaz
priority: normal
severity: normal
status: open
title: To duplicate a list has biyective properties, not inyective ones
type: behavior
versions: Python 2.7

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



[issue21943] To duplicate a list has biyective properties, not inyective ones

2014-07-09 Thread Josh Rosenberg

Josh Rosenberg added the comment:

This is a natural consequence of Python using reference semantics.

x = y

just makes x and y references to the same object. For immutable objects like 
int and str, you'll never notice consequences of this, since changes to the 
value (x += 1) replace the reference in x with a new reference. But for mutable 
objects like lists, you need to explicitly copy (shallow or deep) to avoid a 
dependency of the sort you've encountered.

For the specific case of sequences, the empty slice is the simplest, fastest 
way to perform a shallow copy:

x = y[:]

For other built-in types, you can often call .copy() or wrap in the constructor:

newdict = olddict.copy() # or dict(olddict)

For more complex cases, the copy module offers shallow and deep copy abilities 
(via the copy and deepcopy function) for arbitrary data structures.

--
nosy: +josh.rosenberg

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



[issue21943] To duplicate a list has biyective properties, not inyective ones

2014-07-09 Thread Josh Rosenberg

Josh Rosenberg added the comment:

Short answer: This is not a bug. Run through one of the comprehensive Python 
tutorials on the net (or in Learning Python); reference semantics and their 
fairly varied consequences are covered in detail in most of them.

--

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



[issue21943] To duplicate a list has biyective properties, not inyective ones

2014-07-09 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
resolution:  - not a bug
status: open - closed

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



[issue21944] Allow copying of CodecInfo objects

2014-07-09 Thread Robert Lehmann

New submission from Robert Lehmann:

CodecInfo objects as retrieved from codecs.lookup currently throw an exception 
when trying to copy or pickle them.

I have attached a patch with a fix and tests.

--
components: Library (Lib)
files: copy_codecinfo.patch
keywords: patch
messages: 222609
nosy: lehmannro
priority: normal
severity: normal
status: open
title: Allow copying of CodecInfo objects
type: behavior
versions: Python 3.5
Added file: http://bugs.python.org/file35912/copy_codecinfo.patch

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



[issue21945] Wrong grammar in documentation

2014-07-09 Thread LtWorf

New submission from LtWorf:

[Note: Long-time users of Cookie.py will remember using
Cookie.Cookie() to create an Cookie object.


I think it should be a Cookie.


This is from the documentation of the Cookie module.

--
assignee: docs@python
components: Documentation
messages: 222610
nosy: docs@python, tiposchi
priority: normal
severity: normal
status: open
title: Wrong grammar in documentation
type: enhancement
versions: Python 2.7

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



[issue21945] Wrong grammar in documentation

2014-07-09 Thread Roundup Robot

Roundup Robot added the comment:

New changeset c3ec90a6526e by Ezio Melotti in branch '2.7':
#21945: fix typo in Cookie module docstring.
http://hg.python.org/cpython/rev/c3ec90a6526e

--
nosy: +python-dev

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



[issue21945] Wrong grammar in documentation

2014-07-09 Thread Ezio Melotti

Ezio Melotti added the comment:

Fixed, thanks for the report!

--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution:  - fixed
stage:  - resolved
status: open - closed

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



[issue21946] 'python -u' yields trailing carriage return '\r' (Python2 for Windows)

2014-07-09 Thread Matthias St.Pierre

New submission from Matthias St.Pierre:

raw_input yields trailing carriage return ('\r') when C:\Python27\python.exe is 
called using the -u option

How to reproduce the error: save the attached file 'input.py' which contains 
the following lines

-- begin input.py --

i = raw_input(enter y or n: )
print(repr(i))
print([ord(c) for c in i])

-- end input.py --

then run the two following commands from a windows command shell
python input.py
python -u input.py
and compare the output. (see transcript 1 below)

The same bug affects also the interactive mode: start 'python -u' and enter an 
arbitrary command. You will get a syntax error at the end of line. (see 
transcript 2 below)


-- begin transcript 1 of cmd session --

C:\Tempwhere python
C:\Python27\python.exe

C:\Temppython --version
Python 2.7.8

C:\Temptype input.py

i = raw_input(enter y or n: )
print(repr(i))
print([ord(c) for c in i])

C:\Temppython input.py
enter y or n: y
'y'
[121]
-- end transcript 1 of cmd session --


-- begin transcript 2 of cmd session --

C:\Temppython -u input.py
enter y or n: y
'y\r'
[121, 13]

C:\Temppython -u
Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on 
win32
Type help, copyright, credits or license for more information.
 print hello world
  File stdin, line 1
print hello world
   ^
SyntaxError: invalid syntax


-- end transcript 2 of cmd session --

--
components: Interpreter Core, Windows
files: input.py
messages: 222613
nosy: msp
priority: normal
severity: normal
status: open
title: 'python -u' yields trailing carriage return '\r'  (Python2 for Windows)
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35913/input.py

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



[issue21946] 'python -u' yields trailing carriage return '\r' (Python2 for Windows)

2014-07-09 Thread Matthias St.Pierre

Matthias St.Pierre added the comment:

correction: the markers for transcripts 1 and 2 were inserted at the wrong 
location; here's the correction:


-- begin transcript 1 of cmd session --

C:\Tempwhere python
C:\Python27\python.exe

C:\Temppython --version
Python 2.7.8

C:\Temptype input.py

i = raw_input(enter y or n: )
print(repr(i))
print([ord(c) for c in i])

C:\Temppython input.py
enter y or n: y
'y'
[121]

C:\Temppython -u input.py
enter y or n: y
'y\r'
[121, 13]


-- end transcript 1 of cmd session --


-- begin transcript 2 of cmd session --

C:\Temppython -u
Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on 
win32
Type help, copyright, credits or license for more information.
 print hello world
  File stdin, line 1
print hello world
   ^
SyntaxError: invalid syntax


-- end transcript 2 of cmd session --

--

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



[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

/pdb:None is still set in msvc9compiler.py.  Does this need changing in this 
file, or a more modern equivalent, so that symbols can be loaded in the 
debugger?

--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2

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



[issue7182] For non-debug builds, the cygwinccompiler.py should define NDEBUG

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

I think this is a bug but on the other hand I found msg94327 extremely 
confusing.  Would someone like to clarify the situation.

--
nosy: +BreamoreBoy
type:  - behavior
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2

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



[issue9782] _multiprocessing.c warnings under 64-bit Windows

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

I'd assume that these were cleared years ago.

--
nosy: +BreamoreBoy

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



[issue9782] _multiprocessing.c warnings under 64-bit Windows

2014-07-09 Thread Brian Curtin

Changes by Brian Curtin br...@python.org:


--
nosy:  -brian.curtin

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



[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread hakril

New submission from hakril:

The `dis` module doesn't know how to disassemble generator object because it 
has no idea about the `gi_code` attribute.
I made a (very) little patch to change this behavior.

If there is a valid reason to not let the `dis` module disassemble generator, I 
would be glad to know it.

--
components: Extension Modules
files: dis_generator.patch
keywords: patch
messages: 222619
nosy: hakril
priority: normal
severity: normal
status: open
title: `Dis` module doesn't know how to disassemble generators
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file35914/dis_generator.patch

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



[issue9937] _winreg.EnumValue causes MemoryError

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Does anyone wish to follow this up as I no longer run 2.7?

--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2

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



[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread Zachary Ware

Changes by Zachary Ware zachary.w...@gmail.com:


--
nosy: +ncoghlan

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



[issue17277] incorrect line numbers in backtrace after removing a trace function

2014-07-09 Thread Xavier de Gaye

Xavier de Gaye added the comment:

The previous patch changed a field in the PyThreadState structure. This new 
patch is simpler and does not prevent to change f_lineno when it is not the 
attribute of the frame being traced. The new patch fixes also issue 7238, issue 
16482 and issue 17697.

--
Added file: http://bugs.python.org/file35915/lineno_getter.patch

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



[issue9937] _winreg.EnumValue causes MemoryError

2014-07-09 Thread Brian Curtin

Changes by Brian Curtin br...@python.org:


--
nosy:  -brian.curtin

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



[issue21907] Update Windows build batch scripts

2014-07-09 Thread Zachary Ware

Zachary Ware added the comment:

Thanks for getting the XP bot running again, it looks like it's now having 
issues with how the tests are now run (some issue with how sys.stdin is set up 
in a subprocess); I'm not sure if that should be fixed by reverting back to not 
using run_tests.py, or fixing stdin in a subprocess on XP (which is now 
officially unsupported by 3.5 anyway...).

As for the fact that your bots are now doing full clones instead of pulls is 
disturbing and must be fixed, but I'm not sure how that happened.  The AMD64 
Windows 7 bot is still doing pulls, so the new clean script shouldn't be a 
problem.  Do you have any insight into what happened on the x86 Win7 bot's 
build 8503[1]?  That should have been the first build with this issue's 
changes, but it didn't even try to update at all.

Build 10744[2] on the XP bot seems to have tried to clobber the build directory 
on update after a successful clean on the previous build, which doesn't make 
sense to me either (though the 'test' step did time out, which might play into 
it).

[1] http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/8503
[2] http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/10744

--

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



[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2014-07-09 Thread Milan Oberkirch

Changes by Milan Oberkirch milan...@oberkirch.org:


--
nosy: +jesstess

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



[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2014-07-09 Thread Milan Oberkirch

Milan Oberkirch added the comment:

I do not think that the proposed patch solves the bug because it silently 
changes binary input. With the patch for issue 19662 a proper solution to avoid 
this bug has been applied. The only thing left is to prevent the server to 
raise the exception when in legacy mode. Instead of deleting single bytes from 
the input (which is what .decode('utf-8', 'ignore') does) I would reply with an 
error to the client. The attached patch implements and tests this behaviour.

--
nosy: +zvyn
Added file: 
http://bugs.python.org/file35916/smtpd_undecodable_data_does_not_raise.patch

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



[issue21948] Documentation Typo

2014-07-09 Thread Roy

New submission from Roy:

In the documentation in 15.2 (https://docs.python.org/3/library/hmac.html), 
under hmac.new(key, msg=None, digestmod=None), it says Paramter digestmod, 
which should be Parameter digestmod

--
messages: 222623
nosy: thosehippos
priority: normal
severity: normal
status: open
title: Documentation Typo
type: enhancement
versions: Python 3.4

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



[issue21944] Allow copying of CodecInfo objects

2014-07-09 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy: +berker.peksag, lemburg

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



[issue16040] nntplib: unlimited readline() from connection

2014-07-09 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5be778fec115 by Berker Peksag in branch '3.4':
Issues #21948 and #16040: Fix typos.
http://hg.python.org/cpython/rev/5be778fec115

New changeset 051cc4f60384 by Berker Peksag in branch 'default':
Issues #21948 and #16040: Merge with 3.4.
http://hg.python.org/cpython/rev/051cc4f60384

--

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



[issue21948] Documentation Typo

2014-07-09 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5be778fec115 by Berker Peksag in branch '3.4':
Issues #21948 and #16040: Fix typos.
http://hg.python.org/cpython/rev/5be778fec115

New changeset 051cc4f60384 by Berker Peksag in branch 'default':
Issues #21948 and #16040: Merge with 3.4.
http://hg.python.org/cpython/rev/051cc4f60384

--
nosy: +python-dev

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



[issue21948] Documentation Typo

2014-07-09 Thread Berker Peksag

Berker Peksag added the comment:

Fixed. Thanks for the report.

--
assignee:  - berker.peksag
components: +Documentation
nosy: +berker.peksag
resolution:  - fixed
stage:  - resolved
status: open - closed
type: enhancement - behavior
versions: +Python 3.5

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



[issue1005895] curses for win32

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Is this worth pursuing as https://docs.python.org/3/howto/curses.html states 
The Windows version of Python doesn’t include the curses module. A ported 
version called UniCurses is available ?  This is available at 
https://pypi.python.org/pypi/UniCurses

--
nosy: +BreamoreBoy

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



[issue9232] Allow trailing comma in any function argument list.

2014-07-09 Thread Phil Connell

Changes by Phil Connell pconn...@gmail.com:


--
nosy: +pconnell

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



[issue9423] Error in urllib2.do_open(self, http_class, req)

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

@Lyle can we follow up with anything on this issue?  If no as originator could 
you close it please.

--
nosy: +BreamoreBoy
versions: +Python 2.7, Python 3.4, Python 3.5 -Python 2.6

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



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Can someone please confirm whether or not this is still an issue in either 
2.7.x or 3.4.y.

--
nosy: +BreamoreBoy
versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2

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



[issue1116520] Prefix search is filesystem-centric

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Is this something that we could get into 3.5?

--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3

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



[issue2445] Use The CygwinCCompiler Under Cygwin

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

From msg194383 issues #18633, #18634 and #18654 are linked to this so is 
anybody up for providing a patch so that we can take this forward.  See also 
#4032.

--
nosy: +BreamoreBoy

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



[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

/pdb:None is referenced on #4214.  As there is more detail on that issue I 
recommend that this is closed.

--

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



[issue21949] Document the Py_SIZE() macro.

2014-07-09 Thread Gregory P. Smith

New submission from Gregory P. Smith:

The Py_SIZE() macro is not documented.  It should be.  It is very useful along 
with PyList_New(positive_number) after using PyList_SET_ITEM() to fill in up to 
the first positive_number elements of a list object in the most optimal manner 
by avoiding numerous redundant array resizes and error checks along the away.

The Py_SIZE() macro was introduced (in 2.6 I believe) and is specifically 
intended for use as an lvalue (see http://bugs.python.org/issue1724 to confirm 
that).  It currently has uses in several places in CPython's core and modules 
as well as within some third party extension modules and tools such as Cython).

--
assignee: docs@python
components: Documentation
keywords: easy
messages: 222633
nosy: docs@python, gregory.p.smith
priority: normal
severity: normal
status: open
title: Document the Py_SIZE() macro.
type: performance
versions: Python 2.7, Python 3.4, Python 3.5

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



[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread John Ehresman

John Ehresman added the comment:

Are you saying close this as a duplicate?  That would be fine with me.  I still 
think the /pdb:None should be removed if it hasn't been already.

--

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



[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Yes, close this as a duplicate.  I'll put up a patch on #4214.

--

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



[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread John Ehresman

Changes by John Ehresman j...@wingware.com:


--
resolution:  - duplicate

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



[issue4214] no extension debug info with msvc9compiler.py

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Patch is against default.  The entire distutils test suite ran okay.  Would 
someone like to try this in the real world please.

--
components:  -Distutils2
keywords: +patch
nosy: +BreamoreBoy, dstufft
versions: +Python 3.4, Python 3.5 -3rd party, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file35917/Issue4214.diff

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



[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread Antoine Pitrou

Antoine Pitrou added the comment:

That sounds like a good idea. The patch lacks a unit test, though.

--
nosy: +pitrou

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



[issue19450] Bug in sqlite in Windows binaries

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

FYI 3.4.0 Windows was shipped with SQLite 3.8.3.1 see #20465.

--
nosy: +BreamoreBoy

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



[issue19715] test_touch_common failure under Windows

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

#19727 is fixed so do we need issues for the precision loss in pytime.c from 
msg204062 and the analysis in msg204148 ?

--
nosy: +BreamoreBoy

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



[issue2889] curses for windows (alternative patch)

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Can this be closed as curses binaries for Python 2.5, 2.6, 2.7, 3.1, 3.2, 3.3 
and 3.4, win32 and win-amd64, are available at 
http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses, plus there is also 
https://pypi.python.org/pypi/UniCurses/1.2 ?

--
nosy: +BreamoreBoy

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



[issue18887] test_multiprocessing.test_connection failure on Python 2.7

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Presumably out of date.

--
nosy: +BreamoreBoy

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



[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread hakril

hakril added the comment:

Here is a try for a better patch.
Added a unit test and updated the doc.

--
Added file: http://bugs.python.org/file35918/dis_generator2.patch

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



[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +haypo

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



[issue1294959] Problems with /usr/lib64 builds.

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Is there agreement on what needs doing here?  I'd like to see this into 3.5 
before it reaches its 10th birthday :)

--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3

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



[issue6377] distutils compiler switch ignored

2014-07-09 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
versions: +Python 3.4, Python 3.5 -Python 3.1

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



[issue2437] Distutils runtime_library_dirs broken on Windows

2014-07-09 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2

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



[issue4032] distutils cannot recognize .dll.a as library on cygwin

2014-07-09 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
components:  -Distutils2
nosy: +dstufft
versions: +Python 3.4, Python 3.5 -3rd party, Python 3.1, Python 3.2

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



[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2014-07-09 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3

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



[issue11077] Tkinter is not thread safe

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Is this still an issue with 2.7.8 which has presumably had more fixes since 
2.7.6?

--
nosy: +BreamoreBoy

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



[issue1252236] Simplying Tkinter's event loop

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

I've just asked for an update on #11077 .

--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.2

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



[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2014-07-09 Thread Gregory P. Smith

Gregory P. Smith added the comment:

(un-cc'ing myself as I can't deal with Windows)

--
components: +Tests, Windows -IO

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



[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2014-07-09 Thread Gregory P. Smith

Changes by Gregory P. Smith g...@krypto.org:


--
nosy:  -gregory.p.smith

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



[issue11077] Tkinter is not thread safe

2014-07-09 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Summarizing other messages, it seems that tkinter is intended to be thread-safe 
(as long tk.mainloop is started in the tk thread) and mostly is until it is not 
(probably from timing issue). With fresh 2.7.8 install, I ran TkinterCrash2.py. 
I got the following twice:

Exception in thread Thread-12:
Traceback (most recent call last):
  File C:\Programs\Python27\lib\threading.py, line 810, in __bootstrap_inner
self.run()
  File tkcrash2.py, line 49, in run
self.deliverToQueue((self.target, z, y))
  File tkcrash2.py, line 131, in arrival_122
new_yz[1])
  File C:\Programs\Python27\lib\lib-tk\Tkinter.py, line 2282, in create_line
return self._create('line', args, kw)
  File C:\Programs\Python27\lib\lib-tk\Tkinter.py, line 2270, in _create
*(args + self._options(cnf, kw
ValueError: invalid literal for int() with base 10: 'None'

and the progrm continued. After another 100-200 launches, I tried to close the 
tk window and got the python has stopped working message from Windows. After 
this, every time I restart, I soon got the message again. Something seems to 
have been altered, though I do not see a relevant process in task manager.

I closed and reopened the command prompt process and restarted with pythonw 
instead of python and the program ran until too sluggish to continue. I then 
closed and reran and got 'pythonw has stopped working' at about launch 5. Third 
time ran until I closed at 50 launches. Fourth time stopped after 10 launches.

Serhiy, have any fresh insight?

--
nosy: +serhiy.storchaka

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



[issue11077] Tkinter is not thread safe

2014-07-09 Thread Terry J. Reedy

Terry J. Reedy added the comment:

With 3.4.1, (64 bit), I ran, saturated (200 launches?) and closed 4 windows 
without incident. This extends Alexander's claim, 'not 3.x problem', in 
msg127648, from 3.2 to 3.4.

--

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



[issue21940] IDLE - Test WidgetRedirector

2014-07-09 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5af194064f96 by Terry Jan Reedy in branch '2.7':
Issue #21940: add docstrings to idlelib.WidgetRedirector.
http://hg.python.org/cpython/rev/5af194064f96

New changeset 220d5fdbe22e by Terry Jan Reedy in branch '3.4':
Issue #21940: add docstrings to idlelib.WidgetRedirector.
http://hg.python.org/cpython/rev/220d5fdbe22e

--
nosy: +python-dev

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



[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread Raymond Hettinger

Raymond Hettinger added the comment:

+1

--
nosy: +rhettinger

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