[issue2707] Tiny fix for os.walk docstring

2008-04-28 Thread Yinon Ehrlich
New submission from Yinon Ehrlich [EMAIL PROTECTED]: os.walk.__doc__ has the following example-line (os.py, line 271): for root, dirs, files in walk('python/Lib/email'): it should be os.walk -- components: Library (Lib) messages: 65911 nosy: Yinon severity: normal status: open title:

[issue2703] SimpleXMLRPCDispatcher.__init__ is not python2.4-backward-compatible

2008-04-28 Thread Ralf Schmitt
Changes by Ralf Schmitt [EMAIL PROTECTED]: -- nosy: +schmir __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2703 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1222] locale.format bug if thousand separator is space (french separator as example)

2008-04-28 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: I've had the opportunity to test on a Windows box and there are various failures in the TestStringMethods test case. If someone with more knowledge of the Windows world could take a lookm it would be nice. __

[issue2703] SimpleXMLRPCDispatcher.__init__ is not python2.4-backward-compatible

2008-04-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: The patch is OK, but I'm still -0. The doc string says: There should never be any reason to instantiate this class directly. I don't see how this could break backwards compatibility badly. -- nosy: +amaury.forgeotdarc

[issue1222] locale.format bug if thousand separator is space (french separator as example)

2008-04-28 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Ok, here is an updated patch for Windows compatibility of the test suite. Added file: http://bugs.python.org/file10128/bug1222.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1222

[issue2262] Helping the compiler avoid memory references in PyEval_EvalFrameEx

2008-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: +pitrou __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2262 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2697] Logging ancestors ignored after configuration

2008-04-28 Thread Vinay Sajip
Vinay Sajip [EMAIL PROTECTED] added the comment: This is not a bug - it's by design, as I explained in my reply to your posting on comp.lang.python. In my reply, I suggested how you could avoid problems. -- assignee: - vsajip nosy: +vsajip resolution: - invalid status: open - closed

[issue1883] Adapt pydoc to new doc system

2008-04-28 Thread Humberto Diogenes
Humberto Diogenes [EMAIL PROTECTED] added the comment: According to Georg, the adaptation referred by this issue is just about changing the URLs in the documentation to point appropriately to the URLs generated by the new doc system. Anyway, the doc-cleanup.patch is still pending... ;)

[issue1883] Adapt pydoc to new doc system

2008-04-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Anyway, the doc-cleanup.patch is still pending... ;) No, I already removed the duplicated code in r62505. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1883 __

[issue2708] IDLE subprocess error

2008-04-28 Thread Kristian Lauridsen
New submission from Kristian Lauridsen [EMAIL PROTECTED]: Hi all. I'w been looking for an answer to this. If I use IDLE for som just fore fun programming and then exit, I have to kill IDLE, dispite theres nothin running persay, then when i start IDLE again I get too error messages popping up:

[issue2663] shutil.copytree glob-style filtering [patch]

2008-04-28 Thread Raghuram Devarakonda
Raghuram Devarakonda [EMAIL PROTECTED] added the comment: My update with email failed so I am just copying my response here: while working on the patch to add the same feature in rmtree, I realized this is a non sense since the root folder itself is removed at the end of the function when

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2008-04-28 Thread Paul Winkler
Paul Winkler [EMAIL PROTECTED] added the comment: Phillip, here's another revision of the monkeypatch-in-setUp() approach, simplified per your suggestions. Added file: http://bugs.python.org/file10129/python_distutils_1180_3.patch __ Tracker [EMAIL PROTECTED]

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2008-04-28 Thread Phillip J. Eby
Phillip J. Eby [EMAIL PROTECTED] added the comment: It looks like you can drop the change to distutils.core, too, since it's just a change in the comment, and the changed comment is inaccurate, AFAICT. Apart from that, it looks good. __ Tracker [EMAIL

[issue2709] tk.rst possibly wrong ?

2008-04-28 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: tk.rst tells, among other things: `Tkinter`'s chief virtues are that it is fast, and that it usually comes bundled with Python. Although it has been used to create some very good applications, including IDLE, it has weak documentation ...

[issue2650] re.escape should not escape underscore

2008-04-28 Thread Lorenz Quack
Lorenz Quack [EMAIL PROTECTED] added the comment: The loop in escape should really use enumerate instead of for i in range(len(pattern)). It needs i to edit s[i]. enumerate(iterable) returns a tuple for each element in iterable containing the index and the element itself. I attached a

[issue2663] shutil.copytree glob-style filtering [patch]

2008-04-28 Thread Raghuram Devarakonda
Raghuram Devarakonda [EMAIL PROTECTED] added the comment: The patch looks good to me. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2663 __ ___ Python-bugs-list mailing list

[issue2663] shutil.copytree glob-style filtering [patch]

2008-04-28 Thread Raghuram Devarakonda
Raghuram Devarakonda [EMAIL PROTECTED] added the comment: I forgot to add that the example provided in rst doc is incorrect. The copytree() in that example should be given destination path as well. In addition, the docstring for copytree mentions which is a directory list. directory list is a

[issue2690] Precompute range length

2008-04-28 Thread Alexander Belopolsky
Alexander Belopolsky [EMAIL PROTECTED] added the comment: I've implemented range slicing and x in range(..) in range-sequence.diff and registered range with the Sequence ABC. Added file: http://bugs.python.org/file10131/range-sequence.diff __ Tracker [EMAIL

[issue2480] eliminate recursion in pickling

2008-04-28 Thread Bob Kline
Bob Kline [EMAIL PROTECTED] added the comment: Please open a new issue and don't forget to provide an example case. Looks like Daniel beat me to the punch. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2480 __

[issue841728] urllib and cookie module improvements

2008-04-28 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue841728 ___ Python-bugs-list mailing list

[issue2541] Unicode escape sequences not parsed in raw strings.

2008-04-28 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Please apply the patch, but rename Unicode escapes to \u and \U escapes first. -- assignee: georg.brandl - benjamin.peterson resolution: rejected - fixed __ Tracker [EMAIL PROTECTED]

[issue2711] error: (10035, 'The socket operation could not complete without blocking')

2008-04-28 Thread Raghuram Devarakonda
Raghuram Devarakonda [EMAIL PROTECTED] added the comment: Duplicate of #2710. -- nosy: +draghuram resolution: - duplicate status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2711 __

[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2008-04-28 Thread Don Hanlen
New submission from Don Hanlen [EMAIL PROTECTED]: IDLE internal error in runcode() Traceback (most recent call last): File C:\PYTHON25\lib\idlelib\rpc.py, line 235, in asyncqueue self.putmessage((seq, request)) File C:\PYTHON25\lib\idlelib\rpc.py, line 332, in putmessage n =

[issue2711] error: (10035, 'The socket operation could not complete without blocking')

2008-04-28 Thread Don Hanlen
New submission from Don Hanlen [EMAIL PROTECTED]: IDLE internal error in runcode() Traceback (most recent call last): File C:\PYTHON25\lib\idlelib\rpc.py, line 235, in asyncqueue self.putmessage((seq, request)) File C:\PYTHON25\lib\idlelib\rpc.py, line 332, in putmessage n =

[issue1542407] httplib reads one byte per system call

2008-04-28 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Dupe of #2576. -- nosy: +georg.brandl resolution: - duplicate status: open - closed superseder: - httplib read() very slow due to lack of socket buffer _ Tracker [EMAIL PROTECTED]

[issue2712] enhanced ioctl

2008-04-28 Thread ndbecker
New submission from ndbecker [EMAIL PROTECTED]: IIUC, current ioctl is not capable of handling arbitrary argument types. This code will allow any arg type (such as structures with pointers to embedded structures). The code for _IOC is taken from linux and might not be portable.import -

[issue2541] Unicode escape sequences not parsed in raw strings.

2008-04-28 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Fixed in r62568. -- status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2541 __ ___

[issue1734346] patch for bug 1170311 zipfile UnicodeDecodeError

2008-04-28 Thread Christophe Kalt
Christophe Kalt [EMAIL PROTECTED] added the comment: Any chance of this making it in sometime? The current behaviour is rather limiting/annoying. -- nosy: +kalt _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1734346

[issue2713] Py3k warn on unicode escapes in raw strings

2008-04-28 Thread Benjamin Peterson
New submission from Benjamin Peterson [EMAIL PROTECTED]: This patch gives a Py3k warning when a unicode escape occurs in a raw unicode string. -- components: Unicode files: unicode_escape_warn.patch keywords: patch messages: 65936 nosy: benjamin.peterson severity: normal status: open

[issue2690] Precompute range length

2008-04-28 Thread Alexander Belopolsky
Alexander Belopolsky [EMAIL PROTECTED] added the comment: Reviewing my own patch (range-sequence.diff), I've realized that it is being a bit too clever in handling x in range(..) where x is not an integer. It seems that upon a failed PyLong_Check, range_contains should just do a linear

[issue2712] enhanced ioctl

2008-04-28 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: IIUC, current ioctl is not capable of handling arbitrary argument types. Can you please be a bit more explicit? What limitation do you see in fcntl.ioctl, and how does this fragment overcome the limitation? AFAICT, they do exactly the same

[issue1734346] patch for bug 1170311 zipfile UnicodeDecodeError

2008-04-28 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Any chance of this making it in sometime? I'll see what I can do for 2.6, but perhaps it gets delayed until 2.7/3.1. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1734346

[issue1734346] patch for bug 1170311 zipfile UnicodeDecodeError

2008-04-28 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: normal - high _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1734346 _ ___ Python-bugs-list mailing

[issue2712] enhanced ioctl

2008-04-28 Thread ndbecker
ndbecker [EMAIL PROTECTED] added the comment: On Monday 28 April 2008, Martin v. Löwis wrote: Martin v. Löwis [EMAIL PROTECTED] added the comment: IIUC, current ioctl is not capable of handling arbitrary argument types. Can you please be a bit more explicit? What limitation do you see in

[issue2712] enhanced ioctl

2008-04-28 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Passing structures is certainly possible. I'd try args = struct.pack(iP, len(c), cast (pointer (c), c_void_p).value) fcntl.ioctl(fd, request, args) Alternatively, args = eos_dl_args_t() ... args_p = cast(pointer(args), c_void_ptr).value

[issue2713] Py3k warn on unicode escapes in raw strings

2008-04-28 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10135/unicode_escape_warn2.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2713 __

[issue2690] Precompute range length

2008-04-28 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: My 2 cents: for me is more useful to have a unbound range() than to be able to do a len() on it. For me, range() should mimic a number generator: no limit, no length. -- nosy: +facundobatista __

[issue2714] Unable to start IDLE on Windows Server 2003 x64 Edition w/ SP2

2008-04-28 Thread Gregory Dai
New submission from Gregory Dai [EMAIL PROTECTED]: Installed 2.5.2 Intel msi on Windows Server 2003 Standard x64 Edition w/ SP2 on Intel Xeon CPU 3.2GHz, 8GB of RAM Selected IDLE from its startup menu item, but it refused to started. Tried several times w/ the same outcome. --

[issue2714] Unable to start IDLE on Windows Server 2003 x64 Edition w/ SP2

2008-04-28 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Disable all Operating System firewalls and try again (remember to enable the firewalls again after the test). This was a common problem in WinXP -- nosy: +facundobatista __ Tracker [EMAIL PROTECTED]

[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2008-04-28 Thread Don Hanlen
Don Hanlen [EMAIL PROTECTED] added the comment: ah, lines 284-289 (the lines in question) need indenting 4 levels. I just DL'd 2.5.2, ran the code once, no problem, 2nd time, got the usual error message. __ Tracker [EMAIL PROTECTED]

[issue2714] Unable to start IDLE on Windows Server 2003 x64 Edition w/ SP2

2008-04-28 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Can you please run IDLE in a console window, and report the exceptions that you get? Invoke Lib\idlelib\idle.py to do so. -- nosy: +loewis __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2714

[issue2715] Remove carbon-specific code from binhex

2008-04-28 Thread Brett Cannon
New submission from Brett Cannon [EMAIL PROTECTED]: There is carbon-specific code in binhex. It really should go so that the module is completely platform-independent. This is especially pertinent for 3.0 as all Mac-specific modules are slated to go. -- components: Library (Lib)

[issue2716] Reimplement audioop because of copyright issues

2008-04-28 Thread Brett Cannon
New submission from Brett Cannon [EMAIL PROTECTED]: The audioop module contains a comment that is somewhat troubling from an IP standpoint: /* Code shamelessly stolen from sox, 12.17.7, g711.c ** (c) Craig Reese, Joe Campbell and Jeff Poskanzer 1989 */ Because of this it would be best to

[issue2712] enhanced ioctl

2008-04-28 Thread ndbecker
ndbecker [EMAIL PROTECTED] added the comment: On Monday 28 April 2008, Martin v. Löwis wrote: Martin v. Löwis [EMAIL PROTECTED] added the comment: Passing structures is certainly possible. I'd try args = struct.pack(iP, len(c), cast (pointer (c), c_void_p).value) fcntl.ioctl(fd, request,

[issue2712] enhanced ioctl

2008-04-28 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: So, should we close this? -- nosy: +benjamin.peterson __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2712 __ ___

[issue2717] tempfile.mkstempf

2008-04-28 Thread Skip Montanaro
New submission from Skip Montanaro [EMAIL PROTECTED]: On python-dev Guido lamented the fact that tempfile.mkstemp() returns a file descriptor instead of a file object. This patch adds tempfile.mkstempf to remedy that. -- components: Library (Lib) files: mkstempf.diff keywords: easy,

[issue2349] Py3K warn against assigning to True/False

2008-04-28 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: If Raymond says it's fine, then it's also fine by me. -- assignee: brett.cannon - benjamin.peterson __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2349 __

[issue2343] Raise a Py3K warning when using a float where an int is expected

2008-04-28 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: Closing as out of date since it seems to have already been handled. -- resolution: - out of date status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2343

[issue2716] Reimplement audioop because of copyright issues

2008-04-28 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I would support removing this in Py3k. It seems like a specialty module not worth having in the standard library. Also, is this even being maintained? -- nosy: +benjamin.peterson versions: +Python 3.0

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2008-04-28 Thread Paul Winkler
Paul Winkler [EMAIL PROTECTED] added the comment: In what way is the comment in core.py inaccurate? I only added the phrase and override config files, which is an important side effect of parse_command_line(). __ Tracker [EMAIL PROTECTED]

[issue2690] Precompute range length

2008-04-28 Thread Alexander Belopolsky
Alexander Belopolsky [EMAIL PROTECTED] added the comment: For me, range() should mimic a number generator: no limit, no length. That's itertools.count() __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2690 __

[issue2712] enhanced ioctl

2008-04-28 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I think we should close it. -- resolution: - works for me status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2712 __