[issue5411] Add xz support to shutil

2014-08-04 Thread Éric Araujo
Éric Araujo added the comment: I’m afraid I changed computers once or twice since I worked on that, so I can’t readily find my clone and get the latest patch. I know where the hard drives are but I can’t say when I will have time to search them. -- assignee: eric.araujo -> _

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19055] Regular expressions: * does not match as many repetitions as possible.

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: I agree. -- resolution: -> works for me stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue21973] Idle should not quit on corrupted user config files

2014-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Some background context before I comment on the patch: Printing warnings to a console is a flawed idea. It does not work on Windows when Idle is run with pythonw and there is no console to write to. This is the normal case on Windows and, I suspect, the majori

[issue20056] Got deprecation warning when running test_shutil.py on Windows NT 6

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Even if the problem is not in test_shutil, those warnings shouldn't be there. Vajrasky, can you check if you can still reproduce this issue, and see if you can fix it (either by converting the filenames to unicode, or by silencing the warnings)? -- compo

[issue17923] test glob with trailing slash fail on AIX 6.1

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Someone on AIX should verify this patch and confirm that it fixes the issue (and if Python 3 is affected or not). -- keywords: +easy title: test glob with trailing slash fail -> test glob with trailing slash fail on AIX 6.1 _

[issue17923] test glob with trailing slash fail on AIX 6.1

2014-08-04 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +David.Edelsohn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue11955] 3.3 : test_argparse.py fails 'make test'

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9a410ae785ff by Ezio Melotti in branch '3.4': #11955: show the list of args in case of error in test_argparse. http://hg.python.org/cpython/rev/9a410ae785ff New changeset 25e634756f79 by Ezio Melotti in branch 'default': #11955: merge with 3.4. http

[issue11955] 3.3 : test_argparse.py fails 'make test'

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: I applied my patch, but that doesn't fix the original issue -- it just provides a better error message in case of failure. -- keywords: -patch stage: patch review -> needs patch versions: +Python 3.5 ___ Python tracke

[issue18069] Subprocess picks the wrong executable on Windows

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> docs@python components: +Documentation nosy: +docs@python stage: -> needs patch ___ Python tracker ___ ___

[issue22023] PyUnicode_FromFormat is broken on python 2

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> resolved type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-08-04 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Commit 33fb5600e9a1 causes 1 test failure in test suite of py (https://pypi.python.org/pypi/py). Test suite of py requires pytest (https://pypi.python.org/pypi/pytest) The failing test (test_excinfo_no_python_sourcecode) requires Jinja (htt

[issue22133] IDLE: Set correct WM_CLASS on X11

2014-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, do you know if the trivial addition of "class_='IDLE'" can have any ill effect on non-gnome systems? It looks sensible to me, and I see no effect on Windows. -self.top = top = WindowList.ListedToplevel(root, menu=self.menubar) +self.top = top =

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: Attached is a simple C test case for the same behavior. On my Linux machine this prints "This is insane!" on a ZFS partition and "Everything is okay" on an ext4 partition. The test case won't work unmodified on FreeBSD. Try commenting out the call to "utime

[issue22137] Test imaplib API on all methods specified in RFC 3501

2014-08-04 Thread Milan Oberkirch
New submission from Milan Oberkirch: I finished writing tests for all methods which are specified in RFC 3501 but left out extensions for now. The attached patch will trigger many resource warnings. Do you have an idea why the sockets aren't closed? -- files: imaplib_test_rfc3501.patch

[issue22130] Logging fileConfig behavior does not match documentation

2014-08-04 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: Those interested in this issue might also be interested in #19838, in which I demonstrate that utime(path, NULL) can set mtime to an *earlier* time on ZFS on Linux. -- title: Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS,

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-08-04 Thread Nick Coghlan
Nick Coghlan added the comment: I suspect there may also be a problem if executing pyc code generated the old way (this patch didn't bump the magic number, and doesn't really need to, so that case still needs to be handled). Restoring the runtime check should cover it (the test can craft a sui

[issue14534] Add method to mark unittest.TestCases as "do not run".

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: I left a few comments on rietveld. The patch should also include documentation. > Class decorator approach looks less obvious to me. [...] > But encountering the unittest.base_class decorator, I need to look in > the documentation and/or sources to understand how

[issue1186900] nntplib shouldn't raise generic EOFError

2014-08-04 Thread Lita Cho
Lita Cho added the comment: I'ved changed the comment to say Connection closed unexpectedly. -- Added file: http://bugs.python.org/file36264/nntplib_error_v2.patch ___ Python tracker _

[issue21973] Idle should not quit on corrupted user config files

2014-08-04 Thread ingrid
ingrid added the comment: Thanks for your feedback. I can try again when you have written the config warn function or I can try writing the config warn function. The tests aren't relevant anymore if the warning is raised in a tk message box. I think deleting the config files could potentially

[issue8232] webbrowser.open incomplete on Windows

2014-08-04 Thread Brandon Milam
Brandon Milam added the comment: I got rid of the __init__ for the WindowsDefault class that I asked about earlier and changed it to match the sub-classing model that the Unix browsers use. This caused some changes in the get function too. Due to the _isexecutable still not completely working,

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-08-04 Thread Lita Cho
Lita Cho added the comment: Hi David, I can take this on as I am learning the email api currently. -- nosy: +Lita.Cho ___ Python tracker ___ _

[issue8232] webbrowser.open incomplete on Windows

2014-08-04 Thread Zachary Ware
Changes by Zachary Ware : -- stage: needs patch -> patch review versions: +Python 3.5 -Python 3.1 ___ Python tracker ___ ___ Python-bug

[issue14534] Add method to mark unittest.TestCases as "do not run".

2014-08-04 Thread Akira Li
Akira Li added the comment: About the name: abstract_tests could be used e.g.: @abstract_tests class AbcSetTests(TestCase): # test abc.Set Set = abstract_property() def setUp(self): self.set = self.Set('abc') def test_difference(self): self.asser

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-08-04 Thread Lita Cho
Changes by Lita Cho : -- nosy: +jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue20170] Derby #1: Convert 137 sites to Argument Clinic in Modules/posixmodule.c

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0c57aba6b1a3 by Larry Hastings in branch 'default': Issue #20170: Convert posixmodule to use Argument Clinic. http://hg.python.org/cpython/rev/0c57aba6b1a3 -- nosy: +python-dev ___ Python tracker

[issue20170] Derby #1: Convert 137 sites to Argument Clinic in Modules/posixmodule.c

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: Gonna keep an eye on the buildbots and make sure I haven't caused any new breakage. Otherwise... fingers crossed, I think it's done! Thanks for the help everybody (particularly Zach!). -- ___ Python tracker

[issue20170] Derby #1: Convert 137 sites to Argument Clinic in Modules/posixmodule.c

2014-08-04 Thread Larry Hastings
Changes by Larry Hastings : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue22138] patch.object doesn't restore function defaults

2014-08-04 Thread Clint Hepner
New submission from Clint Hepner: Following a patch, a function's __defaults__ attribute is reset to None. def foo(x=5): return x assert foo() == 5 # As expected with unittest.mock.patch.object(foo, '__defaults__', (10,)): assert foo() == 10 # As expected asse

[issue16037] httplib: header parsing is unlimited

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5e310c6a8520 by Berker Peksag in branch '2.7': Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more http://hg.python.org/cpython/rev/5e310c6a8520 -- ___ Python tracker

[issue16037] httplib: header parsing is unlimited

2014-08-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patches Jyrki and Daniel. -- nosy: +berker.peksag versions: -Python 2.7 ___ Python tracker ___ __

[issue22138] patch.object doesn't restore function defaults

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: The issue seems to affect special attributes that can't be deleted. In Lib/unittest/mock.py:1329, patch() tried to delete the attribute, and then, if it doesn't exist, it restores the previous value. However some special attributes exist even after they are dele

[issue17665] convert test_wsgiref to idiomatic unittest code

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed superseder: -> Use specific asserts in urllib related tests ___ Python tracker __

[issue15759] "make suspicious" doesn't display instructions in case of failure

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for fixing this! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue22105] Idle: Hang during File "Save As"

2014-08-04 Thread Joe Gaspard
Joe Gaspard added the comment: Today the "memory" problem repeated, and I was ale to get more info: While displaying results of program execution in IDLE, two "memory problem" pop-ups were displayed. Selecting " recovery activate" buttons did not help. The lower right "Ln count" was 5,xxx,x

[issue21928] Incorrect reference to partial() in functools.wraps documentation

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9e3c367b45a1 by Ezio Melotti in branch '3.4': #21928: clarify functools.wraps docs. http://hg.python.org/cpython/rev/9e3c367b45a1 New changeset 5a58f6e793cc by Ezio Melotti in branch 'default': #21928: merge with 3.4. http://hg.python.org/cpython/re

[issue21928] Incorrect reference to partial() in functools.wraps documentation

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue22133] IDLE: Set correct WM_CLASS on X11

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I see no effect on KDE. We should change window class also for other toplevel windows (from stack viewer to calltip). And for turtledemo and other gui demos too. -- ___ Python tracker

[issue21972] Bugs in the lexer and parser documentation

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue22000] cross type comparisons clarification

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue22014] Add summary table for OS exception <-> errno mapping

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch type: -> enhancement ___ Python tracker ___ ___ Python-bugs-l

[issue22060] Clean up ctypes.test, use unittest test discovery

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22118] urljoin fails with messy relative URLs

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti, orsenthil stage: -> needs patch ___ Python tracker ___ ___ Python-b

[issue22071] Remove long-time deprecated attributes from smtpd

2014-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> patch review type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue22136] Fix _tkinter compiler warnings on MSVC

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm surprised that this caused a warning. In man page Tcl_GetObjType() is described as Tcl_ObjType * Tcl_GetObjType(typeName) and in header file it is declared as EXTERN Tcl_ObjType *Tcl_GetObjType _ANSI_ARGS_((char * typeName)); Tcl_ObjTy

[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: Result: Before: 1407219004 988716892 After: 1407219004 0 Before <= After 0 This is insane! -- ___ Python tracker ___

[issue22120] Code Argument Clinic has a warning

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: The title for this bug was almost offensively generic; it was hard to find in my email. If this new one is inaccurate, fix it--but please pick something more specific. Attached is a patch for the "_return_value == -1" behavior for unsigned. -- title:

[issue22120] Return converter code generated by Argument Clinic has a warning for unsigned types

2014-08-04 Thread Larry Hastings
Changes by Larry Hastings : -- title: Code Argument Clinic has a warning -> Return converter code generated by Argument Clinic has a warning for unsigned types ___ Python tracker _

<    1   2