[issue9315] The trace module lacks unit tests

2010-07-30 Thread Eli Bendersky
Eli Bendersky added the comment: Alexander, Your issue9315.3.patch file doesn't contain the new test module at all. I'm attaching the updated test_trace.py, fixing the problem with running via regrtest. The problem was very simple and not about the fake module - I fixed to runctx with globa

[issue9301] urllib.quote(None) returns None in 2.7 (raised TypeError before)

2010-07-30 Thread Ezio Melotti
Ezio Melotti added the comment: > All the quote*/unquote* functions accept both str and bytes (except > quote_from_bytes). According to the documentation [0] unquote() only accepts str (not bytes), so checking for b'' in "if string in (b'', '')" seems wrong to me, especially if then it retur

[issue8620] wrong truncation of last line in cmd.Cmd

2010-07-30 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file18281/cmd-noeol-test.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue8620] wrong truncation of last line in cmd.Cmd

2010-07-30 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file18280/cmd-noeol-test.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue8620] wrong truncation of last line in cmd.Cmd

2010-07-30 Thread R. David Murray
R. David Murray added the comment: Here is a unit test that demonstrates the problem (against py3k trunk). I'm not convinced that fixing this would be backward incompatible. (NB: please no one patch this bug, I'm expecting the patch to get created tomorrow during PyOhio.) -- keywo

[issue9315] The trace module lacks unit tests

2010-07-30 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file18279/issue9315.3.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue9315] The trace module lacks unit tests

2010-07-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Eli, I was about to commit issue9315.3.patch, which is a lightly modified version of issue9315.2.patch, but it turned out that test_trace cannot be run by regrtest.py: $ ./python.exe Lib/test/regrtest.py test_trace test_trace test test_trace failed --

[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

2010-07-30 Thread Ned Deily
Ned Deily added the comment: @Danielle: Are you sure you are launching the correct IDLE? In a terminal window, enter the following shell commands and report the output: cd /Library/Frameworks/Python.framework/Versions/2.7/ file lib/python2.7/lib-dynload/_tkinter.so otool -L lib/python2.

[issue9430] Document str() and repr() of timedelta.

2010-07-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: First revision: issue9430.diff -- Added file: http://bugs.python.org/file18278/issue9430.diff ___ Python tracker ___ _

[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

2010-07-30 Thread Danielle Dows
Danielle Dows added the comment: I upgraded my working python from 2.5.1 (original install) to 2.7 (for macosx10.5) and got this: ** IDLE can't import Tkinter. Your Python may not be configured for Tk. ** I tried installing the applications, with no change. I tried the macosx10.3 version, sa

[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Adding the rest of the patch adapted for py3k trunk as of today. -- keywords: +patch Added file: http://bugs.python.org/file18277/pdb-keyboardinterrupt.diff ___ Python tracker __

[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: I committed the "commands" part of the patch in r83308. For the SIGINT part, I'm concerned that the SIGINT handler is set in the Pdb constructor, since it's a processwide setting I think it should a) be set only before sys.settrace() and b) be restored appropriat

[issue7567] Messed up terminal after calling curses.initscr() twice.

2010-07-30 Thread Matthias Klose
Matthias Klose added the comment: committed in r83306 (2.7) and r83307 (3.2); verified that the behaviour in offlineimap (reported in http://bugs.debian.org/586433 is fixed). will apply it to 2.6 and 3.1 after a few days. -- resolution: -> fixed status: open -> pending versions: +Pyth

[issue5412] extend configparser to support mapping access(__*item__)

2010-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: OK, please find attached a preliminary patch for the functionality. This patch is complete in terms of implementation with one significant ommision, __setitem__ on the parser (adding a section), which needs further discussion. Because of the development state f

[issue9315] The trace module lacks unit tests

2010-07-30 Thread Eli Bendersky
Eli Bendersky added the comment: [I wish I could edit/delete my older messages] I've attached a new file, named issue9315.2.patch, with the updated patch. I usually add a numeric prefix before the .patch ending to distinguish consecutive versions of the same patch, and in this case I just sub

[issue9315] The trace module lacks unit tests

2010-07-30 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file18269/issue9315.1.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9432] unquote(None) raises AttributeError - Instead of TypeError

2010-07-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: The previous hyperlink should have been: Issue9301 Fixed in revision 83294. As this a change in Exception value, I am not sure, if backport is a good idea. If someone find change this breaks their existing setup, please comment here. -- stage: -> c

[issue9315] The trace module lacks unit tests

2010-07-30 Thread Eli Bendersky
Eli Bendersky added the comment: Ouch, sorry Here it is (issue9315.1.patch) -- Added file: http://bugs.python.org/file18275/issue9315.2.patch ___ Python tracker ___ _

[issue9301] urllib.quote(None) returns None in 2.7 (raised TypeError before)

2010-07-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in revision 83294. Opened Issue9432 just to track that change in Exception behavior. -- status: open -> closed ___ Python tracker ___ __

[issue9432] unquote(None) raises AttributeError - Instead of TypeError

2010-07-30 Thread Senthil Kumaran
New submission from Senthil Kumaran : >>> from urllib.parse import unquote >>> unquote(None) Traceback (most recent call last): File "", line 1, in File "/home/senthil/python/release31-maint/Lib/urllib/parse.py", line 331, in unquote res = string.split('%') AttributeError: 'NoneType' ob

[issue9431] 2to3 reapplies fix_dict

2010-07-30 Thread George Boutsioukis
New submission from George Boutsioukis : This only happens on somewhat complex files, I haven't been able yet to isolate the source of this but here goes: For django trunk, running 2to3 on django/contrib/admin/options.py yields the following: @@ -282,7 +282,7 @@ if self.declared_fiel

[issue9301] urllib.quote(None) returns None in 2.7 (raised TypeError before)

2010-07-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: Flox, agree to your patch on checking for unquote({}) and unquote(()). AttributeError on unquote(None) was a mistake in previous releases and it was not intentional. We stand at a chance of correcting that when we are explicitly raising an Exception. Perhaps

[issue9430] Document str() and repr() of timedelta.

2010-07-30 Thread Ezio Melotti
Ezio Melotti added the comment: Adding a footnote with an example sounds like a good idea. There's an odd number of square brackets in the str(t) description. -- nosy: +ezio.melotti stage: -> patch review ___ Python tracker

[issue9430] Document str() and repr() of timedelta.

2010-07-30 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue9430] Document str() and repr() of timedelta.

2010-07-30 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Attaching a tentative patch. I think it is better to document these as operations rather than special methods. It may need to be clarified that "-2 days, 0:00:22" is timedelta(-2, 22) rather than -timedelta(2, 22), but I cannot come up with anything

[issue9429] 2to3 does not rename test.test_support to test.support

2010-07-30 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Even though test.support is an internal module, it is helpful to have a 2to3 fixer for the 'test_support' to 'support' rename. My naive attempt to add a fix (see patch pasted below), worked for "from test import test_support" but not for "import test.

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-07-30 Thread David Watson
Changes by David Watson : Added file: http://bugs.python.org/file18273/try-surrogateescape-first-2.diff ___ Python tracker ___ ___ Python-bugs-

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-07-30 Thread David Watson
David Watson added the comment: OK, here are new versions of the original patches. I've tweaked the docs to make clear that ASCII-compatible encodings actually *are* ASCII, and point to an explanation as soon as they're mentioned. You're right that PyUnicode_AsEncodedString() is the preferable

[issue9337] Make float.__str__ behave identically to float.__repr__

2010-07-30 Thread Mark Dickinson
Mark Dickinson added the comment: Alexander Belopolsky pointed out another nice aspect of this change: after the change, let 'numerictype' be any of int, float, complex, Decimal or Fraction, and let 'x' be an instance of numerictype. Then numerictype(str(x)) recovers x exactly. See also a

[issue9410] Add Unladden Swallow's optimizations to Python 3's pickle.

2010-07-30 Thread Skip Montanaro
Skip Montanaro added the comment: Look around the issues. I'm pretty sure I worked on the unbounded size issue at one point. Skip -- nosy: +skip.montanaro ___ Python tracker __

[issue2001] Pydoc interactive browsing enhancement

2010-07-30 Thread Ron Adam
Ron Adam added the comment: New diff file. Removed the '-g' option and added a '-b' option. Using the '-g' option will now bring up pydoc options help. Added a simple server command prompt with 'b' and 'q' choices to open a browser and quit the server. Allow the '-p' option to be use along w

[issue9315] The trace module lacks unit tests

2010-07-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Eli, Did you attach a wrong file? New issue9315.1.patch looks the same as old issue9315.1.patch. -- ___ Python tracker ___

[issue2001] Pydoc interactive browsing enhancement

2010-07-30 Thread Ron Adam
Ron Adam added the comment: I also put in a temporary fix to skip the test file that was causing it to crash when doing a search. It's marked as such and can be removed once the bug is fixed. -- ___ Python tracker

[issue9423] Error in urllib2.do_open(self, http_class, req)

2010-07-30 Thread Lyle Ross
Lyle Ross added the comment: Thanks for the tip, Kumaran. I'll try it. Lyle Ross Office:735G Email: lyle.r...@us-cert.gov Ofc Phone: 703.235.5221 -- ___ Python tracker

[issue9264] trace.py documentation is incomplete

2010-07-30 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue6246] Python debugger ignores exception if instructed to return from generator

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: This is no special behavior with generators. If you remove the "yield" statement, you will get similar output with the exception bubbling up the stack. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed _

[issue1503502] Pdb doesn't call flush on its stdout file descriptor

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: This has been implemented in the course of r83286. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue9428] profile.py bug with the main file being profiled

2010-07-30 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Attached patch, profile-run.diff, fixes the same bug as in issue9323, only in the profile rather than the trace module. Even though the affected code is small, it may be a good idea to share it between the trace and profile modules as well as unify co

[issue9325] Add an option to pdb/trace/profile to run library module as a script

2010-07-30 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9415] SSL issues on "Ubuntu i386" buildbots

2010-07-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > see https://lists.ubuntu.com/archives/ubuntu-devel/2010-July/031010.html Why are they doing that? SSLv2 ciphers are disabled by default anyway (in newer OpenSSL versions, that is). If Ubuntu is adding hacks to the libraries they're packaging, I'm not willing

[issue9415] SSL issues on "Ubuntu i386" buildbots

2010-07-30 Thread Matthias Klose
Matthias Klose added the comment: see https://lists.ubuntu.com/archives/ubuntu-devel/2010-July/031010.html -- ___ Python tracker ___ _

[issue9315] The trace module lacks unit tests

2010-07-30 Thread Eli Bendersky
Eli Bendersky added the comment: Attaching new patch. This patch is for 2.7 (as you suggested earlier, since it's easy to forward-port to py3k with 2to3) and affects Misc/NEWS, Lib/trace.py and Lib/test/test_trace.py (which is added). In Lib/trace.py: - Fixed the problem with class names (tak

[issue7964] "-m pdb" SyntaxError for "\r\n" formatted py files

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Yes, you're right. Committed in r83283. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8350] Document lack of support for keyword arguments in C functions

2010-07-30 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9315] The trace module lacks unit tests

2010-07-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Eli, Thanks a lot for your continuing effort. I would like to check in your work before any further enhancement. Please find a reasonable stop point and post a commit ready patch preferably with a news file entry describing the bug that is fixed.

[issue8350] Document lack of support for keyword arguments in C functions

2010-07-30 Thread Éric Araujo
Éric Araujo added the comment: You could copy this notice from reference/expressions#calls: “An implementation may provide built-in functions whose positional parameters do not have names, even if they are ‘named’ for the purpose of documentation, and which therefore cannot be supplied by key

[issue8350] Document lack of support for keyword arguments in C functions

2010-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Currently it's somewhat surprising that while the documentation often states the default values for certain builtins, invoking the builtin with keyword arguments as described in the documentation does not work. Original discussion: #7447 I'm going through all

[issue8350] Document lack of support for keyword arguments in C functions

2010-07-30 Thread Éric Araujo
Changes by Éric Araujo : -- title: Explicitly state lack of support for keyword arguments in built-in functions -> Document lack of support for keyword arguments in C functions ___ Python tracker __

[issue8350] Explicitly state lack of support for keyword arguments in built-in functions

2010-07-30 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> accepted stage: -> needs patch title: os.mkdir doc comment is incorrect -> Explicitly state lack of support for keyword arguments in built-in functions type: -> behavior versions: +Python 3.2 ___ Python t

[issue9426] Explicitly state lack of support for keyword arguments in builtin functions

2010-07-30 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> duplicate stage: -> committed/rejected superseder: -> os.mkdir doc comment is incorrect ___ Python tracker ___ __

[issue9426] Explicitly state lack of support for keyword arguments in builtin functions

2010-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Let's do this then :) Superseded by: #8350 -- status: open -> closed ___ Python tracker ___ ___ Pytho

[issue9399] Provide a 'print' action for argparse

2010-07-30 Thread Dennis Malcorps
Dennis Malcorps added the comment: Here is a patch that adds a 'write' action to argparse. Usage example: >>> parser = argparse.ArgumentParser() >>> parser.add_argument("--license", action="write", message="This file\nis >>> licensed under \t GPL") >>> parser.parse_args(['--license']) This fil

[issue4841] io's close() not handling errors correctly

2010-07-30 Thread Brian Curtin
Changes by Brian Curtin : -- status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue7964] "-m pdb" SyntaxError for "\r\n" formatted py files

2010-07-30 Thread Jason R. Coombs
Jason R. Coombs added the comment: Is it still worthwhile to add the test to the suite to catch a regression? -- ___ Python tracker ___ __

[issue9426] Explicitly state lack of support for keyword arguments in builtin functions

2010-07-30 Thread Eric Smith
Eric Smith added the comment: I agree this should be closed and moved to #8350. -- nosy: +eric.smith ___ Python tracker ___ ___ Python

[issue9426] Explicitly state lack of support for keyword arguments in builtin functions

2010-07-30 Thread Éric Araujo
Éric Araujo added the comment: The title of #8350 is outdated. The discussion has shifted from one specific function to the general doc problem. Since it contains references and opinions, I think it supersedes this one. -- ___ Python tracker

[issue9426] Explicitly state lack of support for keyword arguments in builtin functions

2010-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Same problem, different context. Here we have an already accepted idea (from #7447) to extend the documentation by providing an explicit explanation that named arguments in builtins are usually positional only, contrary to the intuition. I've already commented

[issue8350] os.mkdir doc comment is incorrect

2010-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Closing as invalid would not be wise because using named arguments as keywords is in Python taken for granted. Cases that are exceptions from this rule should be explicitly noted as to avoid confusion, especially for less experienced programmers. Similar case

[issue9315] The trace module lacks unit tests

2010-07-30 Thread Eli Bendersky
Eli Bendersky added the comment: Some more unit tests show that a problem with method names exists in Lib/trace.py even in 2.7 (and probably earlier). When tracing an instance method with `runfunc`, its name is reported as follows: ClassName'>.method_name Instead of: ClassName.metho

[issue809887] Improve pdb breakpoint feedback

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the patch; I've committed a modified and extended version in r83275. -- resolution: -> accepted status: open -> closed ___ Python tracker __

[issue5135] Expose simplegeneric function in functools module

2010-07-30 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue9426] Explicitly state lack of support for keyword arguments in builtin functions

2010-07-30 Thread Éric Araujo
Éric Araujo added the comment: Is this a duplicate of #8350? -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2010-07-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: committed/rejected -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue9427] logging.error('...', exc_info=True) should display upper frames, too

2010-07-30 Thread Thomas Guettler
Thomas Guettler added the comment: I tested it only on python 2.6. Can someone please look at more reset versions? -- ___ Python tracker ___ _

[issue3143] Make the left sidebar in the doc collapsible

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Now used in trunk docs, r83274. -- resolution: remind -> fixed status: open -> closed ___ Python tracker ___ _

[issue1553375] Add traceback.print_full_exception()

2010-07-30 Thread Thomas Guettler
Thomas Guettler added the comment: Related #9427 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue9427] logging.error('...', exc_info=True) should display upper frames, too

2010-07-30 Thread Thomas Guettler
Thomas Guettler added the comment: Related: #1553375 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9427] logging.error('...', exc_info=True) should display upper frames, too

2010-07-30 Thread Thomas Guettler
New submission from Thomas Guettler : logging.error('...', exc_info=True) only displays the frames downward. But I often need the upper frames, to debug a problem. This example shows, that you don't see the "upper" frame in the stactrace. But that's information is important. import logging d

[issue1553375] Add traceback.print_full_exception()

2010-07-30 Thread Thomas Guettler
Thomas Guettler added the comment: It would be very nice if logging.info('...', exc_info=True) shows the calling/upper frames, too. -- ___ Python tracker ___ _

[issue1553375] Add traceback.print_full_exception()

2010-07-30 Thread Thomas Guettler
Changes by Thomas Guettler : -- nosy: +guettli ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5135] Expose simplegeneric function in functools module

2010-07-30 Thread Nick Coghlan
Nick Coghlan added the comment: A couple more relevant links. I brought this issue up in the context of a JSON serialisation discussion on python-ideas: http://mail.python.org/pipermail/python-ideas/2010-July/007854.html Andrey Popp mentioned his pure Python generic functions library in that

[issue5294] pdb "break" command messes up "continue"

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83272 with a slightly different patch. Thanks very much for the report! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue9417] Declaring a class creates circular references

2010-07-30 Thread Ray.Allen
Ray.Allen added the comment: Is this due to your adopting of Django? Are there other guys who using Django suffer the same problem? -- ___ Python tracker ___

[issue5727] doctest pdb readline broken

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83271. I think the first patch's approach is better, since it does not affect pdb, only doctest's adaption of pdb. Consequently, I couldn't use the test case; thanks anyway for that! -- resolution: -> fixed status: open -> closed _

[issue6719] pdb messes up when debugging an non-ascii program

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r83269. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue4938] Pdb cannot access doctest source in postmortem

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: I think this is just too complicated to implement in a sane way. doctest+pdb is just a bit too hacky to be fully supported. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker <

[issue9417] Declaring a class creates circular references

2010-07-30 Thread Andrea Colangelo
Andrea Colangelo added the comment: I can confirm this bug should be addressed some way. On my high-traffic server, keeping GC enabled causes performance issues due to this bug, and disabling it causes an out-of-memory within hours. -- nosy: +warp10 __

[issue8048] doctest assumes sys.displayhook hasn't been touched

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied to 3k in r83268. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue7539] unicode exceptions terminate pdb.pm() loop

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied to 2.7 branch in r83267. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue1472251] pdb 'run' crashes when the it's first argument is non-string

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Committed in trunk r83266; file objects are no longer allowed for exec(), therefore I dropped mentions of that. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker

[issue9417] Declaring a class creates circular references

2010-07-30 Thread Ray.Allen
Ray.Allen added the comment: > However here's a proposed solution: * for the __mro__: instead of using a tuple, use a new object that inherits from it. This new object should use weak reference for the first item and should return the real object (if available) only in __getitem__(). * __obj

[issue8015] pdb "commands" command throws you into postmortem if you enter an empty command

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83265. Thanks! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue7964] "-m pdb" SyntaxError for "\r\n" formatted py files

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: This is fixed in py3k trunk by other means; exec() now accepts bytestrings with "unusual" newlines. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker

[issue9426] Explicitly state lack of support for keyword arguments in builtin functions

2010-07-30 Thread Łukasz Langa
New submission from Łukasz Langa : Currently it's somewhat surprising that while the documentation often states the default values for certain builtins, invoking the builtin with keyword arguments as described in the documentation does not work. Original discussion: #7447 I'm going through al

[issue1437051] "continue" in .pdbrc has no effect

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the patience, this is now fixed in r83262. I also added a -c option so that you can give the "continue" on the command line, not put it in the .pdbrc file. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed _

[issue9214] Most Set methods of KeysView and ItemsView do not work right

2010-07-30 Thread Eli Bendersky
Eli Bendersky added the comment: Attaching an updated patch, with the trailing whitespace removed. Hope it's more acceptable now. P.S. Please let me know how to detect such issues in future patches. -- Added file: http://bugs.python.org/file18267/issue9214.2.patch ___

[issue9230] pdb.Pdb.checkline() throws AttributeError if called before starting a debug session

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r83261. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue4179] pdb: Allow the "list" command to return to the currently debugged line

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Implemented in r83260. Thanks for the patch! -- resolution: -> accepted status: open -> closed ___ Python tracker ___ __