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

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

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

[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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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

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

[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

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

[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

[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

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

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

[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

[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

[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

[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

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

[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

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

[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

[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

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

[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

[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

[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

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

[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

[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

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

[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

[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

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

[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

[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

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

[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

[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 Larry Hastings
Larry Hastings added the comment: And to further confirm, on my Linux machine with a ZFS partition: * stat() returns nanosecond resolution. * I have utimensat(), which supports nanosecond resolution. * The test code correctly sets "utime.now = 1", so it correctly calls utimensat() with a time p

[issue22128] patch: steer people away from codecs.open

2014-08-04 Thread Frank van Dijk
Frank van Dijk added the comment: > Marc-Andre Lemburg added the comment: > > Pointing people to io.open() as alternative to codecs.open() is a good idea, > but that doesn't make codecs.open() less useful. > > The reason why codecs.open() uses binary mode is to avoid issues with > automatic n

[issue20586] Argument Clinic: functions with valid sig but no docstring have no __text_signature__

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: This looks reasonable to me. However I'd also change _PyType_GetDocFromInternalDoc() so that it also returns None if the first byte of the doc is \0. -- ___ Python tracker _

[issue22136] Fix _tkinter compiler warnings on MSVC

2014-08-04 Thread Zachary Ware
New submission from Zachary Ware: Dropping support of Tk 8.3 caused a few compiler warnings on Windows: ..\Modules\_tkinter.c(587): warning C4090: '=' : different 'const' qualifiers ..\Modules\_tkinter.c(588): warning C4090: '=' : different 'const' qualifiers ..\Modules\_tkinter.c(589): wa

[issue14910] argparse: disable abbreviation

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: Updated patch -- Added file: http://bugs.python.org/file36260/issue14910_7.diff.txt ___ Python tracker ___

[issue20323] Argument Clinic: docstring_prototype output causes build failure on Windows

2014-08-04 Thread Zachary Ware
Zachary Ware added the comment: You're right, of course; I don't know how I got a non-screwball result in prior testing. Here's an updated patch. I have not come up with any better alternative. -- stage: -> patch review Added file: http://bugs.python.org/file36259/issue20323.v2.diff

[issue22134] string formatting float rounding errors

2014-08-04 Thread Ned Deily
Ned Deily added the comment: What you are seeing is due to the limitations of binary floating-point arithmetic. The issue is described in more detail in the Python tutorial: https://docs.python.org/2/tutorial/floatingpoint.html#tut-fp-issues -- nosy: +ned.deily resolution: -> not a b

[issue22135] allow to break into pdb with Ctrl-C for all the commands that resume execution

2014-08-04 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22135] allow to break into pdb with Ctrl-C for all the commands that resume execution

2014-08-04 Thread Xavier de Gaye
New submission from Xavier de Gaye: Pdb sets a handler for the SIGINT signal (which is sent when the user presses Ctrl-C on the console) when you give a continue command. 'continue' is not the only pdb command that may be interrupted, all the commands that resume the execution of the program (i

[issue5411] Add xz support to shutil

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Éric? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: I talked to puppet on IRC for a while and we figured out the following about his OS: * He has utime() and utimes(), but no utimensat(). * utimes() can write with *microsecond* resolution. * stat() reads the time with *nanosecond* resolution. (He has HAVE_STAT

[issue20766] reference leaks in pdb

2014-08-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: After refleak_3.patch, test_pdb_next_command_in_generator_for_loop is the only remaining test that sets a breakpoint without reinitializing the breakpoints numbering first. As a result, this test may also fail in the future when tests are reordered by the unit

[issue22097] Linked list API for ordereddict

2014-08-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Perhaps someone should make a blog post comparing > theoretical and actual performance of various data > types (hint hint ;-)). Great idea. Thanks Antoine. -- resolution: -> rejected stage: -> resolved status: open -> closed _

[issue15018] Incomplete Python LDFLAGS and CPPFLAGS used for extension modules on posix

2014-08-04 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue20181] Derby #12: Convert 50 sites to Argument Clinic across 4 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20184] Derby #16: Convert 50 sites to Argument Clinic across 9 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20183] Derby #14: Convert 41 sites to Argument Clinic across 5 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20178] Derby #9: Convert 52 sites to Argument Clinic across 11 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20177] Derby #8: Convert 28 sites to Argument Clinic across 2 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20171] Derby #2: Convert 115 sites to Argument Clinic in Modules/_cursesmodule.c

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- ___ Python tracker ___ ___ Python-

[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20179] Derby #10: Convert 50 sites to Argument Clinic across 4 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20174] Derby #5: Convert 50 sites to Argument Clinic across 3 files

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: All the Derby patches should only go into trunk at this point. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue20171] Derby #2: Convert 115 sites to Argument Clinic in Modules/_cursesmodule.c

2014-08-04 Thread Larry Hastings
Changes by Larry Hastings : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2014-08-04 Thread ingrid
ingrid added the comment: Here is a patch that will print a warning if there is an invalid config when starting idle. Example: Warning (from warnings module): File "/Users/ingrid/.idlerc/config-extensions.cfg", line 1 enable=1 MissingSectionHeaderError: File contains no section headers. I

[issue20172] Derby #3: Convert 67 sites to Argument Clinic across 4 files (Windows)

2014-08-04 Thread Zachary Ware
Zachary Ware added the comment: Here's an updated patch. It includes the patch from #20586 for proper signature/docstring output in _winapi. -- versions: +Python 3.5 -Python 3.4 Added file: http://bugs.python.org/file36256/issue20172.v7.diff ___ Pyt

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

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: Larry: Result of that: (gdb) print *utime Structure has no component named operator*. (gdb) print tv No symbol "tv" in current context. You can also catch me on IRC with the same nickname as here -- ___ Python track

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: Yup, you've got a debug build there. I'm baffled by that gdb "no debug info" line then. At line 4801 could you also print *utime print tv -- ___ Python tracker

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-04 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Did you find this issue with a setup.py file or with direct usage of dir_utils.copy_tree? These distutils modules are not meant for general use, so bugs that don’t occur during regular use of setup.py files will probably not get fixed. (

[issue1011113] Make “install” find the build_base directory

2014-08-04 Thread Éric Araujo
Éric Araujo added the comment: In my previous message I meant that I agreed with the original request, i.e. add --build-base to install. I will probably never have the time to write a patch. -- dependencies: -write a configure command status: pending -> open

[issue22134] string formatting float rounding errors

2014-08-04 Thread Larry
New submission from Larry: Certain values close to the rounding boundary are rounded down instead of up; and this is done somewhat inconsistently. #Example (python v2.7.8, and previous) #almost an odd-even pattern, but not quite for x in [1.045, 1.145, 1.245, 1.345, 1.445, 1.545, 1.645, 1.745

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! The other FAQ got fixed in #17177/3d3b9d456eb8. -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 2.7 ___

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 815f1a69283e by Ezio Melotti in branch '3.4': #18034: update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst. http://hg.python.org/cpython/rev/815f1a69283e New changeset f78ef3819d67 by Ezio Melotti in branc

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

2014-08-04 Thread Larry Hastings
Larry Hastings added the comment: Yeah, I've been meaning to mark all the Derby patches as 3.5. We're not adding new Clinic conversions to 3.4. -- ___ Python tracker ___ __

[issue21308] PEP 466: backport ssl changes

2014-08-04 Thread Alex Gaynor
Alex Gaynor added the comment: Latest patch does as Donald suggests and rolls back the WantWrite changes, fixing poplib. -- Added file: http://bugs.python.org/file36255/ssl-backport.diff ___ Python tracker ___

[issue22125] Cure signedness warnings introduced by #22003

2014-08-04 Thread Zachary Ware
Zachary Ware added the comment: Either patch makes MSVC happy; Meador's gets points from me for simplicity. -- ___ Python tracker ___

[issue22104] test_asyncio unstable in refleak mode

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9bca86812857 by Zachary Ware in branch '3.4': Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_inner http://hg.python.org/cpython/rev/9bca86812857 New changeset 7bc53cf8b2df by Zachary Ware in branch 'default': Closes #22104:

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > 2. directly passing the ASCII string to setipaddr (leaving any error > detection to this routine) This will change the type of exception. If this is acceptable and modulo Antoine's and my nitpicks on Rietveld, the patch LGTM. But it is too complicated. He

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Charles-François Natali
Charles-François Natali added the comment: > Please understand that Victor and I were asking you to pass a *unicode* > object, with a *u* prefix. For me, the time more-than-doubles, on OSX, with > the system python. Sorry, I misread 'b'. it's a day without... -- _

[issue22116] Weak reference support for C function objects

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, yes, indeed, the agreement seems to have been validated in the meantime (you can see it by the asterisk near your name in the comments here). Thank you! -- ___ Python tracker

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please understand that Victor and I were asking you to pass a *unicode* object, with a *u* prefix. For me, the time more-than-doubles, on OSX, with the system python. mvl:~ loewis$ /usr/bin/python -m timeit -s "import socket; s = socket.socket(socket.AF_INET

[issue21121] -Werror=declaration-after-statement is added even for extension modules through setup.py

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: This patch should definitely go in. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mai

[issue22127] performance regression in socket getsockaddrarg()

2014-08-04 Thread Charles-François Natali
Charles-François Natali added the comment: > Charles-François: you get the idna overhead in 2.7, too, by specifying > u'127.0.0.1' as the address. I don't see it in a profile output, and the timing doesn't change whether I pass '127.0.0.1' or b'127.0.0.1' in 2.7. -- __

[issue21965] Add support for Memory BIO to _ssl

2014-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 04/08/2014 11:21, Geert Jansen a écrit : > > I realize the above is an abstraction violation between the C and Python level. Now that we have an SSLObject Python level API, I could update the code to store a weakref to the SSLObject in the _SSLSocket (just lik

[issue10071] Should not release GIL while running RegEnumValue

2014-08-04 Thread Steve Dower
Steve Dower added the comment: I don't think this is an appropriate fix, since in most cases there is no need to prevent other Python threads running while inside RegSetValue. There are also other ways that a context switch may occur during the enumeration which will put the program in exactly

  1   2   >