[issue25447] TypeError invoking deepcopy on lru_cache

2015-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report and review Jason. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25447] TypeError invoking deepcopy on lru_cache

2015-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73226f0d0f89 by Serhiy Storchaka in branch '3.5': Issue #25447: The lru_cache() wrapper objects now can be copied and pickled https://hg.python.org/cpython/rev/73226f0d0f89 New changeset d3e048c7b65a by Serhiy Storchaka in branch 'default': Issue

[issue24633] README file installed into site-packages conflicts with package named "readme"

2015-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 742aefb5ca46 by Steve Dower in branch 'default': Issue #24633: Removes automatic rename of site-packages/README since README.txt is now committed. https://hg.python.org/cpython/rev/742aefb5ca46 -- ___

[issue23235] run_tests.py doesn't set test.support.verbose correctly

2015-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Tests nosy: +ezio.melotti, michael.foord, pitrou ___ Python tracker ___

[issue8231] Unable to run IDLE without write-access to home directory

2015-10-25 Thread Keith Teal
Keith Teal added the comment: I would also like to add that the location of this directory is not correct for Windows software. This directory should be created in %APPDATA% where users by default do have write permissions. If there are plans to ever make this application portable then it

[issue25425] white-spaces encountered in 3.4

2015-10-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pavan, if you want to followup, please post to python-list where you can get help explaining whatever you see as a problem. If you get agreement there that a patch to CPython is needed, we can reopen this. -- nosy: +terry.reedy resolution: -> not a

ANN: lfm v3.0

2015-10-25 Thread Iñigo Serna
Hi all, after many years, new version of lfm; now compatible with Python 3.4+. Description === Last File Manager is a powerful file manager for the UNIX console. It has a curses interface and it's written in Python v3.4+. Licensed under GNU Public License version 3 or later. Some of the

Please post “text/plain” message body (was: Best way to do background calculations?)

2015-10-25 Thread Ben Finney
Israel Brewster writes: [no text] Please ensure your email message body is “text/plain” (and preferably not HTML) when posting to unfamiliar recipients — which is always, on a public forum like this. -- \“Pinky, are you pondering what I'm pondering?” “Umm, I

Re: UNABLE TO GET IDLE TO RUN

2015-10-25 Thread Terry Reedy
On 10/23/2015 5:42 AM, Peter Otten wrote: Laura Creighton wrote: In a message of Fri, 23 Oct 2015 00:19:42 -0400, Terry Reedy writes: On 10/21/2015 11:24 AM, Terry Alexander via Python-list wrote: I have tried installing both Python 2.7 and 3.5, and in both cases I cannot get IDLE to work.

Re: OT snake_case

2015-10-25 Thread Mark Lawrence
On 23/10/2015 17:53, MRAB wrote: I just discovered today that writing names in lowercase with underscores is sometimes called "snake case". Seems kind of apt for Python! :-) Apparently, it was coined in the Ruby community... So when I get around to forking Python to produce 2.8 the name will

Best way to do background calculations?

2015-10-25 Thread Israel Brewster
tl;dr: I've been using the multiprocessing module to run some calculations in the background of my CherryPy web app, but apparently this process sometimes gets stuck, causing problems with open sockets piling up and blocking the app. Is there a better way?The (rather wordy) details:I have a

Re: OT snake_case

2015-10-25 Thread MRAB
On 2015-10-25 23:23, Ben Finney wrote: MRAB writes: I just discovered today that writing names in lowercase with underscores is sometimes called "snake case". Seems kind of apt for Python! :-) Cute! Apparently, it was coined in the Ruby community... Do you

[issue25450] Python 3.5 starts in C:\Windows\system32 as current directory

2015-10-25 Thread Steve Dower
Steve Dower added the comment: We can add more options to the start menu icon, even something like "--start-in %userprofile%" should work there, as it really is just a blob of text (though I need to test that). Accepting "--start-in ~" and os.path.expanduser() would also be fine, I believe.

Ignore stderr and use return code

2015-10-25 Thread Ganesh Pal
Hi Teamm In the below code, we found that the command i.e cmd = "mount /filesystem1" succeeded. But the test failed due to the weaker stderr def mount_me(): cmd = "mount /filesystem1" proc = subprocess.Popen(shlex.split(cmd), stdout=subprocess.PIPE, stderr=subprocess.PIPE)

Re: Ignore stderr and use return code

2015-10-25 Thread Cameron Simpson
On 25Oct2015 11:35, Ganesh Pal wrote: In the below code, we found that the command i.e cmd = "mount /filesystem1" succeeded. But the test failed due to the weaker stderr [...] out, err = proc.communicate() if err != "": Checking stderr is never the

Re: how to get python socket to use a specific interface

2015-10-25 Thread Gene Heskett
On Friday 23 October 2015 05:03:41 Robin Becker wrote: > I need to run lynx on a ubuntu headless server with a specific IP > address in order to try and cancel an email blacklist. > > Lynx doesn't provide a way to do that so I thought to use a local > proxy. I tried pymiproxy and hacked the

Re: Detection of a specific sound

2015-10-25 Thread MRAB
On 2015-10-26 00:17, Montana Burr wrote: I'm looking for a library that will allow Python to listen for the shriek of a smoke alarm. Once it detects this shriek, it is to notify someone. Ideally, specificity can be adjusted for the user's environment. For example, I expect to need moderate

[issue25469] multiprocessing .Condition.notify(_all) function has O(N) time complexity where N is the number of wait() calls with a timeout since the last notify(_all) call

2015-10-25 Thread SilentGhost
Changes by SilentGhost : -- versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker ___

[issue25468] PyTraceBack_Print()/_Py_DisplaySourceLine() should take custom loaders into account

2015-10-25 Thread Shiz
New submission from Shiz: Currently, when an error occurs in a module loaded through a loader in sys.meta_path with no direct file name correlation on the filesystem, the traceback source line is empty as such: File "/Users/mark/Development/Projects/Rave/rave/rave/game.py", line 65, in run

[issue25466] offer "from __future__ import" option for "raise... from"

2015-10-25 Thread alanf
New submission from alanf: There is no "from __future__ import" option that would allow Python 2x users the "raise... from" syntax that is provided with Python 3. This is especially unfortunate because even if the "raise... from" is included in a branch that is never executed, loading the

[issue25475] use argparse instead of getopt

2015-10-25 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: it's not for the pleasure, but there are two api for the command line. getopt and argparse. so in this case, what's the reason to keep both ? in particular if the documentation of getopt has a note with an alternative. maybe to keep the backward

[issue25154] Drop the pyvenv script

2015-10-25 Thread Brett Cannon
Brett Cannon added the comment: Sorry for the delay on this; fell ill Friday and then had guests all weekend. -- status: open -> closed ___ Python tracker

[issue25356] Idle (Python 3.4 on Ubuntu) does not allow typing accents

2015-10-25 Thread Gian Carlo Martinelli
Gian Carlo Martinelli added the comment: Any additional input on this issue? -- ___ Python tracker ___ ___

[issue25154] Drop the pyvenv script

2015-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a5f8418b4ab by Brett Cannon in branch 'default': Issue #25154: Make the file argument apply to the print function and https://hg.python.org/cpython/rev/7a5f8418b4ab -- ___ Python tracker

[issue25444] Py Launch Icon

2015-10-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Rockets are also used to launch communication satellites and scientific research missions. On Windows, the IDLE icon has the double snake on a white page, while the python icon is the snakes on a dark console window. They are already well differentiated.

[issue8231] Unable to run IDLE without write-access to home directory

2015-10-25 Thread Keith Teal
Keith Teal added the comment: Hi Terry, I did not just make that stuff up on my last post, that is actually the standard for Windows applications. Yes, many Linux ports get it wrong but is that any reason to ever perpetuate a bad practice? To see the standards you can download the Windows

[issue17214] http.client.HTTPConnection.putrequest encode error

2015-10-25 Thread Michael
Michael added the comment: I should have looked more closely. The typo is part of the patch. It should be corrected there. -- ___ Python tracker ___

[issue23237] Interrupts are lost during readline PyOS_InputHook processing (reopening)

2015-10-25 Thread Michiel de Hoon
Michiel de Hoon added the comment: Anything I can do to help this patch move forward? -- ___ Python tracker ___

[issue1749512] imaplib cannot handle mailboxes with ACL: lrs

2015-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.4, Python 3.5, Python 3.6 -Python 3.1, Python 3.2 ___ Python tracker ___

[issue7322] Socket timeout can cause file-like readline() method to lose data

2015-10-25 Thread David Beazley
David Beazley added the comment: This bug is still present in Python 3.5, but it occurs if you attempt to do a readline() on a socket that's in non-blocking mode. In that case, you probably DO want to retry at a later time (unlike the timeout case). --

[issue25450] Python 3.5 starts in C:\Windows\system32 as current directory

2015-10-25 Thread eryksun
eryksun added the comment: Steve, I think you're right that it's simpler and more reliable to add a command-line option that sets IDLE's working directory to the current user's home directory. Terry, the default behavior in Linux, at least in Ubuntu, is to start IDLE with the working

[issue25471] socket.recv() blocks while it's gettimeout() returns 0.0

2015-10-25 Thread Alexey Gorshkov
Alexey Gorshkov added the comment: telnet 127.0.0.1 9000 can be used as testing client -- ___ Python tracker ___

[issue17214] http.client.HTTPConnection.putrequest encode error

2015-10-25 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___

[issue25470] Random Malloc error raised

2015-10-25 Thread augustin rieunier
Changes by augustin rieunier : -- type: -> crash ___ Python tracker ___ ___

[issue25471] socket.recv() blocks while it's gettimeout() returns 0.0

2015-10-25 Thread Alexey Gorshkov
Changes by Alexey Gorshkov : Removed file: http://bugs.python.org/file40855/s1.py ___ Python tracker ___

[issue25454] operator.methodcaller should accept additional arguments during the call

2015-10-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: This would be easier to evaluate propertly if you supplied some meaningful use cases. Otherwise, it is looks like hypergeneralizing. -- nosy: +rhettinger ___ Python tracker

[issue24747] ctypes silently truncates ints larger than C int

2015-10-25 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: I wouldn't call it so carved in stone: 1) The note at `ctypes.c_int' (https://docs.python.org/2/library/ctypes.html?highlight=c_int#ctypes.c_int) is meant for explicit conversion - since the entry is about using `c_int' is Python code, not converting something

[issue25471] socket.recv() blocks while it's gettimeout() returns 0.0

2015-10-25 Thread Alexey Gorshkov
Changes by Alexey Gorshkov : Added file: http://bugs.python.org/file40856/s1.py ___ Python tracker ___

[issue25474] Weird behavior when setting f_trace in a context manager

2015-10-25 Thread Fred Gansevles
New submission from Fred Gansevles: I'm playing with the idea of making a DSL based on anonynous code blocks I discovered that the behaviour of the context manager is different in some cases if there are line-continuations in the 'with' command I've attached a script that reproduces this

[issue25447] TypeError invoking deepcopy on lru_cache

2015-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is redundant. update_wrapper() is called just after calling _lru_cache_wrapper() in decorating_function(). -- ___ Python tracker

[issue25432] isinstance documentation: explain behavior when type is a tuple

2015-10-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Perhaps add after third sentence (ending with "not accepted)."), "If classinfo is a tuple, isinstance(x, classinfo) is the same as any(isinstance(x, C) for C in flatten(classinfo))". -- nosy: +terry.reedy stage: -> needs patch title: isinstance

[issue25356] Idle (Python 3.4 on Ubuntu) does not allow typing accents

2015-10-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am out of ideas. You might ask on python-list (accessible as newsgroup mirror on news.gmane.org) whether any other Ubunto users have the problem or have heard of it. -- ___ Python tracker

Re: Best way to do background calculations?

2015-10-25 Thread Chris Angelico
On Sat, Oct 24, 2015 at 3:35 AM, Israel Brewster wrote: > > Ideally, this recalculation process would happen in the background. There is > no need for the user to wait around while the system crunches numbers - they > should be able to move on with entering another log or

[issue25469] multiprocessing .Condition.notify(_all) function has O(N) time complexity where N is the number of wait() calls with a timeout since the last notify(_all) call

2015-10-25 Thread SilentGhost
Changes by SilentGhost : -- nosy: +jnoller, sbt ___ Python tracker ___ ___

[issue25472] Typing: Specialized subclasses of generics cannot be unpickled

2015-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Library (Lib) nosy: +alexandre.vassalotti, gvanrossum, pitrou, serhiy.storchaka type: -> behavior versions: +Python 3.6 ___ Python tracker

[issue22968] Lib/types.py nit: isinstance != PyType_IsSubtype

2015-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +yselivanov stage: -> patch review versions: +Python 3.6 ___ Python tracker ___

[issue17864] IDLE won't run

2015-10-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- superseder: -> Unable to run IDLE without write-access to home directory ___ Python tracker ___

[issue25475] use argparse instead of getopt

2015-10-25 Thread R. David Murray
R. David Murray added the comment: This was discussed when argparse was included in the standard library, and the conclusion was that getopt serves a different purpose than argparse and should not be deprecated. argparse is mentioned as an alternative since in many cases it is to be

[issue25456] 3.4 _tkinter build requires undocumented manual steps to be usable

2015-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset b5889dbbc382 by Zachary Ware in branch '3.4': Closes #25456: Copy Tcl/Tk DLLs to build directory on Windows https://hg.python.org/cpython/rev/b5889dbbc382 -- nosy: +python-dev resolution: -> fixed stage: needs patch -> resolved status:

[issue1182143] making builtin exceptions more informative

2015-10-25 Thread George Jenkins
George Jenkins added the comment: Bump on this one please -- ___ Python tracker ___ ___ Python-bugs-list

[issue25193] itertools.accumulate should have an optional initializer argument

2015-10-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: > OTOH, none of those projects is natural fit for itertools, > so changing itertools wouldn't help them directly. Indeed, this may not be a natural fit for itertools problems. As a side note, the itertools were designed to form the elements of "an iterator

Re: Best way to do background calculations?

2015-10-25 Thread MRAB
On 2015-10-23 17:35, Israel Brewster wrote: tl;dr: I've been using the multiprocessing module to run some calculations in the background of my CherryPy web app, but apparently this process sometimes gets stuck, causing problems with open sockets piling up and blocking the app. Is there a better

[issue25193] itertools.accumulate should have an optional initializer argument

2015-10-25 Thread Alun Champion
Alun Champion added the comment: If you are looking for other examples. Here's a wheel factorization of an indefinite sieve (primes) that was peer reviewed on codereview.stackexchange.com, see the final result in the last post by Will Ness:

[issue25451] tkinter: PhotoImage transparency methods

2015-10-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +serhiy.storchaka, terry.reedy stage: -> needs patch versions: +Python 3.6 ___ Python tracker ___

Re: OT snake_case

2015-10-25 Thread Ben Finney
MRAB writes: > I just discovered today that writing names in lowercase with > underscores is sometimes called "snake case". > > Seems kind of apt for Python! :-) Cute! > Apparently, it was coined in the Ruby community... Do you have references for tracing the

[issue25473] socket.recv() raises correct code with the misleading description 'BlockingIOError: [Errno 11] Resource temporarily unavailable'

2015-10-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is simply the way glibc defines the error messages. % python3 Python 3.4.3 (default, Sep 27 2015, 15:15:25) [GCC 4.8.5] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import errno, os >>> errno.EAGAIN,

Re: OT snake_case

2015-10-25 Thread Joel Goldstick
On Fri, Oct 23, 2015 at 12:53 PM, MRAB wrote: > I just discovered today that writing names in lowercase with > underscores is sometimes called "snake case". > > Seems kind of apt for Python! :-) > > Apparently, it was coined in the Ruby community... > -- >

[issue25478] Consider adding a normalize() method to collections.Counter()

2015-10-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +mark.dickinson ___ Python tracker ___

[issue21593] Clarify re.search documentation first match

2015-10-25 Thread Joshua Landau
Changes by Joshua Landau : -- versions: +Python 3.6 ___ Python tracker ___ ___

[issue25439] Add type checks to urllib.request.Request

2015-10-25 Thread Nan Wu
Changes by Nan Wu : Added file: http://bugs.python.org/file40850/urllib_request_param_type_check_3.patch ___ Python tracker ___

[issue1749512] imaplib cannot handle mailboxes with ACL: lrs

2015-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +email nosy: +barry, r.david.murray ___ Python tracker ___

[issue25476] close() behavior on non-blocking BufferedIO objects with sockets

2015-10-25 Thread David Beazley
New submission from David Beazley: First comment: In the I/O library, there is documented behavior for how things work in the presence of non-blocking I/O. For example, read/write methods returning None on raw file objects. Methods on BufferedIO instances raise a BlockingIOError for

OT snake_case

2015-10-25 Thread MRAB
I just discovered today that writing names in lowercase with underscores is sometimes called "snake case". Seems kind of apt for Python! :-) Apparently, it was coined in the Ruby community... -- https://mail.python.org/mailman/listinfo/python-list

Detection of a specific sound

2015-10-25 Thread Montana Burr
I'm looking for a library that will allow Python to listen for the shriek of a smoke alarm. Once it detects this shriek, it is to notify someone. Ideally, specificity can be adjusted for the user's environment. For example, I expect to need moderate specificity as I live in a quiet neighborhood,

[issue25477] text mode for pkgutil.get_data

2015-10-25 Thread Antony Lee
New submission from Antony Lee: Initially suggested in #25330: it would be helpful to provide text mode support (returning unicode, and handling universal newlines) for pkgutil.get_data (either as a keyword argument, or as a separate function). -- components: Library (Lib) messages:

[issue25469] multiprocessing .Condition.notify(_all) function has O(N) time complexity where N is the number of wait() calls with a timeout since the last notify(_all) call

2015-10-25 Thread Vilnis Termanis
Vilnis Termanis added the comment: A few additional notes: 1) On an AMD E-450 under Ubuntu 14.04 x64 with a current in-development build, when running condition_test.py, Condition.notify_all() takes (measure using time.clock) 0.0003 with the patch and 0.3219 without it. Additionally the

Re: UNABLE TO GET IDLE TO RUN

2015-10-25 Thread Laura Creighton
In a message of Fri, 23 Oct 2015 11:42:54 +0200, Peter Otten writes: >I tried it out: > >$ mkdir test >$ cd test >$ touch string.py >$ idle3 >Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python3.4/idlelib/run.py", line 12, in >from idlelib import CallTips >

[issue18010] pydoc search chokes on import errors

2015-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: needs patch -> test needed versions: +Python 3.5, Python 3.6 -Python 3.3 ___ Python tracker

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2015-10-25 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue892902] problem with pickling newstyle class instances

2015-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch that backports recursive objects handling to 2.7. -- keywords: +patch nosy: +serhiy.storchaka stage: needs patch -> patch review Added file: http://bugs.python.org/file40859/pickle_recursive-2.7.patch

[issue25154] Drop the pyvenv script

2015-10-25 Thread Stefan Behnel
Stefan Behnel added the comment: May I ask how difficult it is for any of the core developers to fix a known typo in a Python source file? -- nosy: +scoder ___ Python tracker

[issue25465] Pickle uses O(n) memory overhead

2015-10-25 Thread Eric V. Smith
Eric V. Smith added the comment: In what way does the OS crash? Are there any kernel messages? Or is this the python executable crashing? Again, if so, what messages are printed? In any event, if this really is an OS crash, then it's a Linux bug and should be reported to them. --

[issue25465] Pickle uses O(n) memory overhead

2015-10-25 Thread Herbert
Herbert added the comment: That sound reasonable regarding why O(n), but it does not explain why linux crashes (I've seen this on two ubuntu systems)if pickle runs out of memory. -- ___ Python tracker

[issue21160] incorrect comments in nturl2path.py

2015-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your patch Jurko. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue8231] Unable to run IDLE without write-access to home directory

2015-10-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Idle is not unique. Several other apps ported from unix also put .xyx files in the home directory on Windows. What is unusual, if not unique, about IDLE is the need to run multiple versions. If .idlerc is moved, already released versions will not be able to

[issue25466] offer "from __future__ import" option for "raise... from"

2015-10-25 Thread R. David Murray
R. David Murray added the comment: I doubt we are going to add such a feature to python2 at this point, since people have worked out various workarounds (see the six module). We do not at this point add features to python2 unless there's a really compelling reason (eg: security). --

[issue21160] incorrect comments in nturl2path.py

2015-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka stage: -> commit review type: -> enhancement versions: +Python 2.7, Python 3.6 ___ Python tracker

[issue25469] multiprocessing .Condition.notify(_all) function has O(N) time complexity where N is the number of wait() calls with a timeout since the last notify(_all) call

2015-10-25 Thread Vilnis Termanis
Changes by Vilnis Termanis : Added file: http://bugs.python.org/file40854/condition_test.py ___ Python tracker ___

[issue25472] Typing: Specialized subclasses of generics cannot be unpickled

2015-10-25 Thread Matt Chaput
New submission from Matt Chaput: If I try to pickle and unpickle an object of a class that has specialized a generic superclass, when I try to unpickle I get this error: TypeError: descriptor '__dict__' for 'A' objects doesn't apply to 'B' object Test case: from typing import Generic,

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2015-10-25 Thread Ezio Melotti
Ezio Melotti added the comment: Usually docstrings are short and to the point, and serve more as a remainder, whereas the online docs explain everything in detail. Also rst markup in docstrings would be distractings, so we keep docstrings and online docs separated, even though there is often

[issue25471] socket.recv() blocks while it's gettimeout() returns 0.0

2015-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 10e044a734f3 by Benjamin Peterson in branch '3.4': accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471) https://hg.python.org/cpython/rev/10e044a734f3 New changeset 7577960ea17b by Benjamin Peterson in branch '3.5': merge 3.4

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2015-10-25 Thread STINNER Victor
STINNER Victor added the comment: > If you want to avoid ineffective because its meaning is subtle (a reasonable > request), the correct replacement would be "modifying dirnames has no effect > on the behavior of the walk", which is wordier but clearer. I prefer the new sentence, it's more

[issue23255] SimpleHTTPRequestHandler refactor for more extensible usage.

2015-10-25 Thread Ent
Ent added the comment: Hi, Is it possible for this patch to be reviewed now? Regards, Ent -- ___ Python tracker ___

[issue25467] Put “deprecated” warnings first

2015-10-25 Thread Tony R.
New submission from Tony R.: Python has wonderful, detailed documentation. I love it! Unfortunately, I have often found myself reading the otherwise-excellent documentation on a class/function/whatever, only to find out at the END of my reading that it is deprecated. This is frustrating,

[issue25456] 3.4 _tkinter build requires undocumented manual steps to be usable

2015-10-25 Thread Zachary Ware
Zachary Ware added the comment: Should be fixed now, please test? I think everything is now covered in readme.txt as well. -- ___ Python tracker ___

[issue25455] Some repr implementations don't check for self-referential structures

2015-10-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> high stage: -> needs patch ___ Python tracker ___

[issue20438] inspect: Deprecate getfullargspec?

2015-10-25 Thread Ned Batchelder
Ned Batchelder added the comment: I'm confused: the discussion here is mostly about updating docs to note deprecation. Then at the very end, is an off-hand remark about removing getargspec. The docs for getargspec currently read, "This function will be removed in Python 3.6." Why? We keep

[issue25450] Python 3.5 starts in C:\Windows\system32 as current directory

2015-10-25 Thread Steve Dower
Steve Dower added the comment: Unfortunately it looks like MSI won't let you put an environment variable into the shortcut, as it has to resolve it on install (see WkDir at https://msdn.microsoft.com/en-us/library/aa371847(VS.85).aspx) Trying some other ideas, but it looks like the most

[issue25470] Random Malloc error raised

2015-10-25 Thread augustin rieunier
New submission from augustin rieunier: Hello there, I face random malloc error in my code. I recently added lots of json dumps/loads operation as I plugged my application with redis. Here's the error raised, and Valgrind information right after: 127.0.0.1 - - [24/Oct/2015 15:57:44] "DELETE

[issue25447] TypeError invoking deepcopy on lru_cache

2015-10-25 Thread Jason R. Coombs
Jason R. Coombs added the comment: Simple and elegant. I like it. -- ___ Python tracker ___ ___

[issue9051] Improve pickle format for timezone aware datetime instances

2015-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Following patch adds tests for timezone pickling and copying. Note, that timezone.utc identity is preserved. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file40852/timezone_test_pickle.patch

[issue892902] problem with pickling newstyle class instances

2015-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: test needed -> needs patch versions: -Python 3.1, Python 3.2 ___ Python tracker ___

[issue18010] pydoc search chokes on import errors

2015-10-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: The patch looks good. -- nosy: +rhettinger ___ Python tracker ___ ___

[issue25456] 3.4 _tkinter build requires undocumented manual steps to be usable

2015-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 168569414215 by Zachary Ware in branch '3.4': Issue #25456: Fix test_idle when Tcl/Tk DLLs are loaded from python.exe's home https://hg.python.org/cpython/rev/168569414215 -- ___ Python tracker

[issue25475] use argparse instead of getopt

2015-10-25 Thread SilentGhost
SilentGhost added the comment: This seems like a change for the sake of change. I think any module that requires argparse features can be moved in its own time. -- nosy: +SilentGhost resolution: -> rejected status: open -> closed ___ Python tracker

[issue25473] socket.recv() raises correct code with the misleading description 'BlockingIOError: [Errno 11] Resource temporarily unavailable'

2015-10-25 Thread Alexey Gorshkov
New submission from Alexey Gorshkov: (in continuation to bug https://bugs.python.org/issue25471 ) socket.recv() raises 'BlockingIOError: [Errno 11] Resource temporarily unavailable' in case, if setblocking(False) on socket returned by non-blocking socket's .accept() method and client does not

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2015-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0286bb18a351 by Victor Stinner in branch '3.4': Issue #25461: Rephrase os.walk() doc https://hg.python.org/cpython/rev/0286bb18a351 New changeset 9f68e41fb4a7 by Victor Stinner in branch '3.5': Merge 3.4 (Issue #25461)

[issue21160] incorrect comments in nturl2path.py

2015-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6a15845142ec by Serhiy Storchaka in branch '3.4': Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić. https://hg.python.org/cpython/rev/6a15845142ec New changeset acc453391c5b by Serhiy Storchaka in branch '2.7': Issue21160:

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2015-10-25 Thread Bernt Røskar Brenna
Bernt Røskar Brenna added the comment: A question/comment: In this case (and there are probably other cases like it) - it seems to me that the docstring (in os.py) and the docs (in os.rst) are similar enough that the docstring from the code could be included in the docs (using Sphinx's

[issue25465] Pickle uses O(n) memory overhead

2015-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: That is because a pickler keeps track of all pickled objects. This is needed to preserve identity and support recursive objects. You can disable memoizing by setting the "fast" attribute of the Pickler object. def fastdump(obj, file): p =

  1   2   >