[issue1859] textwrap doesn't linebreak on "\n"

2014-06-24 Thread paul j3

Changes by paul j3 :


--
nosy: +paul.j3

___
Python tracker 

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



[issue21834] Fix a number of tests in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
components: +Unicode
dependencies: +Fix unicodeless build of Python
nosy: +ezio.melotti, haypo

___
Python tracker 

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



[issue21833] Fix unicodeless build of Python

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
components: +Unicode
nosy: +haypo

___
Python tracker 

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



[issue21836] Fix sqlite3 in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the sqlite3 module and it's tests for Python built with 
--disable-unicode configure option.

--
components: Extension Modules, Library (Lib), Tests
files: sqlite.patch
keywords: patch
messages: 221405
nosy: ghaering, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix sqlite3 in unicodeless build
type: compile error
versions: Python 2.7
Added file: http://bugs.python.org/file35747/sqlite.patch

___
Python tracker 

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



[issue21835] Fix Tkinter in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the Tkinter module and it's tests for Python built with 
--disable-unicode configure option.

--
components: Build, Tests, Tkinter
files: tkinter.patch
keywords: patch
messages: 221404
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix Tkinter in unicodeless build
type: compile error
versions: Python 2.7
Added file: http://bugs.python.org/file35746/tkinter.patch

___
Python tracker 

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



[issue21837] Fix tarfile in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the tarfile module and it's tests for Python built with 
--disable-unicode configure option.

--
components: Library (Lib), Tests
files: tarfile.patch
keywords: patch
messages: 221406
nosy: lars.gustaebel, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix tarfile in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35748/tarfile.patch

___
Python tracker 

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



[issue21835] Fix Tkinter in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21836] Fix sqlite3 in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21837] Fix tarfile in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21838] Fix ctypes in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the ctypes module and it's tests for Python built with 
--disable-unicode configure option.

--
components: Library (Lib), Tests, ctypes
files: ctypes.patch
keywords: patch
messages: 221407
nosy: amaury.forgeotdarc, belopolsky, meador.inge, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix ctypes in unicodeless build
type: behavior
Added file: http://bugs.python.org/file35749/ctypes.patch

___
Python tracker 

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



[issue21839] Fix distutils in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes distutils and it's tests for Python built with the 
--disable-unicode configure option.

--
components: Distutils, Tests
messages: 221408
nosy: dstufft, eric.araujo, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix distutils in unicodeless build
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



[issue21833] Fix unicodeless build of Python

2014-06-24 Thread Ned Deily

Ned Deily added the comment:

Note MvL's comment (msg161191 in Issue8767) about not fixing test cases for 
--disable-unicode here.  This seems like a tremendous amount of code churn for 
a problem that has likely been around for years and would affect very few.  How 
widely is --disable-unicode used anyway?  Why fix these tests now, especially 
in 2.7?

--
nosy: +loewis, ned.deily

___
Python tracker 

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



[issue21839] Fix distutils in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
keywords: +patch
Added file: http://bugs.python.org/file35750/distutils.patch

___
Python tracker 

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



[issue21840] Fix os.path in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes os.path implementations and their's tests for Python built 
with --disable-unicode configure option.

It also fixes a bug in posixpath which affects unicode build too.

--
components: Library (Lib), Tests
files: os_path.patch
keywords: patch
messages: 221410
nosy: loewis, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix os.path in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35751/os_path.patch

___
Python tracker 

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



[issue21833] Fix unicodeless build of Python

2014-06-24 Thread STINNER Victor

STINNER Victor added the comment:

I don't know anyone building Python without Unicode. I would prefer to modify 
configure to raise an error, and drop #ifdef in the code.

--

___
Python tracker 

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



[issue21841] Fix xml.sax in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the xml.sax module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
files: xml_sax.patch
keywords: patch
messages: 221412
nosy: christian.heimes, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix xml.sax in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35752/xml_sax.patch

___
Python tracker 

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



[issue21834] Fix a number of tests in unicodeless build

2014-06-24 Thread STINNER Victor

STINNER Victor added the comment:

I'm not sure that we should fix this issue: see the issue #21833.

--

___
Python tracker 

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



[issue21842] Fix IDLE in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes IDLE and it's tests for Python built with the 
--disable-unicode configure option.

--
components: IDLE, Tests
messages: 221414
nosy: kbk, roger.serwy, serhiy.storchaka, terry.reedy
priority: normal
severity: normal
stage: patch review
status: open
title: Fix IDLE in unicodeless build
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



[issue21836] Fix sqlite3 in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue21835] Fix Tkinter in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue21837] Fix tarfile in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue21838] Fix ctypes in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python
nosy: +benjamin.peterson
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



[issue21839] Fix distutils in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python
nosy: +benjamin.peterson

___
Python tracker 

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



[issue21841] Fix xml.sax in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python
nosy: +benjamin.peterson

___
Python tracker 

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



[issue21842] Fix IDLE in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python
keywords: +patch
nosy: +benjamin.peterson
Added file: http://bugs.python.org/file35753/idle.patch

___
Python tracker 

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



[issue21840] Fix os.path in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python
nosy: +benjamin.peterson

___
Python tracker 

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



[issue21843] Fix doctest in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the doctest module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
files: doctest.patch
keywords: patch
messages: 221415
nosy: benjamin.peterson, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix doctest in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35754/doctest.patch

___
Python tracker 

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



[issue21832] collections.namedtuple does questionable things when passed questionable arguments

2014-06-24 Thread STINNER Victor

STINNER Victor added the comment:

IMO we should rewrite the implementation of namedtuple to avoid completly 
eval(). But there is the problem of the _source attribute: #19640.

--
nosy: +haypo

___
Python tracker 

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



[issue21844] Fix HTMLParser in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the HTMLParser module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
messages: 221417
nosy: benjamin.peterson, ezio.melotti, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix HTMLParser in unicodeless build
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



[issue21845] Fix plistlib in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the plistlib module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
files: plistlib.patch
keywords: patch
messages: 221418
nosy: benjamin.peterson, ronaldoussoren, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix plistlib in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35755/plistlib.patch

___
Python tracker 

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



[issue21846] Fix zipfile in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the zipfile module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
files: zipfile.patch
keywords: patch
messages: 221420
nosy: alanmcintyre, benjamin.peterson, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix zipfile in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35756/zipfile.patch

___
Python tracker 

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



[issue21844] Fix HTMLParser in unicodeless build

2014-06-24 Thread Ezio Melotti

Ezio Melotti added the comment:

You forgot to attach the patch :)

--
assignee:  -> ezio.melotti

___
Python tracker 

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



[issue21847] Fix xmlrpc in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the xmlrpc module and it's tests for Python built with the 
--disable-unicode configure option.

--
components: Library (Lib), Tests
messages: 221421
nosy: benjamin.peterson, loewis, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix xmlrpc in unicodeless build
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



[issue21848] Fix logging in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the logging module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
files: logging.patch
keywords: patch
messages: 221422
nosy: benjamin.peterson, serhiy.storchaka, vinay.sajip
priority: normal
severity: normal
stage: patch review
status: open
title: Fix logging  in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35757/logging.patch

___
Python tracker 

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



[issue21849] Fix multiprocessing in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the multiprocessing module and it's tests for Python built 
with the --disable-unicode configure option.

--
components: Library (Lib), Tests
files: multiprocessing.patch
keywords: patch
messages: 221423
nosy: benjamin.peterson, jnoller, sbt, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix multiprocessing in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35758/multiprocessing.patch

___
Python tracker 

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



[issue21850] Fix httplib and SimpleHTTPServer in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the httplib and the SimpleHTTPServer modules for Python 
built with the --disable-unicode configure option.

--
components: Library (Lib), Tests
messages: 221424
nosy: benjamin.peterson, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix httplib and SimpleHTTPServer in unicodeless build
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



[issue21843] Fix doctest in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21845] Fix plistlib in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21846] Fix zipfile in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21849] Fix multiprocessing in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21847] Fix xmlrpc in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python
keywords: +patch
Added file: http://bugs.python.org/file35759/xmlrpc.patch

___
Python tracker 

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



[issue21848] Fix logging in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21850] Fix httplib and SimpleHTTPServer in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python
keywords: +patch
Added file: http://bugs.python.org/file35760/http.patch

___
Python tracker 

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



[issue21851] Fix gettext in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the gettext module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
files: gettext.patch
keywords: patch
messages: 221425
nosy: benjamin.peterson, loewis, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix gettext in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35761/gettext.patch

___
Python tracker 

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



[issue21853] Fix inspect in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the inspect module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
messages: 221427
nosy: benjamin.peterson, serhiy.storchaka, yselivanov
priority: normal
severity: normal
stage: patch review
status: open
title: Fix inspect in unicodeless build
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



[issue21852] Fix optparse in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the optparse module and it's tests for Python built with 
the --disable-unicode configure option.

--
files: optparse.patch
keywords: patch
messages: 221426
nosy: aronacher, benjamin.peterson, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix optparse in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35762/optparse.patch

___
Python tracker 

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



[issue21854] Fix cookielib in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the cookielib module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
files: cookielib.patch
keywords: patch
messages: 221428
nosy: benjamin.peterson, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix cookielib in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35763/cookielib.patch

___
Python tracker 

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



[issue21852] Fix optparse in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21851] Fix gettext in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21855] Fix decimal in unicodeless build

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch fixes the decimal module and it's tests for Python built with 
the --disable-unicode configure option.

--
components: Library (Lib), Tests
files: decimal.patch
keywords: patch
messages: 221429
nosy: benjamin.peterson, facundobatista, mark.dickinson, rhettinger, 
serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix decimal in unicodeless build
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file35764/decimal.patch

___
Python tracker 

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



[issue21855] Fix decimal in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21854] Fix cookielib in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue21853] Fix inspect in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python
keywords: +patch
Added file: http://bugs.python.org/file35765/inspect.patch

___
Python tracker 

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



[issue21833] Fix unicodeless build of Python

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue21834] Fix a number of tests in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue21833] Fix unicodeless build of Python

2014-06-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I think the purpose of this option is similar to --without-doc-strings, this 
decreases the size of Python binary (-0.5 MB).

Most needed changes are pretty trivial and they are only small fraction of 
already existing code for supporting --disable-unicode.

--
nosy: +skrah

___
Python tracker 

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



[issue21833] Fix unicodeless build of Python

2014-06-24 Thread Ned Deily

Ned Deily added the comment:

Serhly, I admire you for all of the obvious effort you put into this but I 
can't help but think it is misplaced effort.  My original comment was made 
before you submitted all of the other patches.  As it stands, to proceed with 
this, there are now tens of thousands of lines of patches to be reviewed.  It 
will take a lot of effort on a lot of people's part to properly review them.  
And even then, no matter how careful you were, there will be new bugs 
introduced by these patches.  If it takes that much change to properly support 
--disable-unicode, then it's clearly been a broken feature and fixing it now is 
on the scale of a large new feature for 2.7.  That just doesn't seem to me like 
a good choice based on the need for core developers' time and the added risk 
for the overwhelming majority of Python 2.7 users, who use Unicode-enabled 
builds.  I think we need to have a discussion on python-dev and a ruling by 
Benjamin.

--

___
Python tracker 

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



[issue21844] Fix HTMLParser in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Sorry.

--
keywords: +patch
Added file: http://bugs.python.org/file35766/htmlparser.patch

___
Python tracker 

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



[issue21844] Fix HTMLParser in unicodeless build

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Fix unicodeless build of Python

___
Python tracker 

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



[issue12179] Race condition using PyGILState_Ensure on a new thread

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

Can one of you on the nosy list pick this up please, it's way out of my league.

--
nosy: +BreamoreBoy

___
Python tracker 

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



[issue12137] Error EBADF in test_urllibnet

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

No longer an issue?

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

___
Python tracker 

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



[issue21833] Fix unicodeless build of Python

2014-06-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Ned, I think you misunderstood Martin. He approved patch which fixes some 
disabled-unicode bugs. He noted that fixing a number of test failures has very 
low priority. This issue is about fixing the possibility of build Python and 
run test suite itself. And all other issues (except issue21834) fixes bugs in 
stdlib, not only in tests (issue21835 and issue21836 also fixes compile 
errors).

--

___
Python tracker 

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



[issue12201] Returning FILETIME is unsupported in msilib.SummaryInformation.GetProperty()

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

@Martin/Steve do you consider this enhancement request worth pursuing?

--
nosy: +BreamoreBoy, steve.dower

___
Python tracker 

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



[issue10514] configure does not create accurate Makefile on AIX

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

Is this still a problem as AIX is now up to (at least) 7.1?

--
nosy: +BreamoreBoy
type:  -> behavior

___
Python tracker 

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



[issue21833] Fix unicodeless build of Python

2014-06-24 Thread STINNER Victor

STINNER Victor added the comment:

IMO supporting building Python 2 without Unicode support should be discussed on 
the python-dev mailing list, it's not an innocent change.

Python is moving strongly to Unicode: Python 3 uses Unicode by default. So to 
me it sounds really weird to work on building Python 2 without Unicode support. 
It means that you may have "Python 2" and "Python 2 without Unicode" which are 
not exactly the same language. IMO u"unicode" is part of the Python 2 language.

--disable-unicode is an old option added while Python 1.5 was very slowly 
moving to Unicode.

--

I have the same opinion on --without-thread option (we should stop supporting 
it, this option is useless). I worked in the embedded world, Python used for 
the UI of a TV set top box. Even if the hardware was slow and old, Python was 
compiled with threads and Unicode. Unicode was mandatory to handle correctly 
letters with diacritics.

--

___
Python tracker 

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



[issue12215] TextIOWrapper: issues with interlaced read-write

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

Does anybody want to follow up on this?  #12213 was closed as fixed, #12513 is 
still open.

--
nosy: +BreamoreBoy

___
Python tracker 

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



[issue6094] Python fails to build with Subversion 1.7

2014-06-24 Thread Suman

Suman added the comment:

I am trying to install Python 2.7.7 or 2.7.3 in one of my linux machine which 
has RHEL 6.4.

  I am getting the same error, that is mentioned in this bug. I am pasting it 
below. Please let me know, what should i do here. 

ser Python-2.7.7]# make
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE \
  -DSVNVERSION="\"`LC_ALL=C echo Unversioned directory`\"" \
  -DHGVERSION="\"`LC_ALL=C `\"" \
  -DHGTAG="\"`LC_ALL=C `\"" \
  -DHGBRANCH="\"`LC_ALL=C `\"" \
  -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
gcc.orig: directory": No such file or directory
: warning: missing terminating " character
./Modules/getbuildinfo.c: In function ?_Py_svnversion?:
./Modules/getbuildinfo.c:63: error: missing terminating " character
./Modules/getbuildinfo.c:63: error: expected expression before ?;? token
make: *** [Modules/getbuildinfo.o] Error 1

--
nosy: +suman_pas

___
Python tracker 

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



[issue21856] memoryview: no overflow on large slice values (start, stop, step)

2014-06-24 Thread STINNER Victor

New submission from STINNER Victor:

As I following up to the issue #21831, I don't understand why 
memoryview[2**100:] doesn't raise an overflow error!? It looks like a bug.

Attached patch changes the behaviour to raise an OverflowError.

--
messages: 221441
nosy: haypo, skrah
priority: normal
severity: normal
status: open
title: memoryview: no overflow on large slice values (start, stop, step)

___
Python tracker 

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



[issue21331] Reversing an encoding with unicode-escape returns a different result

2014-06-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Note that 'raw-unicode-escape' is used in pickle protocol 0. Changing it can 
break compatibility.

--

___
Python tracker 

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



[issue21856] memoryview: no overflow on large slice values (start, stop, step)

2014-06-24 Thread Stefan Krah

Stefan Krah added the comment:

It's a slice of length zero:

>>> b = bytearray([1,2,3,4])
>>> m = memoryview(b)
>>>
>>> b2 = b[2**100:]
>>> m2 = m[2**100:]
>>>
>>> list(b2)
[]
>>> list(m2)
[]
>>>

--

___
Python tracker 

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



[issue8630] Keepends param in codec readline(s)

2014-06-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


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

___
Python tracker 

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



[issue21857] assert that functions clearing the current exception are not called with an exception set

2014-06-24 Thread STINNER Victor

New submission from STINNER Victor:

Attached patch detects (when Python is compiled in debug mode) if functions 
that may clear the current exception are called with an exception set.

The check avoids loosing an exception.

The problem is that the test_sqlite fails with the patch applied. I will open a 
new patch for that.

I already added similar checks in functions of Python/ceval.c.

--
files: assert_exc.patch
keywords: patch
messages: 221444
nosy: haypo
priority: normal
severity: normal
status: open
title: assert that functions clearing the current exception are not called with 
an exception set
versions: Python 3.5
Added file: http://bugs.python.org/file35767/assert_exc.patch

___
Python tracker 

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



[issue21858] Enhance error handling in the sqlite module

2014-06-24 Thread STINNER Victor

New submission from STINNER Victor:

The _sqlite module doesn't handle correctly Python errors. It may loose the 
current Python exception: test_sqlite fails when the patch of the issue #21857 
is applied.

Attached patch is a work-in-progress patch to fail earlier when Python raises 
an exception.

--
files: sqlite_error_handling-wip.patch
keywords: patch
messages: 221445
nosy: haypo
priority: normal
severity: normal
status: open
title: Enhance error handling in the sqlite module
versions: Python 3.5
Added file: http://bugs.python.org/file35768/sqlite_error_handling-wip.patch

___
Python tracker 

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



[issue21857] assert that functions clearing the current exception are not called with an exception set

2014-06-24 Thread STINNER Victor

STINNER Victor added the comment:

> The problem is that the test_sqlite fails with the patch applied. I will open 
> a new patch for that.

I opened the issue #21858 for that.

--

___
Python tracker 

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



[issue21331] Reversing an encoding with unicode-escape returns a different result

2014-06-24 Thread Marc-Andre Lemburg

Marc-Andre Lemburg added the comment:

On 24.06.2014 11:44, Serhiy Storchaka wrote:
> 
> Note that 'raw-unicode-escape' is used in pickle protocol 0. Changing it can 
> break compatibility.

Indeed. unicode-escape was also designed to be able to read back
raw-unicode-escape encoded data, so changing the decoder to not
accept Latin-1 code points would break that as well.

It may be better to simply create a new codec that rejects
non-ASCII encoded bytes when decoding and perhaps call
that 'unicode-repr'.

--

___
Python tracker 

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



[issue21708] Deprecate nonstandard behavior of a dumbdbm database

2014-06-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thanks Raymond for your attention.

Readonly warnings are emitted only when dumpdbm database opened in read only 
mode. They will be turned into exceptions in future (3.6 or 3.7). Annoying 
warnings on changed in future operations is desirable effect.

If you worry about performance hit of such checks, __setitem__ and __delitem__ 
are expensive operations doing file I/O.

--

___
Python tracker 

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



[issue21859] Add Python implementation of FileIO

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch adds Python implementation of FileIO in _pyio. This will help to 
make io and _pyio dependency on _io optional (issue17984).

--
components: IO, Library (Lib)
files: pyio_fileio.patch
keywords: patch
messages: 221449
nosy: alex, benjamin.peterson, hynek, pitrou, serhiy.storchaka, stutzbach
priority: normal
severity: normal
stage: patch review
status: open
title: Add Python implementation of FileIO
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file35769/pyio_fileio.patch

___
Python tracker 

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



[issue21670] Add repr to shelve.Shelf

2014-06-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I don't think this is right repr for shelve. As file's repr doesn't read and 
expose a content of a file, shelve's repr shouldn't read and expose all 
database content.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue21860] Correct FileIO docstrings

2014-06-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Docstrings for seek() and truncate() methods of FileIO declare that they return 
None. Actually they return truncated size and new position respectively.

--
assignee: docs@python
components: Documentation, IO
keywords: easy
messages: 221452
nosy: benjamin.peterson, docs@python, hynek, pitrou, serhiy.storchaka, stutzbach
priority: normal
severity: normal
stage: needs patch
status: open
title: Correct FileIO docstrings
type: behavior
versions: Python 2.7, 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



[issue21670] Add repr to shelve.Shelf

2014-06-24 Thread Claudiu Popa

Claudiu Popa added the comment:

Fair point, Serhiy. But I see the shelve more similar to a persistent, 
dictionary-like object, than to a file. The fact that it uses some database 
behind is just an implementation detail.

--

___
Python tracker 

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



[issue20092] type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not

2014-06-24 Thread Amitava Bhattacharyya

Amitava Bhattacharyya added the comment:

Hi Ethan, I tried adding a call to `nb_index` (if that slot exists) in 
`_PyLong_FromNbInt`, but that didn't work. Based on your comment it seems the 
fix would be to patch this at object creation. I will check where that happens 
(bear with me while I familiarize myself with the code base :) ).

--

___
Python tracker 

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



[issue21670] Add repr to shelve.Shelf

2014-06-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

When shelve stores its data on a disk, it is more similar to a file. After all, 
it can contain gigabytes of data, much larger than Python can address in RAM.

I you want more readable repr, I with Raymond, -- use the repr of the 
underlying db and add readable repr for dbm objects (including file name and 
open mode).

--

___
Python tracker 

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



[issue21670] Add repr to shelve.Shelf

2014-06-24 Thread Claudiu Popa

Claudiu Popa added the comment:

Alright, I agree with you now. You can close the issue if you want.

--

___
Python tracker 

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



[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2014-06-24 Thread Eli Bendersky

Eli Bendersky added the comment:

The patch looks reasonable? Is the only remaining problem with crafting the 
test?

--

___
Python tracker 

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



[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2014-06-24 Thread Eli Bendersky

Eli Bendersky added the comment:

[sorry, the first question mark shouldn't be - the patch indeed looks 
reasonable to me]

Steven - how about launching a subprocess for stdin tests to avoid weird issues?

--

___
Python tracker 

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



[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-06-24 Thread Claudiu Popa

Claudiu Popa added the comment:

It would be nice if this could be committed. It's cumbersome to always have to 
deactivate the AV solution when running the tests on Windows, in order to avoid 
a failure of test_httpservers.

--

___
Python tracker 

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



[issue20092] type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not

2014-06-24 Thread Ethan Furman

Ethan Furman added the comment:

Thank you for your efforts, Amitava.  Please also sign a Contributor's License 
Agreement so we can actually use your code.  :)

http://www.python.org/psf/contrib/

--

___
Python tracker 

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



[issue12215] TextIOWrapper: issues with interlaced read-write

2014-06-24 Thread Terry J. Reedy

Changes by Terry J. Reedy :


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

___
Python tracker 

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



[issue15588] quopri: encodestring and decodestring handle bytes, not strings

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

Just one small query on the patch (more for my own benefit than anything else). 
 In the rst file there's now no difference between the wording for the 
quotetabs positional argument to encode and the keyword argument to 
encodestring.  Is there a rule (of thumb) that covers this situation?  Other 
than that LGTM.

--

___
Python tracker 

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



[issue18780] SystemError when formatting int subclass

2014-06-24 Thread Ethan Furman

Ethan Furman added the comment:

Should this patch also go into the 3.3 branch?  It only went into 3.4.

If yes, how should I go about doing that?

--
assignee:  -> ethan.furman

___
Python tracker 

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



[issue12506] NIS module cant handle multiple NIS map entries for the same GID

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

@bjorn terribly sorry for the delay here :-(  Would you be able to supply a 
patch for this, including doc and unittest changes as appropriate?

--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 2.6, Python 3.1, Python 3.2, Python 3.3

___
Python tracker 

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



[issue21860] Correct FileIO docstrings

2014-06-24 Thread Terry Chia

Terry Chia added the comment:

Is this acceptable?

--
keywords: +patch
nosy: +terry.chia
Added file: http://bugs.python.org/file35770/issue21860.patch

___
Python tracker 

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



[issue12616] zip fixer fails on zip()[:-1]

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

@Benjamin can you take this on please?

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

___
Python tracker 

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



[issue12622] failfast argument to TextTestRunner not documented

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

Slipped under the radar?

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

___
Python tracker 

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



[issue12653] Provide accelerators for all buttons in Windows installers

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

Seems a reasonable idea, thoughts?

--
components: +Installation, Windows
nosy: +BreamoreBoy, steve.dower
type:  -> enhancement
versions: +Python 3.4, Python 3.5 -Python 3.3

___
Python tracker 

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



[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2014-06-24 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I recently saw the same message when developing an individual idle_test module 
on repository debug builds even though all class attributes were being deleted. 
One was an Idle EditorWindow. I solved the problem by deleting the class 
attributes other than root before root.destroy. I should recheck all 
modules/classes with attributes other than root.

--

___
Python tracker 

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



[issue21830] ssl.wrap_socket fails on Windows 7 when specifying ca_certs

2014-06-24 Thread David M Noriega

David M Noriega added the comment:

Oops, thats what I get for running with scissors. 

Yes, the cert file is in pem format. Its the same file in use on my ldap server 
and all my servers and workstations that authenticate against it. I have an 
existing python 2.x script using the python-ldap(different from python3-ldap) 
module that uses this exact same file and works correctly. 

I've tested with the socket code above on python 2 and 3 and it works on my 
linux systems and on Windows XP. I only get this error on a Windows 7 system.

--

___
Python tracker 

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



[issue12622] failfast argument to TextTestRunner not documented

2014-06-24 Thread Claudiu Popa

Claudiu Popa added the comment:

Mark, why not contributing a patch? Seems pretty straight forward to write it.

--
nosy: +Claudiu.Popa

___
Python tracker 

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



[issue21163] asyncio doesn't warn if a task is destroyed during its execution

2014-06-24 Thread Guido van Rossum

Guido van Rossum added the comment:

Patch looks good. Go ahead.

--
nosy: +Guido.van.Rossum

___
Python tracker 

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



[issue20069] Add unit test for os.chown

2014-06-24 Thread Vajrasky Kok

Vajrasky Kok added the comment:

Claudiu, I have revamped the test and put it in dedicated test class. Thanks!

1. About assertRaisesRegex, sorry, you're right. We can use it with "with" 
statement. Prior to this, I used it like this:

with self.assertRaisesRegex(PermissionError,
"Operation not permitted"):
bla
bla

Then I realized I have to use it like this:

with self.assertRaisesRegex(PermissionError,
"Operation not permitted") as _:
bla
bla

2. About this code, it is deliberate:

+with self.assertRaises(PermissionError) as cx:
+os.chown(support.TESTFN, uid_1, gid)
+os.chown(support.TESTFN, uid_2, gid)

Normal user does not have permission to use chown to change the user of the 
file. Basically, I need to find the other user other than the user of 
support.TESTFN. By using chown with two users, it will be guaranteed the case 
will be tried.

There is other way though, iterating all users and check whether the user is 
not the owner of support.TESTFN or not. If you object it, I can use this way.

--
Added file: http://bugs.python.org/file35771/add_unit_test_os_chown_v4.patch

___
Python tracker 

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



  1   2   >