[issue5222] Please include AutoScroll and create_container in pyttk and Tkinter support

2009-02-11 Thread Martin v. Löwis
Martin v. Löwis added the comment: No additional libraries can be included into 2.6. For 2.7, Guilherme Polo ttk module is already included, so closing this as fixed. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker <

[issue4751] Patch for better thread support in hashlib

2009-02-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: assigning to me so i don't lose track of making sure this happens for trunk. -- assignee: -> gregory.p.smith components: +Extension Modules -Library (Lib) ___ Python tracker __

[issue4821] Patches for thread-support in built-in SHA modules

2009-02-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: fyi - I took care of the unicode data acceptance issue for all hashlib related modules in the py3k branch in r69524. Yes, the hashlib modules have a -lot- of code in common. Refactoring that would be nice but i haven't looked into it. I at least moved the

[issue4818] Patch for thread-support in md5module.c

2009-02-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: fyi - I took care of the unicode data acceptance issue for all hashlib related modules in the py3k branch in r69524. -- nosy: +gregory.p.smith ___ Python tracker ___

[issue3745] _sha256 et al. encode to UTF-8 by default

2009-02-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: Fixed in py3k branch r69524. needs porting to release30-maint. possibly also release26-maint and trunk. -- priority: -> normal versions: +Python 2.6, Python 2.7 ___ Python tracker

[issue5032] itertools.count step

2009-02-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5032] itertools.count step

2009-02-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Found a way to do this while keeping full speed on the default case. Also, fixed an error where the start argument was rounded to the nearest integer. Also, improved the utility over its cousin, range() by allowing floating point arguments. See r69522 ___

[issue5223] infinite recursion in PyErr_WriteUnraisable

2009-02-11 Thread lplatypus
lplatypus added the comment: sorry I meant revision 65320 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5223] infinite recursion in PyErr_WriteUnraisable

2009-02-11 Thread lplatypus
lplatypus added the comment: I believe that this problem was introduced in subversion revision 65319. ___ Python tracker ___ ___ Python-bugs-li

[issue1161031] Neverending warnings from asyncore

2009-02-11 Thread Josiah Carlson
Josiah Carlson added the comment: Considering that we're looking at 2.7 and 3.1, I think that (paraphrased) "logging fallout from changes to 2.4" are a bit out-of- date. People who have continued to use asyncore/asynchat in the last 4 years have already changed their code. People who write

[issue5223] infinite recursion in PyErr_WriteUnraisable

2009-02-11 Thread lplatypus
New submission from lplatypus : Here is an example of pure Python code which can cause the interpreter to crash. I can reproduce the problem in 2.6.0 and 2.6.1 but not in 2.5.2. The __getattr__ function in this example is interesting in that it involves infinite recursion, but then the RuntimeE

[issue727732] getpath.c-generated prefix wrong for Tru64 scripts

2009-02-11 Thread Mike Coleman
Mike Coleman added the comment: I'll go down to the cemetery and see if I can dig one up. :-) All of our Tru64 machines have been powered-down for over three years now, so as far as I'm concerned you can mark this one as no longer relevant. ___ Python track

[issue5222] Please include AutoScroll and create_container in pyttk and Tkinter support

2009-02-11 Thread Don Rozenberg
New submission from Don Rozenberg : I have just released PAGE, a Python GUI generator utilizing tk and ttk widgets. It requires the Pyttk extension to Tkinter to support the ttk widgets. It would be great if Pyttk were included in the Python library if not into Tkinter. I also suggest that Pytt

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: David, yes, I did mean x ^= x>>4; How embarrassing. ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue637094] print to unicode stream should __unicode

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Not sure it's still important after 3.0 release. Confirmed in trunk: import codecs class X: def __unicode__(self): print 'unicode' return u'unicode' def __str__(self): print 'str' return 'str' x=X() f = codecs.getwriter('utf8')(open("/tmp/ou

[issue660095] GNU readline version confusion

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue678250] test_mmap failling on AIX

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Is this concern still valid? -- components: +Tests nosy: +ajaksu2 type: -> crash ___ Python tracker ___ ___

[issue683938] HTMLParser attribute parsing bug

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue700921] Wide-character curses

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue724459] Add documentation about line endings in email messages.

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> needs patch versions: +Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue727732] getpath.c-generated prefix wrong for Tru64 scripts

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: We'd need confirmation, preferably with assistance from a Tru64 guru. -- nosy: +ajaksu2 stage: -> test needed type: -> behavior ___ Python tracker ___

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Adam Olsen
Adam Olsen added the comment: Testing with a large set of ids is a good demonstration, but not proof. Forming a set of *all* possible values within a certain range is proof. However, XOR does work (OR definitely does not) — it's a 1-to-1 transformation (reversible as you say.) Additionally, i

[issue730467] Not detecting AIX_GENUINE_CPLUSPLUS

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Check still present in mentioned form in configure.in -- nosy: +ajaksu2 ___ Python tracker ___ ___ P

[issue740495] API enhancement: poplib.MailReader()

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low versions: +Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue747320] rfc2822 formatdate functionality duplication

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Still present in source, but doesn't seem too bad. -- nosy: +ajaksu2 versions: +Python 2.6 ___ Python tracker ___ __

[issue749722] isinstance and weakref proxies.

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue755670] improve HTMLParser attribute processing regexps

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- dependencies: +HTMLParser attribute parsing bug, allow HTMLParser to continue after a parse error stage: -> test needed type: -> feature request versions: +Python 2.7 -Python 2.3 ___ Python tracker

[issue968063] Add fileinput.islastline()

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Issue issue 776100 closed as duplicated. -- nosy: +ajaksu2 priority: normal -> low versions: +Python 2.6 -Python 2.3 ___ Python tracker ___

[issue776100] new function 'islastline' in fileinput

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Issue 968063 has better patch, use case and discussion. -- nosy: +ajaksu2 resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Add fileinput.islastline() ___ Python tracker

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread David W. Lambert
David W. Lambert added the comment: "x |= x>>4" Are you (Ray) sure you didn't mean "x ^= x>>4"? -- nosy: +LambertDW ___ Python tracker ___ _

[issue3991] urllib.request.urlopen does not handle non-ASCII characters

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Library (Lib) keywords: +easy stage: -> test needed ___ Python tracker ___ ___ Python-bugs-l

[issue1777134] minidom pretty xml output improvement

2009-02-11 Thread Roy Wood
Roy Wood added the comment: Thanks! :-) On Wed, Feb 11, 2009 at 9:28 PM, Daniel Diniz wrote: > > Daniel Diniz added the comment: > > @Roy: we can try :) > > Patch updated, tests pass. However, keeping the default output and > adding an option to prettyprint should keep lots of current users

[issue1777134] minidom pretty xml output improvement

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: @Roy: we can try :) Patch updated, tests pass. However, keeping the default output and adding an option to prettyprint should keep lots of current users sane, while those wanting prettier output could have it. -- keywords: +easy nosy: +ajaksu2 stage: ->

[issue1661108] base64.urlsafe_b64encode() shouldn't use the = character

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Not following the spec doesn't seem reasonable. Adding a caveat about how we follow the spec doesn't make much sense (I started to write one and dropped it at "The resulting string" :D). -- nosy: +ajaksu2 stage: -> patch review _

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Antoine] > Ok, updated patch: > - uses a 4-bit rotate (not shift) > - avoids comparing an unsigned long to -1 > - tries to streamline the win64 special path (but I can't test) pointer_hash4.patch looks fine to me. Still, I think it's worth considering the

[issue5208] urllib2.build_opener([handler, ...]) incorrect signature in docs

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: I believe those square brackets mean "supplying handlers is optional", but even so it'd be very ambiguous. -- nosy: +ajaksu2 ___ Python tracker __

[issue1161031] Neverending warnings from asyncore

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Josiah: that'd be around rev36408, as 1.53 corresponds to rev36033 (from the log and issue 957240) -- nosy: +ajaksu2 stage: -> test needed ___ Python tracker ___

[issue1074015] current directory in sys.path handles symlinks badly

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Still happens in trunk. -- nosy: +ajaksu2 stage: -> test needed ___ Python tracker ___ ___ Python-

[issue1534764] sys.path gets munged with certain directory structures

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Reproduced on trunk, needed unsetting PYTHONPATH. A test case with os.mkdir, chdir, etc. would be great. -- nosy: +ajaksu2 stage: -> test needed type: -> behavior ___ Python tracker

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Adam Olsen
Adam Olsen added the comment: > At four bits, you may be throwing away information and I don't think > that's cool. Even if some selected timings are better with more bits > shifted, all you're really showing is that there is more randomness in > the upper bits than the lower ones. But that do

[issue1548371] filterwarnings('error') has no effect

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed in trunk. -- nosy: +ajaksu2 stage: -> needs patch ___ Python tracker ___ ___ Python-bugs

[issue1562822] decimal module borks thread

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Here's the output of trunk (debug) for OP's test: ./python ../thread.py Exiting test. Exception KeyError: KeyError(-1210869568,) in ignored [31071 refs] -- nosy: +ajaksu2 type: -> behavior ___ Python tracker

[issue5219] IDLE: slowness, pauses enter long strings

2009-02-11 Thread John DeLuca
John DeLuca added the comment: (pyJohn)... additional information since this is a performance issue: Lenovo s10; Win XP; 1GB; Intel Atom 1.66 Mhz ___ Python tracker ___ _

[issue918368] urllib doesn't correct server returned urls

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Any idea about how to test this one reliably? -- stage: -> test needed type: -> behavior versions: +Python 2.6, Python 2.7 -Python 2.3 ___ Python tracker

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- versions: +Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue816059] popen2 work, fixes bugs 768649 and 761888

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: The test code seems to run fine in a debug build of trunk, but the linked issues requires a more complex context. -- dependencies: +popen2.Popen3 and popen2.Popen4 leaks filedescriptors stage: -> test needed type: -> behavior versions: +Python 2.6 -Pyth

[issue5211] Fix complex type to avoid coercion in 2.7.

2009-02-11 Thread Blair
Blair added the comment: I am happy to collaborate in finding a solution, but I do not have enough knowledge or skill to work with the code alone. Simply documenting it does not remove the frustration that a few people will enounter. The key point being that you can subclass the other numeri

[issue775321] plistlib error handling

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- dependencies: +plistlib error handling stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue755660] allow HTMLParser to continue after a parse error

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue755660] allow HTMLParser to continue after a parse error

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Tests still pass with updated patch, but new tests (and docs!) for this feature are needed if Titus' positive review stands. -- nosy: +ajaksu2 stage: -> test needed versions: +Python 2.7 -Python 2.3 Added file: http://bugs.python.org/file13041/htmlparser

[issue1046092] HTMLParser fix to accept mailformed tag attributes

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Heh, the patch applies cleanly to trunk more than four years later and tests pass fine. We'll surely need better tests if the behavior change is considered an improvement. -- nosy: +ajaksu2 ___ Python tracker

[issue1008086] socket.inet_aton returns 8 bytes on LP64 platforms

2009-02-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: fixed in trunk r69519. needs backporting to release26-maint and release30-maint. leaving open until that happens. -- keywords: +64bit -patch title: patch for 767150 -> socket.inet_aton returns 8 bytes on LP64 platforms type: -> behavior versions:

[issue767150] socket.inet_aton on 64bit platform

2009-02-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: Sad that this was closed as wontfix years ago. anyways I am fixing this. see #1008086. -- keywords: +64bit nosy: +gregory.p.smith superseder: -> patch for 767150 ___ Python tracker

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, updated patch: - uses a 4-bit rotate (not shift) - avoids comparing an unsigned long to -1 - tries to streamline the win64 special path (but I can't test) Added file: http://bugs.python.org/file13040/pointer_hash4.patch

[issue1008086] patch for 767150

2009-02-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: fixing now. -- assignee: twouters -> gregory.p.smith keywords: +easy nosy: +gregory.p.smith ___ Python tracker ___

[issue1103926] email.base64MIME.header_encode vs RFC 1522

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1008086] patch for 767150

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Test from issue 767150: """ socket.inet_aton() returns an 8 byte string when built on Linux/IA64. This should be 4 bytes on all architectures. Example: >>> import socket >>> socket.inet_aton('192.168.2.1') '\xc0\xa8\x02\x01\x00\x00\x00\x00' """ The bug was con

[issue1303434] Please include pdb with windows distribution

2009-02-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 2009-02-11 22:20, Martin v. Löwis wrote: > Martin v. Löwis added the comment: > >> Hi Martin, wouldn't just uploading the pythonXX.pdb to the release page >> be enough. > > It's not clear to me what is being requested: just that single PDB file, > or a

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Guys, let's be careful. Make sure that efforts to randomize lower bits don't destroy information. Something like x |= x>>8 is reversible and fast. Other fun looking transformations are not: >>> len(set((x >> 4) + (x & 15) for x in range(10**6)))

[issue1381476] csv.reader endless loop

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed as working on trunk and py3k. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file12981/time_object_hash.py ___ Python tracker ___ ___ Python-bugs-list mail

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is an updated benchmark script, for both object() and an user-defined class, and adding dict lookup, set lookup and set difference. Set difference is massively faster: up to 60% faster. Added file: http://bugs.python.org/file13039/time_object_hash.py

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is an updated patch. It uses a 4-bit shift and an addition. We should avoid the use of logical or, because it makes the outputs non-uniformly distributed ('1' bits are more likely). Added file: http://bugs.python.org/file13038/pointer_hash3.patch

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Mark Dickinson
Mark Dickinson added the comment: > At four bits, you may be throwing away information and I don't think > that's cool. The current patch *does* do a rotation: it doesn't throw away any information. ___ Python tracker __

[issue5220] os.makedirs' mode argument has bad default value

2009-02-11 Thread Joshua Bronson
Joshua Bronson added the comment: > My suspicion is that people setting explicit file permissions > typically know what they are doing, and that you will find that > your tickets get closed as invalid, explaining to you that this > mode usage is fully intentional. For what it's worth, I asked M

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I'm *much* more comfortable with a byte-swap, rotation, or xoring-in > upper bits than with shifts that potentially destroy entropy. > Otherwise, your taxing apps that build giant sets/dicts and need all > distinguishing bits to avoid collision pile-ups. Wou

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: At four bits, you may be throwing away information and I don't think that's cool. Even if some selected timings are better with more bits shifted, all you're really showing is that there is more randomness in the upper bits than the lower ones. But that doe

[issue5220] os.makedirs' mode argument has bad default value

2009-02-11 Thread Martin v. Löwis
Martin v. Löwis added the comment: > My misunderstanding stemmed from recently coming across two widely-used > packages which both pass mode=0750 to os.makedirs. I have no idea why > they would be doing this (as it effectively throws away part of the > umask), unless they too are misunderstan

[issue5202] wave.py cannot write wave files into a shell pipeline

2009-02-11 Thread Guilherme Polo
Guilherme Polo added the comment: Nice. I said tests in hope wave gets more tests, since right one there is a single one. I will see if I can produce something. ___ Python tracker ___ __

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-11 Thread Guilherme Polo
Guilherme Polo added the comment: Thanks for taking a look, my bad for taking so long to reply. I'm adding a new patch now. This one, besides the fix needed mentioned above, disregards tp_iter from old class instances (since they are always available and tell us nothing). Added file: http://bu

[issue5220] os.makedirs' mode argument has bad default value

2009-02-11 Thread Joshua Bronson
Joshua Bronson added the comment: Ah, I was misunderstanding the behavior of mkdir, thank you for the explanation. My misunderstanding stemmed from recently coming across two widely-used packages which both pass mode=0750 to os.makedirs. I have no idea why they would be doing this (as it eff

[issue1303434] Please include pdb with windows distribution

2009-02-11 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Hi Martin, wouldn't just uploading the pythonXX.pdb to the release page > be enough. It's not clear to me what is being requested: just that single PDB file, or also the PDB files for all of the extension modules? Also, shouldn't the file be compressed someh

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Mark Dickinson
Mark Dickinson added the comment: I'm fine with rotating 4 bits instead of 3, especially if the timings look good on 32-bit as well as 64-bit. We should really benchmark dict lookups (and set membership tests) as well as dict creation. ___ Python tracker

[issue1303434] Please include pdb with windows distribution

2009-02-11 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg : -- versions: +Python 2.7, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue1303434] Please include pdb with windows distribution

2009-02-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Hi Martin, wouldn't just uploading the pythonXX.pdb to the release page be enough. The distributed DLL already points to the source location on your system :-) E.g. for Python 2.5, this was c:\loewis\25\python\PCbuild\python25.pdb Or are you thinking of ha

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Adam Olsen
Adam Olsen added the comment: Antoine, I only meant list() and dict() to be an example of objects with a larger allocation pattern. We get a substantial benefit from the sequentially increasing memory addresses, and I wanted to make sure that benefit wasn't lost on larger allocations than objec

[issue5220] os.makedirs' mode argument has bad default value

2009-02-11 Thread Martin v. Löwis
Martin v. Löwis added the comment: I don't understand the problem. The directory creation *does* take the umask into account - that's the whole point of the umask! The directory being created has the bits (mode & ~umask & 0777) set - because of the semantics of mkdir(2), not because of Python's

[issue5221] help related topic doesn't exist

2009-02-11 Thread David W. Lambert
New submission from David W. Lambert : help function is not current, then again, neither is my python3. Possibly sequencemethods[12] are eradicated. $ p3 Python 3.0rc1+ (py3k, Nov 5 2008, 14:44:46) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2 Type "help", "copyright", "credits" or "licens

[issue5216] distutils.tests.test_build_ext.BuildExtTestCase fails when srcdir != builddir

2009-02-11 Thread Roumen Petrov
Roumen Petrov added the comment: I guess fixed in trunk - see issue4070 and issue4151 . -- nosy: +rpetrov ___ Python tracker ___ ___ P

[issue5220] os.makedirs' mode argument has bad default value

2009-02-11 Thread Joshua Bronson
New submission from Joshua Bronson : os.makedirs' mode argument defaults to a hardcoded value of 511 (0777 in octal). This forces the caller to either pass in a different hardcoded value (commonly 0750), or to implement a workaround that calculates the expected mode based on the process owner'

[issue5202] wave.py cannot write wave files into a shell pipeline

2009-02-11 Thread David Jones
David Jones added the comment: On 10 Feb 2009, at 21:15, David Jones wrote: > > David Jones added the comment: > > On 10 Feb 2009, at 16:57, Guilherme Polo wrote: > >> >> Guilherme Polo added the comment: >> >> Now, is there some problem if we remove the calls to the "tell" >> method >> in

[issue969718] BASECFLAGS are not passed to module build line

2009-02-11 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5215] change value of local variable in debug

2009-02-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Could you describe the problem in more detail please? I've having trouble understanding you description. For example, you could you paste the pdb session you used and explain what you expected? -- nosy: +benjamin.peterson ___

[issue2437] Distutils runtime_library_dirs broken on Windows

2009-02-11 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1327971] HTTPResponse instance has no attribute 'fileno'

2009-02-11 Thread Daniel Diniz
Daniel Diniz added the comment: The urllib patch breaks test_pyclbr because test_pyclbr can't handle properties. I think the test is wrong here, hence the hack attached... otherwise, let's go with httplib. Added file: http://bugs.python.org/file13036/test_pyclbr_property.diff _

[issue5219] IDLE: slowness, pauses enter long strings

2009-02-11 Thread John DeLuca
New submission from John DeLuca : In Interpreted Mode, when enter long strings, such as ofile.write (" this is a long string...") or print ("this is a long string..."), the keyboard entry is delayed - sometimes for 20+ seconds. If one completes the string (typing blindly as not text is visible

[issue5200] unicode.normalize gives wrong result for some characters

2009-02-11 Thread Martin v. Löwis
Martin v. Löwis added the comment: > The È... comes from French surnames and our French developer wants to group > all versions > of E together. The É... can be found in French surnames in Sweden as well as > in Germany. > The program, GRAMPS is a genealogy program used in about 20 languages,

[issue1159] os.getenv() not updated after external module uses C putenv()

2009-02-11 Thread Jason R. Coombs
Jason R. Coombs added the comment: As a workaround, could you use ctypes to pull the environment back into the python context? For example: http://paste.turbogears.org/paste/34734 -- nosy: +jaraco ___ Python tracker

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: You must check tp_iter as well, not only Py_TPFLAGS_HAVE_ITER. Py_TPFLAGS_HAVE_ITER only tells you that the tp_iter field exists, not that it's non-NULL. (see the code for PyObject_GetIter() in Objects/abstract.c for an example) -- nosy: +pitrou __

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-11 Thread Guilherme Polo
Guilherme Polo added the comment: (Btw, the suggestion to check for tp_iter came from Antoine Pitrou. It seemed fine to me.) ___ Python tracker ___ ___

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-11 Thread Guilherme Polo
Changes by Guilherme Polo : -- components: +Interpreter Core type: -> behavior versions: +Python 2.7, Python 3.1 ___ Python tracker ___ __

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2009-02-11 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, I find it weird that given this sample code: def g(): yield iter(None) list(*g()) I get this traceback: Traceback (most recent call last): File "a1.py", line 3, in list(*g()) TypeError: type object argument after * must be a sequence, not ge

[issue5200] unicode.normalize gives wrong result for some characters

2009-02-11 Thread Peter Landgren
Peter Landgren added the comment: The È... comes from French surnames and our French developer wants to group all versions of E together. The É... can be found in French surnames in Sweden as well as in Germany. The program, GRAMPS is a genealogy program used in about 20 languages, so there

[issue2805] 2to3 doesn't correct divisions

2009-02-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: I concur with Raymond. There isn't yet a "-3" warning for class division, though. I suppose the compiler could emit one when "/" is used without from __future__ import division. That's another issue, though. -- resolution: -> rejected status: open -

[issue5200] unicode.normalize gives wrong result for some characters

2009-02-11 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Can you think of any solution to this conflict? I don't quite understand why you want to place É, È, Ë, Ê all along with E, yet Å,Ä,Ö after Z. Because that's what the Swedish alphabet says? Please understand that collation varies across languages. For exam

[issue1294032] Distutils writes keywords comma-separated

2009-02-11 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: akuchling -> tarek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1327971] HTTPResponse instance has no attribute 'fileno'

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : Removed file: http://bugs.python.org/file13031/urllib_fileno.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue1327971] HTTPResponse instance has no attribute 'fileno'

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : Added file: http://bugs.python.org/file13033/urllib_fileno_2.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue1327971] HTTPResponse instance has no attribute 'fileno'

2009-02-11 Thread Daniel Diniz
Changes by Daniel Diniz : Removed file: http://bugs.python.org/file13030/httplib_fileno.diff ___ Python tracker ___ ___ Python-bugs-list mai

  1   2   >