[issue20394] Coverity complains on audioop

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a406b6fe61f by Christian Heimes in branch 'default': I forgot to add a Misc/NEWS entry for issue #20394 http://hg.python.org/cpython/rev/0a406b6fe61f -- ___ Python tracker rep...@bugs.python.org

[issue20394] Coverity complains on audioop

2014-01-27 Thread Christian Heimes
Christian Heimes added the comment: The commit has silenced coverity's warning. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20394 ___ ___

[issue20367] concurrent.futures.as_completed() fails when given duplicate Futures

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 791b69f9f96d by Victor Stinner in branch '3.3': Issue #20367: Fix behavior of concurrent.futures.as_completed() for duplicate http://hg.python.org/cpython/rev/791b69f9f96d -- ___ Python tracker

[issue20367] concurrent.futures.as_completed() fails when given duplicate Futures

2014-01-27 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: remind - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20367 ___

[issue19081] zipimport behaves badly when the zip file changes while the process is running

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 323cb02abfc6 by Gregory P. Smith in branch '2.7': Issue #19081: Remove the zipimporter.files reference as the zip TOC http://hg.python.org/cpython/rev/323cb02abfc6 -- ___ Python tracker

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

2014-01-27 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the updated patch for sha512module after changes from Larry to clinic. -- Added file: http://bugs.python.org/file33742/clinic_sha512module_v3.patch ___ Python tracker rep...@bugs.python.org

[issue19077] More robust TemporaryDirectory cleanup

2014-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yeah, I thought about it. Only flag should be false in shutdown mode, because it will be None when a module will be cleaned. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19077

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

2014-01-27 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the updated patch for md5module after changes from Larry to clinic. -- Added file: http://bugs.python.org/file33743/clinic_md5module_v3.patch ___ Python tracker rep...@bugs.python.org

[issue18321] Multivolume support in tarfile module

2014-01-27 Thread Eduardo Robles Elvira
Eduardo Robles Elvira added the comment: Do we have any news on this patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18321 ___ ___

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

2014-01-27 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the updated patch for resource module based on Zachary's comment. -- Added file: http://bugs.python.org/file33744/clinic_resource_v2.patch ___ Python tracker rep...@bugs.python.org

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

2014-01-27 Thread Vajrasky Kok
Vajrasky Kok added the comment: Status: Modules/sha1module.c: done Modules/sha256module.c: done Modules/sha512module.c: done Modules/md5module.c: done All of them are ready for Python 3.4. /* AC 3.5: optional positional arguments */ Modules/_codecsmodule --

[issue20399] Comparison of memoryview

2014-01-27 Thread Mark Lawrence
Mark Lawrence added the comment: Some discussion here https://groups.google.com/forum/#!topic/dev-python/1D_iExlsva8 -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20399

[issue19077] More robust TemporaryDirectory cleanup

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 50aa9e3ab9a4 by Serhiy Storchaka in branch '3.3': Issue #19077: tempfile.TemporaryDirectory cleanup is now most likely http://hg.python.org/cpython/rev/50aa9e3ab9a4 New changeset d792eb3afa58 by Serhiy Storchaka in branch 'default': Issue #19077:

[issue20395] Extract generated clinic code in Modules/_pickle.c to separate file

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1aa8ea187560 by Serhiy Storchaka in branch 'default': Issue #20395: Extract generated clinic code in Modules/_pickle.c to separate file. http://hg.python.org/cpython/rev/1aa8ea187560 -- nosy: +python-dev

[issue17088] ElementTree incorrectly refuses to write attributes without namespaces when default_namespace is used

2014-01-27 Thread Wim
Wim added the comment: Ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17088 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19077] More robust TemporaryDirectory cleanup

2014-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your patch Antoine. And thank you for your excellent idea Richard. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue20395] Extract generated clinic code in Modules/_pickle.c to separate file

2014-01-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20395

[issue20405] Add io.BinaryTransformWrapper and a transform parameter to open()

2014-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: That doesn't sound terribly useful indeed. The hex example is a toy example. Real-world examples would involve compression (zlib...) but then it is probably much more efficient to have a dedicated implementation (GzipFile) rather than blindly call

[issue20405] Add io.BinaryTransformWrapper and a transform parameter to open()

2014-01-27 Thread STINNER Victor
STINNER Victor added the comment: I agree with Antoine, I dislike the idea of BinaryTransformWrapper, it remembers me the evil codecs.EncodedFile thing. What are the usecases? -- ___ Python tracker rep...@bugs.python.org

[issue20406] Use application icon for IDLE

2014-01-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently IDLE use default Tk icon. The proposed patch sets special application icon for IDLE. -- components: IDLE files: idle_appicon.patch keywords: patch messages: 209428 nosy: kbk, roger.serwy, serhiy.storchaka, terry.reedy priority: normal

[issue15189] tkinter.messagebox does not use the application's icon

2014-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mark's recipe works pretty well (requires Tk 8.5+). And you can use special method for this: app.wm_iconphoto(True, icon). What we can made more? We can set Python-related application icon for IDLE (issue20406). But for user applications their authors are

[issue20405] Add io.BinaryTransformWrapper and a transform parameter to open()

2014-01-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 27.01.2014 11:00, STINNER Victor wrote: STINNER Victor added the comment: I agree with Antoine, I dislike the idea of BinaryTransformWrapper, it remembers me the evil codecs.EncodedFile thing. What are the usecases? Ever used recode ? The

[issue20405] Add io.BinaryTransformWrapper and a transform parameter to open()

2014-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Nobody talks to the console using hex_codec. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20405 ___ ___

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

2014-01-27 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the updated patch for type module based on Zachary's comment. However, I can not convert this method. {__subclasshook__, object_subclasshook, METH_CLASS | METH_VARARGS, object_subclasshook_doc}, static PyObject * object_subclasshook(PyObject *cls,

[issue20405] Add io.BinaryTransformWrapper and a transform parameter to open()

2014-01-27 Thread Nick Coghlan
Nick Coghlan added the comment: I only used hex as the example because it was trivial to generate test data for. The stackable streaming IO model is an extremely powerful one - the approach we already use in the io module has some similarities to the one Texas Instruments use in DSP/BIOS

[issue20405] Add io.BinaryTransformWrapper and a transform parameter to open()

2014-01-27 Thread Nick Coghlan
Nick Coghlan added the comment: Note that this is something that could (and should) start life as a module on PyPI, which would also provide cross version support. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20405

[issue20407] heapq.nsmallest and heapq.nlargest don't accept a key parameter

2014-01-27 Thread Larry Hastings
New submission from Larry Hastings: The documentation for heapq.nsmallest and heapq.nlargest: http://docs.python.org/3.3/library/heapq.html#heapq.nlargest claim that they accept three arguments: n, iterable, and key=None. In fact, the implementations of both these functions only accept two

[issue20407] heapq.nsmallest and heapq.nlargest don't accept a key parameter

2014-01-27 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20407 ___ ___ Python-bugs-list

[issue18321] Multivolume support in tarfile module

2014-01-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: Lars, would you like to take a look? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18321 ___ ___

[issue20408] memoryview() constructor documentation error

2014-01-27 Thread Larry Hastings
New submission from Larry Hastings: The documentation for the memoryview constructor says it takes memoryview(obj). Oddly, memoryview accepts keyword arguments (for its one required value), and the name of the argument is object, not obj. -- messages: 209436 nosy: georg.brandl, larry

[issue20404] Delayed exception using non-text encodings with TextIOWrapper

2014-01-27 Thread Nick Coghlan
Nick Coghlan added the comment: Attached patch checks the requested encoding is a valid text encoding in TextIOWrapper.__init__. Two additional test changes were needed: - the one that checks handling of non-text-encodings at runtime now tweaks quopri to lie about being a text encoding when

[issue19145] Inconsistent behaviour in itertools.repeat when using negative times

2014-01-27 Thread Larry Hastings
Larry Hastings added the comment: For what it's worth: I figured out how this happened. Maybe it's obvious to you, but this behavior baffled me until I went back and looked at the revision history. In revision e260d6daf784, the argument parsing for itertools.repeat looks like this:

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-01-27 Thread Glenn Langford
Glenn Langford added the comment: Revised patch; I don't think there is a need to sort the keys when waiters are being removed since only one lock is acquired at a time. Stress tests on both wait() and as_completed() work with this approach. -- Added file:

[issue20348] Argument Clinic HOWTO listed multiple times in HOWTO index

2014-01-27 Thread Brett Cannon
Brett Cannon added the comment: Technically you should only have one title at the very top of the heading hierarchy. That's why the patch changed the title to use top+bottom asterisks. You could have just as easily used equal signs as reST doesn't care, just that you are consistent.

[issue20398] stem crashes python

2014-01-27 Thread lothar
lothar added the comment: i have the current cygwin python3 package: http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/python3/ i have no intention to build python myself. -- ___ Python tracker rep...@bugs.python.org

[issue20407] heapq.nsmallest and heapq.nlargest don't accept a key parameter

2014-01-27 Thread Georg Brandl
Georg Brandl added the comment: Yes. Probably someone wished they would implement it :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20407 ___

[issue19081] zipimport behaves badly when the zip file changes while the process is running

2014-01-27 Thread Brett Cannon
Brett Cannon added the comment: Just to answer Nick's question: I read the extension import code just last month to see if I could update it for PEP 451 fast enough (obviously the answer was no =). As for zipimport, I read that (and the extension import code yet again) in the 3.3 timeframe

[issue20398] stem crashes python

2014-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you try with a standard Windows build? http://python.org/download/releases/3.3.3/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20398 ___

[issue20398] stem crashes python

2014-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: (note that stem.util.system at least uses ctypes) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20398 ___ ___

[issue20399] Comparison of memoryview

2014-01-27 Thread Stefan Krah
Stefan Krah added the comment: For integer sequences I think non-equality comparisons will be somewhat confusing. Are the sequences little or big endian? If we start to view bytes more like latin-1 again (PEP 461), it would make sense for the 'B' and 'c' formats. --

[issue20407] heapq.nsmallest and heapq.nlargest don't accept a key parameter

2014-01-27 Thread Georg Brandl
Georg Brandl added the comment: I see, there are two def nsmallest in heapq.py. Tricky! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20407 ___

[issue20407] heapq.nsmallest and heapq.nlargest don't accept a key parameter

2014-01-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs are correct as-is. This is a documented and tested behavior. from heapq import nsmallest list(nsmallest(3, ['larry', 'georg', 'raymond', 'guido', 'tim'], key=len)) ['tim', 'larry', 'georg'] The C implementation doesn't have a

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

2014-01-27 Thread Tal Einat
Tal Einat added the comment: Attached is a complete AC conversion of itertools. This is a large conversion, so I was extra careful. I even went over the entire diff manually to check for any errors. Compilation runs without warnings and the entire test suite passes. Notes: * I didn't convert

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

2014-01-27 Thread Tal Einat
Tal Einat added the comment: And at that, I've finished the conversion of this entire Derby group! Woohoo! (except for itertools.repeat which is pending discussion) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20180

[issue20409] .readline() returned garble text

2014-01-27 Thread Xiaoqing Rong
New submission from Xiaoqing Rong: I'm using Windows 8. I created file 'weird1.txt' (attached) from an Excel worksheet using save as Unicode Text (*.txt). And this happened when I used Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:19:30) [MSC v.1600 64 bit (AMD64)] on win32: handle =

[issue20409] .readline() returned garble text

2014-01-27 Thread R. David Murray
R. David Murray added the comment: The file use different encodings. In the first case, the first two bytes (which don't appear in the second example) I believe are the BOM. I'm not an expert, but I believe it is a utf-16 file (thus all the \x00 bytes). The second file is presumably utf-8,

[issue20369] concurrent.futures.wait() blocks forever when given duplicate Futures

2014-01-27 Thread Glenn Langford
Glenn Langford added the comment: Updated patch with change to Doc/library/concurrent.futures.rst. -- Added file: http://bugs.python.org/file33751/issue20369.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20369

[issue20378] Implement `Signature.__repr__`

2014-01-27 Thread Ram Rachum
Ram Rachum added the comment: If you'd like to expand this issue's scope to all the objects related to Signature, I think that'll be good. All objects need good introspection strings. -- ___ Python tracker rep...@bugs.python.org

[issue20378] Implement `Signature.__repr__`

2014-01-27 Thread Yury Selivanov
Yury Selivanov added the comment: Ram, yes, I agree. Something like 'Signature f: alpha, beta=3, *args, **kwargs' should work. -- assignee: - yselivanov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20378

[issue20410] Argument Clinic: add 'self' return converter

2014-01-27 Thread Zachary Ware
New submission from Zachary Ware: It would be nice to have a 'self' return converter for simple functions like winreg.HKEYType.__enter__ (which is implemented as Py_XINCREF(self); return self;). With the typedef and type_object specifications now required for the class directive, 'self' is

[issue20372] inspect.getfile should raise a TypeError if C object does not have __module__

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 50706164c38f by Yury Selivanov in branch 'default': inspect.getfile: Don't crash on classes without '__module__' attribute #20372 http://hg.python.org/cpython/rev/50706164c38f -- nosy: +python-dev ___

[issue20372] inspect.getfile should raise a TypeError if C object does not have __module__

2014-01-27 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20372 ___ ___

[issue20380] __defaults__ changed by *args

2014-01-27 Thread Yury Selivanov
Yury Selivanov added the comment: Though perhaps a note in the documentation would be helpful for future confused people. I agree. Also, __kwdefaults__ wasn't documented. Please take a look at the attached patch. -- keywords: +patch nosy: +yselivanov Added file:

[issue6815] UnicodeDecodeError in os.path.expandvars

2014-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch (for 3.3+) which add support for environment variables with non-ASCII values and names in posixpath and ntpath. -- nosy: +serhiy.storchaka stage: test needed - patch review versions: +Python 3.3, Python 3.4 -Python 3.1 Added file:

[issue20386] socket.SocketType enum overwrites import of _socket.SocketType

2014-01-27 Thread Ethan Furman
Ethan Furman added the comment: Well, so far I have tried: :class:`IntEnum` :class:`.IntEnum` :class:`~IntEnum` :class:`enum.IntEnum` :class:`.enum.IntEnum` :class:`~enum.IntEnum` :class:`~.enum.IntEnum` and probably some others I have forgotten; nothing is giving me a link to

[issue20380] __defaults__ changed by *args

2014-01-27 Thread Ram Rachum
Ram Rachum added the comment: Looks good. Ideally there would be a more details explanation and an example. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20380 ___

[issue20386] socket.SocketType enum overwrites import of _socket.SocketType

2014-01-27 Thread Georg Brandl
Georg Brandl added the comment: Well, IntEnum is nowhere documented as a class. IOW, .. class:: IntEnum is missing if you want these references to work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20386

[issue20380] __defaults__ changed by *args

2014-01-27 Thread Yury Selivanov
Yury Selivanov added the comment: Ram, those are internal attributes. I.e. it's not recommended to use them directly, there are better instruments for that, such as 'inspect.signature'. Hence, I don't think that having an example/detailed explanation here is really necessary. --

[issue20380] __defaults__ changed by *args

2014-01-27 Thread Ram Rachum
Ram Rachum added the comment: I take your point and I agree. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20380 ___ ___ Python-bugs-list

[issue20380] __defaults__ changed by *args

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset fc32459495fc by Yury Selivanov in branch 'default': doc/inspect: Clarify docs for __defaults__, add docs for __kwdefaults__ #20380 http://hg.python.org/cpython/rev/fc32459495fc -- nosy: +python-dev ___

[issue6815] UnicodeDecodeError in os.path.expandvars

2014-01-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file33753/expandvars_nonascii.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6815 ___

[issue6815] UnicodeDecodeError in os.path.expandvars

2014-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, posixpath can be used on Windows. Here is corrected patch. Please test it on Windows. -- Added file: http://bugs.python.org/file33754/expandvars_nonascii.patch ___ Python tracker rep...@bugs.python.org

[issue20386] socket.SocketType enum overwrites import of _socket.SocketType

2014-01-27 Thread Ethan Furman
Ethan Furman added the comment: IntEnum is not a class in the socket module. How do I make a link into another rst document? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20386 ___

[issue17481] inspect.getfullargspec should use __signature__

2014-01-27 Thread Yury Selivanov
Yury Selivanov added the comment: There's a major difference between getfullargspec/getargspec and inspect.signature: getfullargspec shows you the self parameter for bound methods, and inspect.signature does not. Larry, yes, that's correct. The attached patch simulates this behaviour,

[issue20356] fix formatting of positional-only parameters in inspect.Signature

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffe1d684b41e by Yury Selivanov in branch 'default': inspect.signature: Use '/' to separate positional-only parameters from http://hg.python.org/cpython/rev/ffe1d684b41e -- nosy: +python-dev ___ Python

[issue20356] fix formatting of positional-only parameters in inspect.Signature

2014-01-27 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20356 ___ ___

[issue20411] IndexError in sys.__interactivehook__ with pyreadline installed

2014-01-27 Thread Jason R. Coombs
New submission from Jason R. Coombs: Following the blame history, this appears to be new issue following issue5845. I'm using Python 3.4b2 64-bit on Windows. I've installed pyreadline 2.0 using Setuptools 2.1. Now, when I start the interactive interpreter, I get this output: python Python

[issue5845] rlcompleter should be enabled automatically

2014-01-27 Thread Jason R. Coombs
Jason R. Coombs added the comment: Added issue20411, revealed in 3.4b2. -- nosy: +jason.coombs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5845 ___

[issue19456] ntpath doesn't join paths correctly when a drive is present

2014-01-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19456 ___ ___

[issue20386] socket.SocketType enum overwrites import of _socket.SocketType

2014-01-27 Thread Georg Brandl
Georg Brandl added the comment: IntEnum is not a class in the enum module either, as far as the docs are concerned ;) Otherwise :class:`enum.IntEnum` or :class:`.IntEnum` would work, no matter the source and target documents. -- ___ Python tracker

[issue19456] ntpath doesn't join paths correctly when a drive is present

2014-01-27 Thread R. David Murray
R. David Murray added the comment: I think a python programmer is going to expect that join(a, b, c) == join(join(a, b), c) so the answer to Serhiy's example should be 'c:z'. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue15185] Validate callbacks in 'contextlib.ExitStack.callback()'

2014-01-27 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15185 ___

[issue19456] ntpath doesn't join paths correctly when a drive is present

2014-01-27 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: +zach.ware -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19456 ___ ___

[issue16490] inspect.getargspec() and inspect.getcallargs() don't work for builtins

2014-01-27 Thread Yury Selivanov
Yury Selivanov added the comment: Closing this issue. See #17481 for details. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16490 ___

[issue20412] Enum and IntEnum classes are not defined in the documentation

2014-01-27 Thread Ethan Furman
New submission from Ethan Furman: While trying to update the socket documentation it was brought to my attention that Enum and IntEnum are not defined as classes as far as the docs are concerned [1]. [1] http://bugs.python.org/issue20386#msg209473 -- assignee: ethan.furman messages:

[issue20413] Errors in documentation of standard codec error handlers

2014-01-27 Thread RalfM
New submission from RalfM: The standard library documentation lists the standard codec error handlers in three places: (a) 2. Build-in Functions, section open() (b) 7.2 codecs - Codec registry and base classes (c) 7.2.1 Codec Base Classes As far as I can judge these lists, (c) looks ok, but

[issue20411] IndexError in sys.__interactivehook__ with pyreadline installed

2014-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sounds reasonably easy to fix. Can you write a patch? -- nosy: +pitrou priority: normal - high stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20411

[issue19081] zipimport behaves badly when the zip file changes while the process is running

2014-01-27 Thread Nick Coghlan
Nick Coghlan added the comment: Heh, OK. I've managed to avoid learning the gory details of the zipimporter internals so far, and the details of Windows DLL loading is the gap on the extension module side :) -- ___ Python tracker

[issue20411] IndexError in sys.__interactivehook__ with pyreadline installed

2014-01-27 Thread Jason R. Coombs
Jason R. Coombs added the comment: Is the proper fix to address the issue in site.py? Does this issue reveal anything else of concern about the implementation? Assuming Yes and No, then yes, I can put together a fix. -- ___ Python tracker

[issue20308] inspect.Signature doesn't support user classes without __init__ or __new__

2014-01-27 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, Please take a look at the attached 'signature_plain_cls_04.patch'. This one supports classes (returns signature of 'object' builtin), and metaclasses (returns signature of 'type' builtin). -- Added file:

[issue19456] ntpath doesn't join paths correctly when a drive is present

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b314f5c9404 by Serhiy Storchaka in branch '2.7': Issue #19456: ntpath.join() now joins relative paths correctly when a drive http://hg.python.org/cpython/rev/6b314f5c9404 New changeset f4377699fd47 by Serhiy Storchaka in branch '3.3': Issue

[issue20411] IndexError in sys.__interactivehook__ with pyreadline installed

2014-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Is the proper fix to address the issue in site.py? Does this issue reveal anything else of concern about the implementation? I don't know, but it's a regression, so we'd better add a fix or workaround in site.py anyway. --

[issue19456] ntpath doesn't join paths correctly when a drive is present

2014-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Committed first patch (with small change, ntpath.join('c:', 'C:') now returns 'C:'). There is yet one argument for first option: it is almost impossible (with current design) to implement second option in pathlib. -- resolution: - fixed stage:

[issue20030] unittest.TestLoader.discover return value incorrectly documented.

2014-01-27 Thread Moritz Neeb
Changes by Moritz Neeb n...@kpvn.de: -- nosy: +zormit ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20030 ___ ___ Python-bugs-list mailing list

[issue18321] Multivolume support in tarfile module

2014-01-27 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18321 ___ ___

[issue20223] inspect.signature does not support new functools.partialmethod

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset baedc256999a by Yury Selivanov in branch 'default': inspect.signature: Add support for 'functools.partialmethod' #20223 http://hg.python.org/cpython/rev/baedc256999a -- nosy: +python-dev ___ Python

[issue20223] inspect.signature does not support new functools.partialmethod

2014-01-27 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks for the review, Nick. Closing the issue now. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20223 ___

[issue20372] inspect.getfile should raise a TypeError if C object does not have __module__

2014-01-27 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20372 ___ ___

[issue20356] fix formatting of positional-only parameters in inspect.Signature

2014-01-27 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20356 ___ ___

[issue12296] Minor clarification in devguide

2014-01-27 Thread Moritz Neeb
Moritz Neeb added the comment: Tried to summarize the previous discussion and generate a compromise here. Patch attached. -- nosy: +zormit Added file: http://bugs.python.org/file33757/devguide-patch.diff ___ Python tracker rep...@bugs.python.org

[issue20401] inspect.signature removes initial starred method params (bug)

2014-01-27 Thread Yury Selivanov
Yury Selivanov added the comment: Patch is attached, please review. Should we commit this to 3.3 too? -- assignee: - yselivanov keywords: +patch nosy: +ncoghlan Added file: http://bugs.python.org/file33758/signature_method_first_arg_01.patch ___

[issue20308] inspect.Signature doesn't support user classes without __init__ or __new__

2014-01-27 Thread Larry Hastings
Larry Hastings added the comment: (With a Misc/NEWS entry of course.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20308 ___ ___

[issue20308] inspect.Signature doesn't support user classes without __init__ or __new__

2014-01-27 Thread Larry Hastings
Larry Hastings added the comment: Looks perfect! Please check it in. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20308 ___ ___

[issue20308] inspect.Signature doesn't support user classes without __init__ or __new__

2014-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b9ca2019bcb9 by Yury Selivanov in branch 'default': inspect.signature: Support classes without user-defined __init__/__new__ #20308 http://hg.python.org/cpython/rev/b9ca2019bcb9 -- nosy: +python-dev ___

[issue20308] inspect.Signature doesn't support user classes without __init__ or __new__

2014-01-27 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20308 ___

[issue20406] Use application icon for IDLE

2014-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are two icon issues. First is the window icon at the left of the title bar of Idle windows. By the name 'wm_iconphote', I presume this is what this issue is about. Until recently, it *was* the red 'Tk' that is generally used for Tk windows. It is

[issue20406] Use application icon for IDLE

2014-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: For comparison. -- Added file: http://bugs.python.org/file33760/py.gif ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20406 ___

[issue7776] http.client.HTTPConnection tunneling is broken

2014-01-27 Thread Nikolaus Rath
Nikolaus Rath added the comment: Hmm. I think I found another problem... please wait for another patch revision. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7776 ___

[issue3158] Doctest fails to find doctests in extension modules

2014-01-27 Thread Thomas Kluyver
Thomas Kluyver added the comment: I think there's an issue with this change - ismethoddescriptor() doesn't guarantee that that the object has an __objclass__ attribute. Unbound PyQt4 signals appear to be a case where this goes wrong. This came up testing IPython on Python 3.4 - we subclass

[issue20414] Python 3.4 has two Overlapped types

2014-01-27 Thread STINNER Victor
New submission from STINNER Victor: Python 3.3 has _winapi.Overlapped. Python 3.4 _winapi.Overlapped but also _overlapped.Overlapped. Why do we have two implementations? Most code looks to be duplicated. -- components: Windows messages: 209496 nosy: gvanrossum, haypo, pitrou, sbt

  1   2   >