[issue20309] Not all method descriptors are callable

2015-04-13 Thread Christian Hudon
Christian Hudon added the comment: Updated patch to work with current state of repository. Tests still pass (including the new ones). -- Added file: http://bugs.python.org/file38942/descr_v3.diff ___ Python tracker

[issue20962] Rather modest chunk size in gzip.GzipFile

2015-04-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Martin, do you think this is still an issue or has it been fixed by the compression refactor? -- ___ Python tracker ___ ___

[issue12606] Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

2015-04-13 Thread Siegfried Gevatter
Changes by Siegfried Gevatter : Added file: http://bugs.python.org/file38941/slice_del.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue23309] Hang on interpreter shutdown if daemon thread prints to stdout

2015-04-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fix pushed! closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue2931] optparse: various problems with unicode and gettext

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: I've turned ash's test program into a bunch of test cases against Python 3.5 trunk. Is it worth committing them? -- nosy: +akuchling Added file: http://bugs.python.org/file38940/issue2931.txt ___ Python tracker

[issue22812] Documentation of unittest -p usage wrong on windows.

2015-04-13 Thread Pam McA'Nulty
Pam McA'Nulty added the comment: Remove quotes from quoted patterns only on windows systems (since if the quotes get parsed into the pattern field on a non-windows system, one should respect the user's command line efforts). Test uses unittest.mock.patch to test "windows" path. -- key

[issue23309] Hang on interpreter shutdown if daemon thread prints to stdout

2015-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c53a5302058 by Antoine Pitrou in branch '3.4': Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted https://hg.python.org/cpython/rev/2c53a5302058 New changeset 8a3da91737cf by Antoine Pitrou in branch 'default': Issue #23309: A

[issue22631] Feature Request CAN_RAW_FD_FRAMES

2015-04-13 Thread Larry Hastings
Larry Hastings added the comment: LGTM, just adding Antoine (the expert for the socket module). I'm ready to commit over here. -- nosy: +pitrou ___ Python tracker ___ _

[issue12425] gettext breaks on empty plural-forms value

2015-04-13 Thread Ned Deily
Ned Deily added the comment: LGTM -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2015-04-13 Thread R. David Murray
R. David Murray added the comment: Arnon also checked that our local copy of libffi contains the upstream fix. In the absence of a way to test this, we'll just have to assume it is fixed. -- nosy: +r.david.murray resolution: -> out of date stage: -> resolved status: open -> closed _

[issue23727] rfc2231 line continuations result in an additional newline

2015-04-13 Thread R. David Murray
R. David Murray added the comment: I can't reproduce this and no example is forthcoming, so I'm closing this as works for me. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker

[issue917120] imaplib: incorrect quoting in commands

2015-04-13 Thread Maciej Szulik
Changes by Maciej Szulik : -- nosy: +maciej.szulik ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue17898] gettext bug while parsing plural-forms metadata

2015-04-13 Thread Ned Deily
Ned Deily added the comment: LGTM. I think it should be backported to 2.7. -- nosy: +ned.deily versions: +Python 3.4, Python 3.5 ___ Python tracker ___ __

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2015-04-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Great! Thank you! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23864] issubclass without registration only works for "one-trick pony" collections ABCs.

2015-04-13 Thread Saul Shanabrook
Changes by Saul Shanabrook : Added file: http://bugs.python.org/file38938/patch.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2015-04-13 Thread Christian Heimes
Christian Heimes added the comment: I think we can close this bug for good. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue17751] ctypes/test/test_macholib.py fails when run from the installed location

2015-04-13 Thread Zachary Ware
Zachary Ware added the comment: Ahh. Not quite, though; that change just changed the way unittest reports the results on non-Mac platforms. The problem is actually here: https://hg.python.org/cpython/file/default/Lib/ctypes/test/test_macholib.py#l34 We need a patch to try that import instead

[issue23864] issubclass without registration only works for "one-trick pony" collections ABCs.

2015-04-13 Thread Saul Shanabrook
Changes by Saul Shanabrook : Removed file: http://bugs.python.org/file38937/patch.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue504219] locale.resetlocale is broken

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: It doesn't seem to me that we've really deprecated getdefaultlocale() -- it's not documented as such, and MAL makes the good point that getdefaultlocale() is trying to avoid calling setlocale(). Perhaps this is just a documentation problem? _build_localename()

[issue23934] inspect.signature reporting "()" for all builtin & extension types

2015-04-13 Thread James Powell
James Powell added the comment: Discussed with Nick Coghlan. See attached patch to return `signature(object)` only if both `__new__` and `__init__` are shared with `object`. Otherwise, raise TypeError indicating built-in types not supported. https://docs.python.org/3/library/inspect.html#ins

[issue23864] issubclass without registration only works for "one-trick pony" collections ABCs.

2015-04-13 Thread Saul Shanabrook
Changes by Saul Shanabrook : Added file: http://bugs.python.org/file38937/patch.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23864] issubclass without registration only works for "one-trick pony" collections ABCs.

2015-04-13 Thread Saul Shanabrook
Changes by Saul Shanabrook : Removed file: http://bugs.python.org/file38935/patch.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12053] Add prefetch() for Buffered IO (experiment)

2015-04-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The proposed API seems strange to me. Is there an illustration of how > it might be used? I suspect it wouldn’t be all that useful, and could > more or less be implemented with the existing methods: True, but having it a Buffered method would allow it to opt

[issue8106] SSL session management

2015-04-13 Thread lilydjwg
Changes by lilydjwg : -- nosy: +lilydjwg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue21448] Email Parser use 100% CPU

2015-04-13 Thread R. David Murray
R. David Murray added the comment: Raymond, are you gong to apply the deque patch (maybe after doing performance measurement) or should we close this? -- ___ Python tracker ___

[issue23936] Wrong references to deprecated find_module instead of find_spec

2015-04-13 Thread Raúl Cumplido
New submission from Raúl Cumplido: While taking a look on the import mechanisms I've seen in the documentation that find_module has been deprecated for find_spec, but on different parts of the documentation there are still references to find_module, as in the definition of sys.meta_path (http

[issue17751] ctypes/test/test_macholib.py fails when run from the installed location

2015-04-13 Thread Marin Dantchev
Marin Dantchev added the comment: @Zachary: Wrong paste. Correct change is Lib\ctypes\test\test_macholib.py@91160:6f63fff5c120, which makes the test only run on OSX. -- ___ Python tracker ___

[issue23864] issubclass without registration only works for "one-trick pony" collections ABCs.

2015-04-13 Thread Saul Shanabrook
Saul Shanabrook added the comment: I have added a failing test to based on the first example, of a class that provides the necessary methods, but fails to be an instance of Sequence. -- keywords: +patch nosy: +saulshanabrook Added file: http://bugs.python.org/file38935/patch.diff _

[issue17202] Add .bat line to .hgeol

2015-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 019c17a4198a by Zachary Ware in branch '2.7': Issue #17202: Add .bat to .hgeol to force them to CRLF. https://hg.python.org/cpython/rev/019c17a4198a New changeset 640ccb924b5f by Zachary Ware in branch '3.4': Issue #17202: Add .bat to .hgeol to forc

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2015-04-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: pitrou -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-04-13 Thread Christie
Christie added the comment: Okay thanks @r.david.murray, I'll take a look at doing this. I'll open an issue when I figure out which module to start on. -- ___ Python tracker ___

[issue22631] Feature Request CAN_RAW_FD_FRAMES

2015-04-13 Thread Joe Jevnik
Joe Jevnik added the comment: To show where I got my sources: https://github.com/torvalds/linux/commit/e2d265d3b587f5f6f8febc0222aace93302ff0be There does not appear to be any new structures needed other than supporting the constant. -- nosy: +larry __

[issue22631] Feature Request CAN_RAW_FD_FRAMES

2015-04-13 Thread Joe Jevnik
Joe Jevnik added the comment: I have added a patch to update this with conditional compilation. -- keywords: +patch nosy: +ll Added file: http://bugs.python.org/file38934/CAN_RAW_FD_FRAMES.patch ___ Python tracker

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Changes by Pam McA'Nulty : -- nosy: +kushal.das ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue12606] Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

2015-04-13 Thread Siegfried Gevatter
Changes by Siegfried Gevatter : Added file: http://bugs.python.org/file38932/slice_del.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue23935] Clean up Clinic's type expressions of buffers

2015-04-13 Thread Larry Hastings
Larry Hastings added the comment: Huh. Why didn't it attach my patch? Here it is. -- Added file: http://bugs.python.org/file38933/larry.clinic.buffer.conceptual.cleanup.1.txt ___ Python tracker _

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Changes by Pam McA'Nulty : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue23935] Clean up Clinic's type expressions of buffers

2015-04-13 Thread Larry Hastings
New submission from Larry Hastings: Clinic was previously pretty confused about what things accepted "bytes", "bytearray", "buffer", "robuffer", and "rwbuffer". This is because the documentation itself was somewhat confusing. The documentation was recently cleaned up on these in trunk (includ

[issue9951] introduce bytes.hex method (also for bytearray and memoryview)

2015-04-13 Thread Arnon Yaari
Changes by Arnon Yaari : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Pam McA'Nulty added the comment: This version fixes a few things after using review. I still have some open questions: o Where in unittest.rst should the StopTestRun documentation actually live? I've put it right after the SkipTest exception. That doesn't feel perfect, but I didn't see a pl

[issue23933] Struct module should acept arrays

2015-04-13 Thread Anderson
Anderson added the comment: @wolma, That would work in this simple example. But in a more complicated case this became inconvenient. Actually I'm working with reading and writing in python an extremely C-oriented file-type (MDV). For that I represent C-structs as python dics (e.q {"array":[v1

[issue21815] imaplib truncates some untagged responses

2015-04-13 Thread Maciej Szulik
Maciej Szulik added the comment: Lita thanks for your patch!. Are you able to address berkerpeksag comments from review? Otherwise if you don't mind I'll take it over and I'll do that. -- nosy: +maciej.szulik ___ Python tracker

[issue12606] Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

2015-04-13 Thread Siegfried Gevatter
Changes by Siegfried Gevatter : Added file: http://bugs.python.org/file38930/slice_del.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue23934] inspect.signature reporting "()" for all builtin & extension types

2015-04-13 Thread Nick Coghlan
Nick Coghlan added the comment: James Powell is currently looking into this at the PyCon sprints. The key problem appears to be the check that assumes "obj.__init__ is object.__init__" indicates that there's no user defined init or new method, when in fact a builtin or extension type that only

[issue22652] Add suggestion about keyword arguments to this error message: "builtins.TypeError: my_func() takes 1 positional argument but 2 were given"

2015-04-13 Thread A. Jesse Jiryu Davis
A. Jesse Jiryu Davis added the comment: Attached patch adds "and N keyword-only argument(s)" to the TypeError message if a function takes keyword-only arguments and the wrong number of positional arguments is provided. -- keywords: +patch nosy: +emptysquare Added file: http://bugs.pyth

[issue19715] test_touch_common failure under Windows

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: It looks like Antoine filed the precision-loss error as #19738 and that ticket is now closed. I conclude there's nothing left to do on this ticket, so I'll close it. -- nosy: +akuchling status: open -> closed ___ Py

[issue19956] inspect.getsource(obj.foo) fails when foo is an injected method constructed from another method

2015-04-13 Thread Usman Ehtesham Gul
Usman Ehtesham Gul added the comment: After discussing with Eric Snow, this case scenario is an edge case. The assumption in the inspect module is that __func__ for a MethodType object is a function. The MethodType should be used for functions and not methods. Patch attached for this. This ne

[issue23931] Update DevGuide link in Quickstart Step 1

2015-04-13 Thread Tina Zhang
Tina Zhang added the comment: Link goes to 1.1.1 instead of 1.1 -- Added file: http://bugs.python.org/file38927/patch23931v0_1.patch ___ Python tracker ___ __

[issue23310] Mock constructor configuration fails for magic methods

2015-04-13 Thread Łukasz Langa
Changes by Łukasz Langa : -- keywords: +needs review versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

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

2015-04-13 Thread Larry Hastings
Larry Hastings added the comment: I finally talked to someone (Thomas Wouters) about this. For something going into trunk that will be part of 3.5, this is fine. Please include a mention that the exception's text messages changed in Misc/NEWS. I can help you write this if you want. I'll try

[issue23934] inspect.signature reporting "()" for all builtin & extension types

2015-04-13 Thread Larry Hastings
Larry Hastings added the comment: Would this qualify as an "easy" bug we could throw to a sprinter? -- ___ Python tracker ___ ___ Pyth

[issue23934] inspect.signature reporting "()" for all builtin & extension types

2015-04-13 Thread Nick Coghlan
New submission from Nick Coghlan: inspect.signature isn't currently handling builtin & extension types correctly - these show up as having neither __new__ *nor* __init__ as pure Python callables, so the inspect.signature logic falls through into a currently unhandled case. _testcapi isn't cur

[issue23933] Struct module should acept arrays

2015-04-13 Thread Wolfgang Maier
Wolfgang Maier added the comment: are you looking for: struct.pack('i'*4, *[0]*4) ? -- nosy: +wolma ___ Python tracker ___ ___ Pytho

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Zachary Ware
Zachary Ware added the comment: Cleaned it up just a little bit and committed. Thanks for the patch, Juti! -- ___ Python tracker ___

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0acb8dcb8e0c by Zachary Ware in branch '3.4': Issue #23932: Update the tutorial section on function annotations. https://hg.python.org/cpython/rev/0acb8dcb8e0c New changeset 75a6774ba070 by Zachary Ware in branch 'default': Closes #23932: Merge with

[issue23057] [Windows] asyncio: support signal handlers on Windows (feature request)

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: Victor's patch has moved to https://github.com/python/tulip/issues/191 . -- nosy: +akuchling ___ Python tracker ___ _

[issue18217] Deprecate and remove gettext.install

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: I suggest we just close this ticket. I tried producing a documentation patch (attached), but they seem like a marginal improvement. (I don't think the text in the docs such as "'gettext' (bound to self.gettext())" is confusing; given the context, I think the

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2015-04-13 Thread John Ehresman
John Ehresman added the comment: I've confirmed that the test included in the 3/25/15 patch fails without the change to ffi.c. I think the 11/5/14 change fixed the bug for calling into a C function and converting the return value, but did not address the callback case. The new patch seems to

[issue23193] Please support "numeric_owner" in tarfile

2015-04-13 Thread Eric V. Smith
Eric V. Smith added the comment: Note that this change will break code that subclasses TarFile and overrides chown(), as suggested in msg233915. I'm not too concerned about that, since chown() is not documented. Ideally it would be renamed to _chown(), but that's probably a separate issue. --

[issue18402] Finding perl64

2015-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset dc65187be892 by Zachary Ware in branch '2.7': Attribute Michael Dorman for his initial patch on issue #18402. https://hg.python.org/cpython/rev/dc65187be892 New changeset 19f6f339af7e by Zachary Ware in branch '3.4': Attribute Michael Dorman for his

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Pam McA'Nulty added the comment: Added unittest.StopTestRun exception. It's caught and handled in testPartExecutor() - which is the same place SkipTest is caught. If report=False, then it sets the result.haltTestRun attribute, which is a signal to TestTextRunner to not generate any output. A

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-13 Thread Maciej Szulik
Maciej Szulik added the comment: Moving this enhancement to python 3.5. I'm adding updated patch plus tests for debug messages, updated what's new docs -- nosy: +maciej.szulik versions: +Python 3.5 -Python 3.4 Added file: http://bugs.python.org/file38924/issue16914.patch __

[issue23310] Mock constructor configuration fails for magic methods

2015-04-13 Thread Łukasz Langa
Changes by Łukasz Langa : -- assignee: -> lukasz.langa nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue18402] Finding perl64

2015-04-13 Thread Zachary Ware
Zachary Ware added the comment: Michael, I failed to attribute you in the commit messages, sorry about that. Thanks for the patch! -- ___ Python tracker ___ ___

[issue23928] SSL wiki page, host name matching, CN and SAN

2015-04-13 Thread Jeffrey Walton
Jeffrey Walton added the comment: > there's not much point in reporting bugs here about it. Oh, sorry about that. > That page's contents look very outdated, by the way. Yeah, there's a few opportunities for improvement. -- ___ Python tracker

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Juti Noppornpitak
Juti Noppornpitak added the comment: Based on the review -- Added file: http://bugs.python.org/file38923/issue23932.r2.patch ___ Python tracker ___ __

[issue12606] Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

2015-04-13 Thread Thomas Wouters
Thomas Wouters added the comment: I left some style comments in the rietveld review. However, a bigger questions is whether we should change list at all. I think we should; the change is fairly straightforward, there is some value in it and it's a good idea to keep bytearray and other mutable

[issue16125] open accepts arbitrary mode strings as long as they contain U

2015-04-13 Thread Wolfgang Maier
Wolfgang Maier added the comment: I'm able to reproduce this with Python 2.7.6 on Linux, but not 2.7.9 on Windows. Is this a POSIX-only bug or has it been fixed in the meantime ? -- nosy: +wolma ___ Python tracker

[issue1475523] gettext breaks on plural-forms header

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: I think that #17898 is in fact a duplicate of this bug, due to old values of k and v confusing things. Mark's patch looks correct to me, but the patch in #17898 also adds a test. If that patch gets reviewed, I'll apply it to 3.4/3.5, and possibly to 2.7. ---

[issue23310] Mock constructor configuration fails for magic methods

2015-04-13 Thread Kasia Jachim
Kasia Jachim added the comment: Added more logging to the patch. -- Added file: http://bugs.python.org/file38922/fix_magic_in_init_v2.diff ___ Python tracker ___

[issue17898] gettext bug while parsing plural-forms metadata

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: I would apply this change to 3.4 and 3.5. Should I also backport it to 2.7? I think the same bug applies there, though I haven't verified this or tried my patch. -- ___ Python tracker

[issue18402] Finding perl64

2015-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 069dd1e347b4 by Zachary Ware in branch '2.7': Issue #18402: Also look for 64 bit Perl in build_ssl.py. https://hg.python.org/cpython/rev/069dd1e347b4 New changeset cf19bd089768 by Zachary Ware in branch '3.4': Issue #18402: Also look for 64 bit Perl

[issue17898] gettext bug while parsing plural-forms metadata

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: Adding a link to a bitbucket repo. -- hgrepos: +304 ___ Python tracker ___ ___ Python-bugs-list maili

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Zachary Ware
Zachary Ware added the comment: @Juti: Thanks for the patch! I've left a review on Rietveld, which should have sent you an email (or you can get to it through the 'review' link). -- ___ Python tracker ___

[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2015-04-13 Thread Arnon Yaari
Arnon Yaari added the comment: libffi seem to have fixed this issue in their commit "4acf005 - Build fix for soft-float power targets". The fix is different than what Pavel suggested, but sounds like it should do the same. -- nosy: +wiggin15 ___ Pyt

[issue23310] Mock constructor configuration fails for magic methods

2015-04-13 Thread Kasia Jachim
Kasia Jachim added the comment: For Mock both the following tests fail, I would say it is an expected behavior. def test_setting_magic_method_for_mock(self): m = Mock() m.configure_mock(**{'__str__.return_value': "14"}) self.assertEqual(str(m), "14") def test_setting_magic_m

[issue23931] Update DevGuide link in Quickstart Step 1

2015-04-13 Thread Tina Zhang
Tina Zhang added the comment: adding patch! -- keywords: +patch Added file: http://bugs.python.org/file38921/patch23931.patch ___ Python tracker ___ _

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Juti Noppornpitak
Juti Noppornpitak added the comment: I reworded to mention the coming changes regarding to PEP 484. The old writing which mention about arbitariness is moved to the end of the "function annotations" section as a warning. -- keywords: +patch nosy: +shiroyuki Added file: http://bugs.pyth

[issue23931] Update DevGuide link in Quickstart Step 1

2015-04-13 Thread Tina Zhang
Tina Zhang added the comment: Link now goes to 1.1 Getting Set Up so step 1.1.1. Version COntrol section is visible -- nosy: +ttz ___ Python tracker ___

[issue23310] Mock constructor configuration fails for magic methods

2015-04-13 Thread Kasia Jachim
Kasia Jachim added the comment: Tests for this bug + proposed fix. -- keywords: +patch nosy: +kjachim Added file: http://bugs.python.org/file38919/fix_magic_in_init.diff ___ Python tracker _

[issue17751] ctypes/test/test_macholib.py fails when run from the installed location

2015-04-13 Thread Zachary Ware
Zachary Ware added the comment: @Marin: That changeset is touching test_multiprocessing, not ctypes.test.test_macholib. -- nosy: +zach.ware ___ Python tracker ___ __

[issue17751] ctypes/test/test_macholib.py fails when run from the installed location

2015-04-13 Thread Marin Dantchev
Marin Dantchev added the comment: This appears to have been fixed in ef491d76ac70. -- nosy: +morkov ___ Python tracker ___ ___ Python-

[issue23852] Wrong computation of max_fd on OpenBSD

2015-04-13 Thread William Orr
William Orr added the comment: Tested on OpenBSD 5.6/amd64. lgtm. -- nosy: +worr ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: On 13 Apr 2015, at 10:56, Stéphane Wirtel wrote: > Stéphane Wirtel added the comment: > > Just updated this patch with "x" instead of the unicode character. Sorry bad patch, I have read the last comment (“replace by x or “yes/no”) and not the other comments.

[issue12425] gettext breaks on empty plural-forms value

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: Here's a patch against 3.5. This patch is atop the fix for #17898, so it won't apply cleanly to a stock 3.5. The patch uses warnings.warn() to issue a warning if the plural header is empty. There seems to be precedent for issuing warnings in the case of odd in

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Just updated this patch with "x" instead of the unicode character. -- nosy: +matrixise Added file: http://bugs.python.org/file38917/argparse-actions-matrix-v2 ___ Python tracker _

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Changes by Pam McA'Nulty : -- nosy: +Pam.McANulty ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue23915] traceback set with BaseException.with_traceback() overwritten on raise

2015-04-13 Thread A. Jesse Jiryu Davis
A. Jesse Jiryu Davis added the comment: I've had a very hard time adding to the doc in a way that elucidates rather than further obfuscating; see if you like this patch. -- keywords: +patch nosy: +emptysquare Added file: http://bugs.python.org/file38916/issue23915.patch ___

[issue23794] http package should support HTTP/2

2015-04-13 Thread Cory Benfield
Cory Benfield added the comment: I spoke to some people after my PyCon talk about this, and agreed that it would be a good idea to split out the framing and HPACK stuff from hyper to make it easier for people like aiohttp to prototype. The framing layer is already available from PyPI[0] and on

[issue17898] gettext bug while parsing plural-forms metadata

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: Proposed patch against 3.5. -- keywords: +patch nosy: +akuchling stage: test needed -> patch review Added file: http://bugs.python.org/file38915/issue17898.patch ___ Python tracker

[issue21108] Add examples for importlib in doc

2015-04-13 Thread Raúl Cumplido
Changes by Raúl Cumplido : -- nosy: +raulcd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue23794] http package should support HTTP/2

2015-04-13 Thread Ludovic Gasc
Ludovic Gasc added the comment: @demian.brecht: I don't know when, but certainly that we will add in aiohttp HTTP/2 support. If your implementation is enough modular, we could use some stuff like we did with urllib and HTTP/1 support. -- nosy: +Ludovic.Gasc ___

[issue23350] Content-length is incorrect when request body is a list or tuple

2015-04-13 Thread Vincent Alquier
Vincent Alquier added the comment: Another issue should be addressed by patch... When trying to guess the content-length, here is the code you find... try: thelen = str(len(body)) except TypeError as te: [...] The call to `len` will raise a `TypeError` i

[issue23933] Struct module should acept arrays

2015-04-13 Thread Anderson
New submission from Anderson: Correct me if I'm wrong, the struct module does not work with array of ints, floats etc (just work with char in the form of strings). I think it should since this are valid elements in C structs. More specifically, consider I have this C struct struct{ int arra

[issue19450] Bug in sqlite in Windows binaries

2015-04-13 Thread Zachary Ware
Zachary Ware added the comment: I'm ambivalent on whether to do it, but Marc is right that it's just a version update in Tools/buildbot/external-common.bat and PCbuild/pyproject.vsprops. -- assignee: -> steve.dower ___ Python tracker

[issue23193] Please support "numeric_owner" in tarfile

2015-04-13 Thread Eric V. Smith
Eric V. Smith added the comment: Updated patch with a few minor doc tweaks. The one substantive change I did make was to add numeric_owner to the call to self.chown() when setting directory owners. I believe this is correct, but I need to convince myself and to write a test. -- Added

[issue12606] Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

2015-04-13 Thread Siegfried Gevatter
Changes by Siegfried Gevatter : Added file: http://bugs.python.org/file38913/slice_del.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12606] Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

2015-04-13 Thread Siegfried Gevatter
Changes by Siegfried Gevatter : -- keywords: +patch Added file: http://bugs.python.org/file38912/slice_del.diff ___ Python tracker ___ ___

[issue17769] python-config --ldflags gives broken output when statically linking Python with --as-needed

2015-04-13 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue9951] introduce bytes.hex method (also for bytearray and memoryview)

2015-04-13 Thread Nick Coghlan
Nick Coghlan added the comment: Arnon is here at the PyCon 2015 sprints, so bringing the current status up to date: = Why *.hex()? = * That's the name in PEP 358 * That's the name of the comparable float method = Why add it to the builtin types? = * To provide One Obvious Way To Do It, rathe

<    1   2   3   4   >