[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/m

[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 ___ ___

[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 Unsubscrib

[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.storc

[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 sever

[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 priorit

[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 li

[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 li

[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 li

[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, me

[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

[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 us

[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 ___

[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 keyw

[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 _

[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 p

[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 ___ ___ Pyth

[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 r

[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

[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

[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

[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 ___

[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 ___ ___ Py

[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 ___ ___ Py

[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 _

[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 ___ ___ Py

[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

[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 ___

[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 sev

[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,

[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, ser

[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

[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: nor

[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,

[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, j

[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:

[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 li

[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 li

[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 li

[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 li

[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 ___

[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 li

[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 ___ __

[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.st

[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

[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 sev

[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.storch

[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 li

[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 li

[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, m

[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 li

[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 li

[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 ___

[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

[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

[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. --

[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

[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 ___ __

[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 li

[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 ___

[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 ___ ___

[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 a

[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 ___

[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 ___ _

[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 buildin

[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 ___

[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-st

[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:

[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 ___ _

[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

[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

[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

[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

[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

[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 changi

[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 w

[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, benjami

[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

[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: ben

[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

[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 fam

[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

[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 ___ ___ Pyth

[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 ___

[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

[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

[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

[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 m

[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)

[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 ___

[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 __

[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 ___ _

[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

[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 ___ _

[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

[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 b

[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(dif

[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 ___ _

[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

[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,

  1   2   >