[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

[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

[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("

[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

[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) --

[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

[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

[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

[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

[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

[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-

[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

[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

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

2009-02-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Here is a patch that properly raises SyntaxError when 'return' or 'yield' statements appear outside a function. I did not bother to update the (deprecated) compiler package: it seems to be completely foreign to this kind of checks... >>> dis.dis(compi

[issue1731706] tkinter memory leak problem

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: >> Besides, not calling ConditionFinalize doesn't introduce memory leaks > > Are you sure about this? On Unix, TclpFinalizeCondition does > >pthread_cond_destroy(pcondPtr); >ckfree((char *) pcondPtr); > > both of which release memory (IIUC). Lik

[issue1731706] tkinter memory leak problem

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Besides, not calling ConditionFinalize doesn't introduce memory leaks Are you sure about this? On Unix, TclpFinalizeCondition does pthread_cond_destroy(pcondPtr); ckfree((char *) pcondPtr); both of which release memory (IIUC). Likewise for

[issue1731706] tkinter memory leak problem

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: It is much more important to fix the memory leak anyway, it is possible to notice real problems using test_tkleak1.py and watching the process with ps or something else provided by the platform. Besides, not calling ConditionFinalize doesn't introduce memory lea

[issue3959] Add Google's ipaddr.py to the stdlib

2009-02-02 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue5113] 2.5.4.3 / test_posix failing on HPUX systems

2009-02-02 Thread Andreas Kupries
Andreas Kupries added the comment: Yes, that does fail with error 'not owner'. andre...@bertha:~/tmp> mkdir x andre...@bertha:~/tmp> cd x andre...@bertha:~/tmp/x> touch foobar andre...@bertha:~/tmp/x> ll total 0 -rw-rw-r-- 1 andreask DomainUsers 0 Feb 2 15:06 foobar andre...@bertha:~/

[issue5113] 2.5.4.3 / test_posix failing on HPUX systems

2009-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, and when you try to chown back to yourself the root-owned foobar, does it fail? ___ Python tracker ___ __

[issue4528] test_httpservers consistently fails on OS X using tarball, but not svn tag r30

2009-02-02 Thread Erkan Yilmaz
Erkan Yilmaz added the comment: below you find following sections: -summary -details -system info summary: ** The above message also appeared on - non-OS X: Distro Pardus 2008.2 Canis aureus - Python 3.1a0 py3k:69210 (see details:steps 1-3) (in step4 you find info about test_httpserv

[issue5113] 2.5.4.3 / test_posix failing on HPUX systems

2009-02-02 Thread Andreas Kupries
Andreas Kupries added the comment: I do not know if this is standard for hpux or not. I can say that right now we have six different HPUX machines which behave in this manner, i.e. do not throw an error for the 'chown root foobar' command for an ordinary (non-root) user. Regarding the platform

[issue3959] Add Google's ipaddr.py to the stdlib

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > As such, and given the recent work made to ipaddr to make it > stdlib-friendly, my vote would be to include ipaddr in Python while > netaddr can continue growing, providing its user base with diverse > functionality while hopefully taking advantage of ipaddr

[issue3959] Add Google's ipaddr.py to the stdlib

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > so I guess a decision needs to be made. Is this something that should > be made on python-dev or does this bug have enough visibility? The bug doesn't have enough visibility, so it definitely needs to be discussed in public. > So, where do we go from here?

[issue3959] Add Google's ipaddr.py to the stdlib

2009-02-02 Thread Duncan McGreggor
Duncan McGreggor added the comment: Well, here are my thoughts on the matter: * ipaddr is relatively small, fast, and focuses on some core functionality * netaddr is designed to be very flexible (sometimes at the cost of a little speed), leaning more towards a network calculation/address manip

[issue1717] Get rid of more references to __cmp__

2009-02-02 Thread Mark Dickinson
Mark Dickinson added the comment: All relevant changes from the py3k-issue1717 branch have now been merged into the py3k branch (and from there into the 3.0 maintenance branch), in a series of revisions. Here they are, listed in py3k/release30-maint pairs: r69188, r69189, r69190, r69191, r

[issue3959] Add Google's ipaddr.py to the stdlib

2009-02-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue3959] Add Google's ipaddr.py to the stdlib

2009-02-02 Thread Guido van Rossum
Guido van Rossum added the comment: Beats me. I personally haven't had the pleasure to use either so I can't decide. Maybe a vote or a bake-off? ___ Python tracker ___ __

[issue5125] Strange locale problem with Python 3

2009-02-02 Thread Robin Stocker
Changes by Robin Stocker : -- nosy: +robin.stocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue3959] Add Google's ipaddr.py to the stdlib

2009-02-02 Thread pmoody
pmoody added the comment: (kicking an old thread) On Mon, Jan 5, 2009 at 11:21 AM, Guido van Rossum wrote: > > Guido van Rossum added the comment: > > I've been on vacation and unable to follow this, and won't have time to > catch up now. Note that I have no vested interest in Google's module

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-02-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> kbk nosy: +kbk priority: -> high ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue1242657] list(obj) can swallow KeyboardInterrupt

2009-02-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the review. Fixed in r69227. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue5128] compileall: consider ctime

2009-02-02 Thread Brett Cannon
Brett Cannon added the comment: On Mon, Feb 2, 2009 at 13:50, Brett Cannon wrote: > On Mon, Feb 2, 2009 at 12:42, Martin von Gagern > wrote: >> >> Martin von Gagern added the comment: >> >> Next iteration. With magic number, and now also closing the file again. >> I changed from unpack and n

[issue5128] compileall: consider ctime

2009-02-02 Thread Brett Cannon
Brett Cannon added the comment: On Mon, Feb 2, 2009 at 12:42, Martin von Gagern wrote: > > Martin von Gagern added the comment: > > Next iteration. With magic number, and now also closing the file again. > I changed from unpack and number comparison to pack and string > comparison, makes thing

[issue5134] Compiler warnings in sqlite module

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: I don't think we should do anything about these, except perhaps for disabling all warnings when compiling the file. These are upstream sources, so we definitely should not "fix" them. -- nosy: +loewis ___ Python tra

[issue1731706] tkinter memory leak problem

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Do we still want to say _tkinter.c supports tcl/tk from version 8.2 and > newer ? If yes, then we should add a no-op Tcl_ConditionFinalize when > using tcl older than 8.3, because that was when this function got added. Good point. If we want to fix this in 2

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

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > I'm not sure which way is the best I think that is easy to answer: Python should validate all parameters, and report ValueError if any of the parameters would otherwise be rejected by the CRT. Then, we could leave assertions on, and would never trigger them.

[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Commited in r69217 (r69219), r69220, r69222, r69223 Martin, I will open another ticket about GlobalCall deprecation, later today. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker

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

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Martin, your reproducable behaviour involves consistently disabling > functionality that those threads you mention may rely on Right. So with the current implementation, they notice immediately that something is wrong. > (and since > this i is a global st

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: The proposed patch for this issue include parts of other pending issues - so its all is single file. If python team don't like idea for "canonical host names" (part of issue 3754) this patch can be modified do not use host-triplet. Also some discussions in py-dev

[issue5128] compileall: consider ctime

2009-02-02 Thread Martin von Gagern
Martin von Gagern added the comment: Next iteration. With magic number, and now also closing the file again. I changed from unpack and number comparison to pack and string comparison, makes things a bit easier, as there is only one comparison, and as underflow of the packed data isn't an issue a

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

2009-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is an updated patch against trunk. To be honest I don't think it has a lot of future: - it changes the lnotab format (to allow negative offsets) - it rewrites the buggy block reordering code in the pure Python compiler package, but nobody seems interested i

[issue5119] wide character parameter handling in ctypes

2009-02-02 Thread Jason R. Coombs
Jason R. Coombs added the comment: I see this in the documentation, which basically answers the question: "windll does not try to select [wide or narrow functions] by magic, you must access the version you need by specifying GetModuleHandleA or GetModuleHandleW explicitely, and then call it wit

[issue5128] compileall: consider ctime

2009-02-02 Thread Brett Cannon
Brett Cannon added the comment: If you want an easy way to see how bytecode is checked, look at importlib._bootstrap in Python 3.1: http://svn.python.org/view/python/branches/py3k/Lib/importlib/_bootstrap.py?view=markup . Specifically, look at the get_code() method for _PyFileLoader. __

[issue5128] compileall: consider ctime

2009-02-02 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5128] compileall: consider ctime

2009-02-02 Thread Brett Cannon
Brett Cannon added the comment: On Mon, Feb 2, 2009 at 12:22, Martin von Gagern wrote: > > Martin von Gagern added the comment: > > Like this? Don't have the time right now to do a code review right now, but hopefully I can get to this soon. > Should the magic number be checked as well, If

[issue5128] compileall: consider ctime

2009-02-02 Thread Martin von Gagern
Martin von Gagern added the comment: Like this? Should the magic number be checked as well, and if so, against what value? I couldn't find that constant in any structure accessible from python, and jumping through hoops seems too much, as updating the python version should probably result in all

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-02-02 Thread sy12
sy12 added the comment: The problem appeared in the initial display, with a file similar to bug.py. Here is how to reproduce it: 1. open the bug.py file with IDLE 2.5 (or with Firefox from the bugs.python.org website): the display shows the file the way the compiler will (probably) see it; 2. o

[issue2090] __import__ with fromlist=[''] causes double initialization of modules

2009-02-02 Thread Brett Cannon
Brett Cannon added the comment: And just some more info, Python 2.7/3.1 have gained the importlib module/package and its import_module function which gives a much saner API than __import__. ___ Python tracker __

[issue4343] New function in Tkinter.py: setup_master

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Any chance I can get this in ? I'm using something very similar to test the ttk wrapper and will also be using in other tests, extensions would also benefit from it, and old code doesn't get affected to it. -- versions: +Python 3.1 -Python 3.0

[issue2090] __import__ with fromlist=[''] causes double initialization of modules

2009-02-02 Thread Mart Sõmermaa
Mart Sõmermaa added the comment: A pointer for people who keep referring to this bug -- after discussions, the following idiom was selected as the "official" way to import modules by name in 2.x (as seen in latest 2.x docs http://docs.python.org/dev/library/functions.html#__import__ ). --- If

[issue5135] Expose simplegeneric function in functools module

2009-02-02 Thread Paul Moore
New submission from Paul Moore : This patch takes the existing "simplegeneric" decorator, currently an internal implementation detail of the pkgutil module, and exposes it as a feature of the functools module. Documentation and tests have been added, and the pkgutil code has been updated to use

[issue5133] Error with Eval

2009-02-02 Thread Ezio Melotti
Ezio Melotti added the comment: The leading zero is used to define octal numbers, 8 and 9 are not valid octal digits, see http://docs.python.org/reference/lexical_analysis.html#integer-and-long-integer-literals Also, you don't need to use eval to reproduce that behavior. The number displayed i

[issue5133] Error with Eval

2009-02-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: They don't crash. They raise a SyntaxError because the "08" and "09" are invalid octal literals. If you're working with decimal literals that are padded on the left with zeroes, those need to be stripped off before conversion: '000987'.lstrip('0') --> '

[issue5132] distutils: libpython not found when building python extensions on Solaris when Python was built with --enable-shared

2009-02-02 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: -> tarek nosy: +tarek versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker ___ _

[issue5134] Compiler warnings in sqlite module

2009-02-02 Thread Raymond Hettinger
New submission from Raymond Hettinger : >From a compilation of Py3.1 r69209 : ..\..\..\sqlite-3.5.9\sqlite3.c(9702) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data ..\..\..\sqlite-3.5.9\sqlite3.c(9703) : warning C4244: '=' : conversion from 'double' to 'int', poss

[issue5133] Error with Eval

2009-02-02 Thread David Nicol
New submission from David Nicol : The single line statements: eval("08") ; and eval("09") both crash; while eval("07") works fine -- components: None messages: 80982 nosy: davidnicol severity: normal status: open title: Error with Eval type: compile error versions: Python 2.6 _

[issue4471] IMAP4 missing support for starttls

2009-02-02 Thread Lorenzo M. Catucci
Lorenzo M. Catucci added the comment: I just found out that the gmail servers don't support connections on the standard pop3/imapv4 ports, but only on the SSL wrapped ones. I'm unsure if cmu.edu anonymous imap server admin's would be happy with their server becoming python's official imap/pop t

[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, is it fine to remove it for good in 3.1 ? And then add a warning in 2.7 when it gets called which in turns just call Tkapp_Call ? ___ Python tracker

[issue1731706] tkinter memory leak problem

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Do we still want to say _tkinter.c supports tcl/tk from version 8.2 and newer ? If yes, then we should add a no-op Tcl_ConditionFinalize when using tcl older than 8.3, because that was when this function got added. Besides that, the patch looks fine to me too (

[issue5128] compileall: consider ctime

2009-02-02 Thread Brett Cannon
Brett Cannon added the comment: The problem is not that ctime should be taken into account, but that the .pyc file should be read for its timestamp and that should be used. Otherwise you are still deviating from what Python uses internally to decide whether bytecode should be regenerated. -

[issue5132] distutils: libpython not found when building python extensions on Solaris when Python was built with --enable-shared

2009-02-02 Thread Dave Peterson
New submission from Dave Peterson : I've had trouble building Python extensions on Solaris if the Python install I'm using was built with the '--enable-shared' option. In tracking this down, it appears that the code in 'distutils/command/build_ext.py' contains a number of statements to detect a

[issue5113] 2.5.4.3 / test_posix failing on HPUX systems

2009-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: That explains what the test fails then. The test expects that you can't chown a file to root as a normal user, and it verifies that an exception is raised in that case. Do you know if this behaviour is standard under HP-UX? If so, what do sys.platform and platfo

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-02-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't see a problem with Untabify. IDLE cannot know how big you intended your tabs to be, so it presents a dialog asking you. That seems reasonable to me. In most cases, the default is pretty good -- it attempts to infer the tab width by finding the firs

[issue4471] IMAP4 missing support for starttls

2009-02-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: For network tests like this where it is useful to test against external servers, could we just pick few known external servers that are unlikely to every go away? imap.gmail.com:993 for instance? (i don't know enough about imap to know if it supports what

[issue5113] 2.5.4.3 / test_posix failing on HPUX systems

2009-02-02 Thread Andreas Kupries
Andreas Kupries added the comment: Yes. Session log: andre...@bertha:~/tmp/x> ll total 0 andre...@bertha:~/tmp/x> touch foobar andre...@bertha:~/tmp/x> ll total 0 -rw-rw-r-- 1 andreask DomainUsers 0 Feb 2 10:17 foobar andre...@bertha:~/tmp/x> chown root foobar andre...@bertha:~/tmp

[issue4471] IMAP4 missing support for starttls

2009-02-02 Thread Lorenzo M. Catucci
Lorenzo M. Catucci added the comment: Thanks for following-up, Bill. While I fully understand the need for unit-testing, I don't have the guts to start writing a dummy imap server from scratch. I tested my changes on a couple of servers I manage, one running uw-imapd and the other running cyru

[issue5127] UnicodeEncodeError - I can't even see license

2009-02-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: There were non-ascii characters in the Windows license file. This was corrected with r67860. > I believe that chr(0x1) and chr(0x11000) should have the > opposite behavior. This other problem is because on a narrow unicode build, Py_UNICODE_ISPRINT

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-02 Thread Tarek Ziadé
Tarek Ziadé added the comment: maybe you can group all your patch into one single issue since they are related, and remove old patches, -- nosy: +tarek ___ Python tracker ___ ___

[issue4137] update SIG web pages

2009-02-02 Thread Tarek Ziadé
Tarek Ziadé added the comment: akidata has started to write some proposal changes he will submit to pydotorg. Georg, should we keep track of this here or it's ok to close this ticket and let the process continue in the ML ? ___ Python tracker

[issue831643] Set option for subprocess in setup.py

2009-02-02 Thread Akira Kitada
Akira Kitada added the comment: Sorry, but I don't understand this report. Is reported problem fixed already? -- nosy: +akitada, tarek ___ Python tracker ___ __

[issue5071] Distutils should not fail if install dir is not in PYTHONPATH

2009-02-02 Thread Tarek Ziadé
Tarek Ziadé added the comment: closing for the same reason than #5070 -- status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue5070] Distutils should create install dir if needed

2009-02-02 Thread Tarek Ziadé
Tarek Ziadé added the comment: closing the issue since it's on setuptools side -- status: open -> closed ___ Python tracker ___ ___ Py

[issue5052] Mark distutils to stay compatible with 2.3

2009-02-02 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Some more explanation for why keeping distutils Python 2.3 compatible is desirable: distutils was removed from the PEP without any public discussion outside a sprint at PyCon and the reasons given for it did not take into account that people will want to us

[issue1835] Update version number in __init__.py

2009-02-02 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5129] indentation in IDLE 2.6 different from IDLE 2.5, 2.4 or vim

2009-02-02 Thread sy12
sy12 added the comment: IDLE's "untabify" feature (required by IDLE 2.6 when running from IDLE) seems to do the job correctly but this function doesn't inspire trust and might damage the code, because IDLE 2.6 is not able to correctly display mixed spaces and tabs (maybe for a reason linked to p

[issue1052827] filelist.findall should use os.lstat

2009-02-02 Thread Akira Kitada
Akira Kitada added the comment: This is reproducible, but I'm not sure why this could be a problem... Is there any use cases that you think it could be better than failing? -- nosy: +akitada, tarek ___ Python tracker

[issue4704] Update pybench for python 3.0

2009-02-02 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 2009-02-01 00:39, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > The patch changes results a lot compared to the previous version > (BuiltinFunctionCalls is 3x slower). I propose the following patch, > which gives roughly the same runtime

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

2009-02-02 Thread Armin Rigo
Armin Rigo added the comment: ...which does not really solve anything, as "if 0: yield" at module-level is now just ignored instead of raising a SyntaxError (e.g. like "if False: yield"). ___ Python tracker

[issue4471] IMAP4 missing support for starttls

2009-02-02 Thread Bill Janssen
Bill Janssen added the comment: Lorenzo, do we have test cases for this? I think you should try to add some test cases. We may need to set up some test mail servers on python.org to accommodate such tests. -- nosy: +janssen ___ Python tracker

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

2009-02-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Just impression. I feel Martin's "disable globally, and provide API to turn it on" is simple and good. +1/2. Of course, my impression is biased by the fact I have never used _ASSERTE even when debugging python. ___ Python

[issue1835] Update version number in __init__.py

2009-02-02 Thread Tarek Ziadé
Tarek Ziadé added the comment: I'll change the comment explaining how things work now. -- assignee: lemburg -> tarek ___ Python tracker ___ __

[issue1109659] distutils argument parsing is bogus

2009-02-02 Thread Tarek Ziadé
Tarek Ziadé added the comment: yes, that's the expected behavior *But* we could add a warning, that says that an option was unused. -- assignee: -> tarek priority: normal -> low type: -> feature request versions: +Python 2.7, Python 3.1 ___ Python

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

2009-02-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Maybe already conclusion is met, so probably I shouldn't post this patch but... here is the patch implementing msg80934. I believe this is thread safe. (This patch doesn't include codes of fopen.patch, but it doesn't mean they are not necessary. My patch is j

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

2009-02-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This was corrected by Benjamin with r69158. Now the yield statement is still optimized away, but at least the CO_GENERATOR flag is set only when compiling a function. -- nosy: +amaury.forgeotdarc, benjamin.peterson resolution: -> fixed status: op

[issue1109659] distutils argument parsing is bogus

2009-02-02 Thread Akira Kitada
Akira Kitada added the comment: Here's the usage of setup.py usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help and '--dry-run' is a global option. So it looks l

[issue1835] Update version number in __init__.py

2009-02-02 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The distutils version number is now updated automatically by the Python release process, so the comment in that file can be removed. ___ Python tracker _

[issue1815] Distutils add ability to skip build [Feature Request]

2009-02-02 Thread Tarek Ziadé
Tarek Ziadé added the comment: right, nothing to fix here, the feature is available -- resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue1815] Distutils add ability to skip build [Feature Request]

2009-02-02 Thread Akira Kitada
Akira Kitada added the comment: Python 3.0 has --skip-build, too. Can we close this ticket? -- nosy: +akitada, tarek ___ Python tracker ___ __

[issue1835] Update version number in __init__.py

2009-02-02 Thread Akira Kitada
Akira Kitada added the comment: It seems the version number has been bumped now. Was it okay? -- nosy: +akitada, tarek ___ Python tracker ___

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: If the Sun guy only commented on _XOPEN_SOURCE_EXTENDED, I'm not sure that this also applies to _XOPEN_SOURCE. For example, on my Solaris 9, I have (in signal.h) conditionally #pragma redefine_extname sigwait __posix_sigwait and in sys/socket.h #pragma rede

[issue5131] pprint doesn't know how to print a set or a defaultdict

2009-02-02 Thread Nick Craig-Wood
New submission from Nick Craig-Wood : I noticed this the other day when debugging a program that neither set() nor defaultdict() pprint() properly Same under 3.1 and 2.5 (Not tried 2.6/2.7 but I assume it is the same) >>> pprint(set(range(100))) set([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13

[issue1731706] tkinter memory leak problem

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: I think the patch is correct. gpolo, what's your opinion? ___ Python tracker ___ ___ Python-bugs-list mai

[issue4879] Allow buffering for HTTPResponse

2009-02-02 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Checked in r69209 to py3k ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue4448] should socket readline() use default_bufsize instead of _rbufsize?

2009-02-02 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I have looked at this for py3k. the behaviour of HTTPResponse.fp.read() is the same, wheter fp is buffered or not: a read() will read to EOF for HTTP/1.1, which means blocking indefinetely. So, read() is forbidden for HTTP/1.1. For fp.read(n), buff

[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Martin v. Löwis
Changes by Martin v. Löwis : -- assignee: loewis -> gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: The patch looks fine, please apply. We should come up with a deprecation strategy for GlobalCall, though, since that function is now mostly redundant. -- resolution: -> accepted ___ Python tracker

[issue5130] Obsolete reference to "unicode" in glossary

2009-02-02 Thread Mitchell Model
New submission from Mitchell Model : The glossary entry for "sequence" mentions the type "unicode", but that's gone. -- assignee: georg.brandl components: Documentation messages: 80943 nosy: MLModel, georg.brandl severity: normal status: open title: Obsolete reference to "unicode" in gl

[issue2897] include structmember.h in Python.h

2009-02-02 Thread Martin v. Löwis
Changes by Martin v. Löwis : -- assignee: loewis -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue4494] Python 2.6 fails to build with Py_NO_ENABLE_SHARED

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: Thanks for the patch. Committed as r69205, r69206, r69207, r69208. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ __

  1   2   >