[issue1566331] Bad behaviour in ossaudio audio device.obuf*

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1606233] readline on popen3 file returns empty string before end

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1295179] termios.c in qnx4.25

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1465646] test_grp test_pwd fail

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1374063] Broader iterable support for xmlrpclib

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1178136] cgitb.py support for frozen images

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1117601] os.path.exists returns false negatives in MAC environments.

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1244861] Enable os.startfile and webbrowser.WindowsDefault on Cygwin

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1332869] Fatal Python error: Interpreter not initialized

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue991266] Cookie.py does not correctly quote Morsels

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1654367] [PATCH] Debuggers need a way to change the locals of a frame

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue7405] compiling python 3.1.1 using cygwin 1.7.0 and gcc 4.3.4

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1103213] Adding the missing socket.recvall() method

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue7538] HP-UX 11.11 GCC build fails to build modules

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1643712] Emphasize buffering issues when sys.stdin is used

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue6445] Add check parameter to subprocess.Popen.communicate

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue3180] Interrupts are lost during readline PyOS_InputHook processing

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue3539] Problem with pgen make dependencies in certain circumstances

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue7717] Compilation fixes for IRIX

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue6338] Error message displayed on stderr when no C compiler is present with ctypes

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue7718] Build shared libpythonX.Y.so on IRIX

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue6130] There ought to be a way for extension types to associate documentation with their tp_new or tp_init methods

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1615158] POSIX capabilities support

2014-02-03 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
versions: +Python 3.5 -Python 3.3

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



[issue4744] asynchat documentation needs to be more precise

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1570255] redirected cookies

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy
status: pending - open

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



[issue1038591] Python 2.3+ socket._fileobject handles EAGAIN with data loss

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue877904] freeze: problems excluding site

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1367631] maximum length not enforced in cgi.parse()

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue460474] codecs.StreamWriter: reset() on close()

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1671676] test_mailbox is hanging while doing gmake test on HP-UX v3

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1739648] zipfile.testzip() using progressive file reads

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1724822] provide a shlex.split alternative for Windows shell syntax

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue1423] wave sunau aifc 16bit errors

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue894936] Have a split corresponding with os.path.join

2014-02-03 Thread Mark Lawrence

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


--
nosy:  -BreamoreBoy

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



[issue20384] os.open() exception doesn't contain file name on Windows

2014-02-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +georg.brandl

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



[issue20426] Compiling a regex with re.DEBUG should force a recompile

2014-02-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a7b180d5df5f by Antoine Pitrou in branch '3.3':
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug 
output every time it is called, regardless of the compilation cache.
http://hg.python.org/cpython/rev/a7b180d5df5f

New changeset a8bcfa290e68 by Antoine Pitrou in branch 'default':
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug 
output every time it is called, regardless of the compilation cache.
http://hg.python.org/cpython/rev/a8bcfa290e68

--
nosy: +python-dev

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



[issue20426] Compiling a regex with re.DEBUG should force a recompile

2014-02-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset e47f6883dedf by Antoine Pitrou in branch '2.7':
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug 
output every time it is called, regardless of the compilation cache.
http://hg.python.org/cpython/rev/e47f6883dedf

--

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



[issue6299] pyexpat build failure on Solaris 10 for 2.6.1/2.6.2

2014-02-03 Thread Tim Mooney

Tim Mooney added the comment:

I just tried Python 2.7.6 on x86_64-pc-openindiana151a9.   The core issue is 
still present.  It's not currently causing a build failure, but only because 
OpenIndiana 151a9 and Python are using the exact same version of Expat, so the 
headers that python's build process is mistakenly including from the operating 
system match the code that it's compiling internally.

My comment in msg97311 on 2010-01-06 is still valid.  If Python's build process 
is going to use internal expat, then it better ensure that the compilation 
flags it needs for that (including the -I) comes before the standard CFLAGS  
CPPFLAGS.

--

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



[issue20426] Compiling a regex with re.DEBUG should force a recompile

2014-02-03 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Ok, I've fixed the bug in all branches. Thanks for reporting!

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue7538] HP-UX 11.11 GCC build fails to build modules

2014-02-03 Thread Arfrever Frehtes Taifersar Arahesis

Arfrever Frehtes Taifersar Arahesis added the comment:

It is most likely a duplicate of bug #4366.

--
nosy: +Arfrever
resolution:  - duplicate
status: open - closed
superseder:  - cannot find -lpythonX.X when building Python on FreeBSD with 
--enable-shared

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



[issue5404] Cross-compiling Python

2014-02-03 Thread Stefan Krah

Stefan Krah added the comment:

Cross compiling for arm works here on Ubuntu:


$ cat config.site 
ac_cv_file__dev_ptmx=no
ac_cv_file__dev_ptc=no
$ export CONFIG_SITE=$PWD/config.site
$ ./configure --host=arm-linux-gnueabi --build=x86_64 --disable-ipv6
$ make


I cannot test though, since I don't have an arm platform.

--
nosy: +skrah

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



[issue19761] test_tk fails on OS X with multiple test case failures with both Tk 8.5 and 8.4

2014-02-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you Ned.

--
resolution:  - fixed
stage: commit review - committed/rejected
status: open - closed
type:  - behavior

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



[issue19320] Tkinter tests ran with wantobjects is false

2014-02-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue16074] Bad error message in os.rename, os.link, and os.symlink

2014-02-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

However it is still a bug in 3.3.

--
assignee: serhiy.storchaka - larry

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



[issue5404] Cross-compiling Python

2014-02-03 Thread Guido van Rossum

Changes by Guido van Rossum gu...@python.org:


--
nosy:  -gvanrossum

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



[issue20504] cgi.FieldStorage, multipart, missing Content-Length

2014-02-03 Thread Sebastian Rittau

New submission from Sebastian Rittau:

Consider the attached test case. This test will run fine with Python 2.7, but 
will fail with Python 3.3. If cgi.FieldStorage() tries to parse a multipart 
request without a Content-Length header in the main section, segments will have 
a length of 0.

During the parse process, two instances of FieldStorage are involved. The outer 
one reads the whole request and creates and delegates reading of the fragment 
to inner instances.

The main problem is that FieldStorage.read_lines_to_outerboundary() of the 
inner FieldStorage will read nothing, since self.limit is lower than zero.

def read_lines_to_outerboundary(self):
...
while 1:
if _read = self.limit:
break
...

This happens, since limit is passed when creating the inner instance in 
FieldStorage.read_multi():

def read_multi(self, environ, keep_blank_values, strict_parsing):
...
part = klass(self.fp, headers, ib, environ, keep_blank_values,
 strict_parsing,self.limit-self.bytes_read,
 self.encoding, self.errors)
...

Now, if the total request did not have a Content-Length header, self.limit will 
be -1.

The naive fix works for the test case, at least, but I don't know if there are 
other repercussions:

--- /usr/lib/python3.3/cgi.py   2014-02-03 22:31:16.649431125 +0100
+++ cgi.py  2014-02-03 22:32:14.849704379 +0100
@@ -788,7 +788,7 @@
 last_line_lfend = True
 _read = 0
 while 1:
-if _read = self.limit:
+if self.limit = 0 and _read = self.limit:
 break
 line = self.fp.readline(116) # bytes
 self.bytes_read += len(line)

--
components: Library (Lib)
files: cgi-bug.py
messages: 210166
nosy: srittau
priority: normal
severity: normal
status: open
title: cgi.FieldStorage, multipart, missing Content-Length
versions: Python 3.3
Added file: http://bugs.python.org/file33891/cgi-bug.py

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



[issue20491] textwrap: Non-breaking space not honored

2014-02-03 Thread Kaarle Ritvanen

Changes by Kaarle Ritvanen kaarle.ritva...@datakunkku.fi:


Added file: 
http://bugs.python.org/file33890/textwrap-honor-non-breaking-spaces.patch

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



[issue20368] Tkinter: handle the null character

2014-02-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue20474] test_socket failures on OS X due to fixed expected failures

2014-02-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 63efacd80f8e by Ned Deily in branch '3.3':
Issue #20474: Fix unexpected success test_socket failures on OS X 10.7+.
http://hg.python.org/cpython/rev/63efacd80f8e

New changeset 036671354dc0 by Ned Deily in branch 'default':
Issue #20474: Fix unexpected success test_socket failures on OS X 10.7+.
http://hg.python.org/cpython/rev/036671354dc0

--
nosy: +python-dev

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



[issue20474] test_socket failures on OS X due to fixed expected failures

2014-02-03 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
assignee:  - ned.deily
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2014-02-03 Thread Zachary Ware

Zachary Ware added the comment:

Vajrasky Kok wrote:
 However, there are some reviews that I could not implement.

 1. This is a good candidate for a custom return converter.

 I can not synchronize struct rlimit and NULL return values.

Looking again, that one is non-trivial, but still doable.  You just need a 
this means an error happened value to initialize rl to, and return that value 
instead of NULL.

 2. Should be 'class float PyFloatObject * PyFloat_Type'.  Using
 PyFloatObject * instead of PyObject * may require some casts to
 PyObject * in some places, but it's better to use the real name.

 I tried it but it was like opening pandora box. It's too much effort
 to surpress compile errors and warnings. And casting PyFloatObject
 to PyObject in many places, such as functions, macros, makes me
 nervous. I think this one deserves a dedicated ticket.

It didn't look too bad to me.  There are already several places where a value 
is cast back and forth between PyObject and PyFloatObject.  Giving 'self' the 
right type allows a couple of casts to be removed, and the ones that have to be 
added are almost exclusively in calls to PyFloat_AsDouble or the 
CONVERT_TO_DOUBLE macro (which looks like it can just do the casts itself 
without much issue).  I would vote for making PyFloat_AsDouble expect 
PyFloatObject instead of PyObject, but since (I think?) it looks like it's part 
of the stable ABI, I'm not sure if that would fly.

See http://hg.python.org/sandbox/zware/rev/51473d8c23f8 for a patch on your 
patch that uses PyFloatObject, compiles cleanly (on win32, at least), and 
passes relevant tests (though I haven't run the full test suite on this yet; it 
takes forever on this PC).

I have a few more review comments that I hope to get posted later this evening.

The patch is looking pretty good overall, though!

--

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



[issue20494] Backport of http://bugs.python.org/issue11849 to Python 2.7 (Make it more likely for the system allocator to release free()d memory arenas on glibc-based systems).

2014-02-03 Thread Benjamin Peterson

Benjamin Peterson added the comment:

It seems you actually want the second patch on that issue not the first.

--
nosy: +benjamin.peterson

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



[issue20505] Remove resolution from selectors and granularity from asyncio

2014-02-03 Thread STINNER Victor

New submission from STINNER Victor:

To solve a performance issue in asyncio, I added a new resolution attribute to 
selectors.BaseSelector and a new _granularity attribute to 
asyncio.BaseEventLoop. If I understood correctly, Charles-François (author and 
so maintainer of the new selectors module) doesn't like the new resolution 
attribute because it is a lie (if I understood correctly Charles-François 
complain).

He's right: the kernel can use a clock with a worse resolution. For example, on 
Linux kernel older than 2.6.28, all selectors (select, poll, epoll) had a 
resolution of 1/HZ where HZ is usually 100, 250 or 1000. So the best resolution 
was 1 ms (10^-3), whereas the timeval structure used in select() has a 
resolution of 1 us (10^-6).

On Windows, there is a different issue: the clock used by time.monotonic() has 
a resolution of 15.6 ms, whereas the type to describe the timeouf of the 
proactor selector (GetQueuedCompletionStatus function) has a resolution of 1 
ms. So the resolution of the clock, 
time.get_clock_info('monotonic').resolution, should also be used.

Attached patch removes the two new attributes to make the code simpler.

I created this issue to reopen the discussion, but I would prefer to keep the 
attributes. I wrote the patch to be able to compare the different options. It's 
just to ensure that everyone agree on the solution.

The patch is a comprise, it solves partially the asyncio performance issue. 
With the patch, BaseEventLoop._run_once() may not executed a task even if there 
was a scheduled task, just because of timing rounding issues. So I modified the 
existing patch to tolerate useless calls to _run_once().

It was hard for me to analyze and choose the best solution for these issues 
because on my Fedora 20 (Linux kernel 3.12), the timings look perfect. I'm 
unable to reproduce the sporadic timing issues (selector sleeping 8 ms or 9 ms 
whereas we asked to sleep 10 ms), whereas the test failed on many different 
buildbots. I suppose that depending on the hardware and the Linux kernel 
version, the exact resolution selectors is very different.

I didn't test the patch on Windows yet.

See issues #20311 and #20452 for the background and raw numbers.

Note: the test_timeout_rounding() test of test_asyncio now pass on all 
buildbots: various platforms, selectors and hardwares.

Note 2: If we decide to keep the BaseSelector.resolution attribute, I hesitate 
to replace it with a method because we might improve the read resolution later, 
which may require to execute code. For example, on Linux older than 2.6.28, the 
resolution can be computed by retrieving the HZ constant. It requires to check 
the OS and kernel version.

--
files: remove_granularity.patch
keywords: patch
messages: 210170
nosy: gvanrossum, haypo, neologix
priority: normal
severity: normal
status: open
title: Remove resolution from selectors and granularity from asyncio
versions: Python 3.4
Added file: http://bugs.python.org/file33892/remove_granularity.patch

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



[issue20494] Backport of http://bugs.python.org/issue11849 to Python 2.7 (Make it more likely for the system allocator to release free()d memory arenas on glibc-based systems).

2014-02-03 Thread Benjamin Yolken

Changes by Benjamin Yolken yol...@twitter.com:


Removed file: http://bugs.python.org/file33881/memory_fix.patch

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



[issue20506] Command to display all available Import Library

2014-02-03 Thread Arup Chakravarty

New submission from Arup Chakravarty:

Have a built-in mechanism to display all available import libraries within the 
interpreter. Like what is available through the built-in dir function.

--
components: Library (Lib)
messages: 210171
nosy: arupchakrav
priority: normal
severity: normal
status: open
title: Command to display all available Import Library
type: enhancement
versions: Python 2.7

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



[issue17393] stdlib import mistaken for local by import_fixer

2014-02-03 Thread Cédric Krier

Changes by Cédric Krier cedric.kr...@b2ck.com:


--
nosy: +ced

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



[issue20506] Command to display all available Import Library

2014-02-03 Thread Benjamin Peterson

Benjamin Peterson added the comment:

 import sys
 sys.modules.keys()
['google', 'copy_reg', 'sre_compile', '_sre', 'encodings', 'site', 
'__builtin__', 'sysconfig', '__main__', 'encodings.encodings', 'abc', 
'posixpath', '_weakrefset', 'errno', 'encodings.codecs', 'sre_constants', 're', 
'_abcoll', 'types', '_codecs', 'encodings.__builtin__', '_warnings', 
'genericpath', 'stat', 'zipimport', '_sysconfigdata', 'warnings', 'UserDict', 
'encodings.utf_8', 'sys', 'codecs', 'readline', 'os.path', 'signal', 
'traceback', 'linecache', 'posix', 'encodings.aliases', 'exceptions', 
'sre_parse', 'os', '_weakref']

--
nosy: +benjamin.peterson
resolution:  - rejected
status: open - closed

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



[issue20506] Command to display all available Import Library

2014-02-03 Thread Antoine Pitrou

Antoine Pitrou added the comment:

This is not what the OP asked, AFAICT. sys.modules is just the set of currently 
imported modules, not all potentially importable modules.

--
nosy: +pitrou

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



[issue20506] Command to display all available Import Library

2014-02-03 Thread Benjamin Peterson

Benjamin Peterson added the comment:

I guess I have no idea what the OP is asking for then. dir() certainly only 
gives immediately available builtins.

--

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



[issue15216] Support setting the encoding on a text stream after creation

2014-02-03 Thread Nikolaus Rath

Nikolaus Rath added the comment:

I think that any API that gives you a TextIOWrapper object with undesired 
properties is broken and needs to be fixed, rather than a workaround added to 
TextIOWrapper. 

That said, I defer to the wisdow of the core developers, and I'll be happy to 
implement whatever is deemed to be the right thing(tm). However, my opinion on 
this feature probably makes me unsuitable to drive a PEP for it :-).

--

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



[issue20485] Enable 'import Non-ASCII.pyd'

2014-02-03 Thread Suzumizaki

Suzumizaki added the comment:

Thank you Nick, I understand the behavior of this issue should be written on 
PEP.

By the way, Can I continue the discussion here? or is there elsewhere suitable 
place for the PEP?

--

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



[issue15216] Support setting the encoding on a text stream after creation

2014-02-03 Thread Nikolaus Rath

Nikolaus Rath added the comment:

Newest version of the patch attached, the reference leak problem has been fixed.

--
Added file: http://bugs.python.org/file33893/set_encoding-6.patch

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



[issue20506] Command to display all available Import Library

2014-02-03 Thread Raymond Hettinger

Raymond Hettinger added the comment:

+1 for the OP's original idea (something like a dir_modules() function that 
lists out all possible imports).

I think something like this must already be present in some of the Python 
front-ends such as ipython and bpython.  That is how they support 
tab-completion for imports:

In [1]: import co
code codeop   colorsys compileall   contextlib   copy
codecs   collections  commands compiler cookielibcopy_reg

In [1]: import re
rereadline  repr  requests  resource  reverend  rexec

--
nosy: +brett.cannon, rhettinger
priority: normal - low
resolution: rejected - 
status: closed - open
versions: +Python 3.5 -Python 2.7

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



[issue20494] Backport of http://bugs.python.org/issue11849 to Python 2.7 (Make it more likely for the system allocator to release free()d memory arenas on glibc-based systems).

2014-02-03 Thread Benjamin Yolken

Benjamin Yolken added the comment:

Ahh, didn't see the better resolution patch later in the issue. I've updated 
the Python 2.7 patch here accordingly.

--
Added file: http://bugs.python.org/file33894/memory_fix_updated2.patch

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



[issue20494] Backport of http://bugs.python.org/issue11849 to Python 2.7 (Make it more likely for the system allocator to release free()d memory arenas on glibc-based systems).

2014-02-03 Thread Benjamin Yolken

Changes by Benjamin Yolken yol...@twitter.com:


Removed file: http://bugs.python.org/file33883/memory_fix_updated.patch

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



[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark

2014-02-03 Thread Berker Peksag

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


--
nosy: +mark.dickinson, skrah

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



[issue20451] os.exec* mangles argv on windows (splits on spaces, etc)

2014-02-03 Thread Florian Bruhin

Florian Bruhin added the comment:

I can't test this right now, but I'd guess you also have to escape a  inside 
an argument (with \ presumably), and a \ with \\. Maybe more, no idea.

Actually the documentation doesn't say anything about me _having_ to escape 
anything, so I'd assume I don't have to. I'm calling a python function after 
all, and not using a shell.

--

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



[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-02-03 Thread Ralf Gommers

Changes by Ralf Gommers ralf.gomm...@gmail.com:


--
nosy: +ralf.gommers

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



<    1   2   3   4