[issue4804] Python on Windows disables all C runtime library assertions

2009-02-02 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Interesting idea, but perhaps even more convoluted than my (admittedly) cumbersome patch. fyi, I've added this issue with MS: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx? FeedbackID=409955

[issue4879] Allow buffering for HTTPResponse

2009-02-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This causes failures in test_urllib2net. The fix is easy: a handful of -self.assertTrue(u.fp._sock.gettimeout() is None) +self.assertTrue(u.fp.raw._sock.gettimeout() is None) But doesn't this show a backward-incompatible change? or is the

[issue5136] Deprecating (and removing) "globalcall", "merge" and "globaleval"

2009-02-02 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, I'm going to try explaining in short why I think each of these functions in _tkinter could be marked as deprecated and then removed on 2.8 (if it is decided to do it) and 3.1. globalcall: It is not used anywhere in tkinter. It was abandoned, and doesn't w

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2009-02-02 Thread Brett Cannon
Changes by Brett Cannon : -- priority: -> low stage: -> needs patch type: -> feature request ___ Python tracker ___ ___ Python-bugs-

[issue5119] wide character parameter handling in ctypes

2009-02-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: ctypes cannot guess the function signature, and does not know if the function expects strings or unicodes. In your examples, ctypes.windll.user32.MessageBoxW(handle, text, caption, type) will accept everything you pass, and create C values depending

[issue1875] "if 0: return" not raising SyntaxError

2009-02-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: You should remove the error logic compile.c for "return" and "yield" in function calls. The problem with this approach is that every SyntaxError generated during bytecode compilation must be moved to earlier. For example, I can still use "break" and "continu

[issue5084] unpickling does not intern attribute names

2009-02-02 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter, jyasskin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue5137] SystemError when __len__ returns a non-number

2009-02-02 Thread Raymond Hettinger
New submission from Raymond Hettinger : len(obj) is not happy when obj.__len__() returns a non-number. -- files: crasher_len.py messages: 81024 nosy: rhettinger priority: release blocker severity: normal status: open title: SystemError when __len__ returns a non-number type: crash versio

[issue5138] File Reload for IDLE

2009-02-02 Thread Raymond Hettinger
New submission from Raymond Hettinger : IDLE would be *much* easier to use in conjunction with version control if there were a reload option that did the equivalent of (close current with no save, followed by open current file). -- assignee: kbk components: IDLE messages: 81025 nosy: kbk

[issue5139] Add combinatoric counting functions to the math module.

2009-02-02 Thread Raymond Hettinger
New submission from Raymond Hettinger : To parallel the functions in itertools, add: math.combinations(n,r) --> n! / r! / (n-r)! when 0 <= r <= n or zero when r > n. math.permutations(n,r) --> n! / (n-r)! when 0 <= r <= n or zero when r > n. math.combinations_with_replacement(n,r) --

[issue5140] Some Built-in Functions entries in Library Manual are missing Permalinks

2009-02-02 Thread Robert Yodlowski
New submission from Robert Yodlowski : In http://docs.python.org/3.0/library/functions.html these function entries seem to be missing Permalinks. dict() frozenset() memoryview() set() Hope this helps. The Permalinks are a great idea. I hope you add lots more. ...Bob -- assignee

[issue4124] Patch for adding "default" to itemgetter and attrgetter

2009-02-02 Thread Miki Tebeka
Miki Tebeka added the comment: Hmmm, too much time has passed and my 1bit memory has overflowed since :) IIRC it has to do with the fact that not all nodes in BeautifulSoup has a "name" attribute. I wanted to count how may "tr" there were, so len(filter(lambda n: n == "tr", map(attrgetter("

[issue2459] speedup for / while / if with better bytecode

2009-02-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would like to see this go forward. It looks promising. ___ Python tracker ___ ___ Python-bugs-list mail

[issue4528] test_httpservers consistently fails - OSError: [Errno 13] Permission denied (e.g. on OS X using tarball, but not svn tag r30)

2009-02-02 Thread Erkan Yilmaz
Changes by Erkan Yilmaz : -- title: test_httpservers consistently fails on OS X using tarball, but not svn tag r30 -> test_httpservers consistently fails - OSError: [Errno 13] Permission denied (e.g. on OS X using tarball, but not svn tag r30) ___ P

<    1   2