[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-08 Thread Jyrki Wahlstedt
Jyrki Wahlstedt added the comment: Well, the background here is that at MacPorts the builds are done using Portfiles (I maintain some), and it seems that the current way of getting things configured and built leads to redundant, extraneous arch arguments. I don't know the internals of port sys

[issue2022] test_al converted to unittest

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue2023] test_cd converted to unittest

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue2024] test_gl.py converted to unittest

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2044] test_sunaudiodev.py converted to unittest

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1945] Document back ported C functions

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue2009] Grammar change to prevent shift/reduce problem with varargslist

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1745722] please add wsgi to SimpleXMLRPCServer

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue5778] sys.version format differs between MSC and GCC

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: msc is the same in 3.1. How about gcc? If still different, what change are you proposing? add \n to one or delete it from other? I agree that this is a (minor) unfortunate difference, but ... Changing either would be a pitfall to developers who only use one or

[issue3423] DeprecationWarning message applies to wrong context with exec()

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New features only in 3.2 -- versions: -Python 2.5, Python 2.6, Python 3.1 ___ Python tracker ___ __

[issue8402] glob returns empty list with "[" character in the folder name

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 3.1.2 doc for fnmatch.translate no longer says "There is no way to quote meta-characters." If that is still true (no quoting method is given that I can see), then that removal is something of a regression. -- nosy: +tjreedy versions: +Python 3.2 -

[issue1109602] Need some setup.py sanity

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Skip, did the suggestion work? or is this otherwise out of date for 3.2? -- nosy: +tjreedy versions: +Python 3.2 -Python 2.5 ___ Python tracker _

[issue8561] Install .exes generated with distutils to not do a CRC check

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.3 ___ Python tracker ___ ___ Python

[issue4254] _cursesmodule.c callable update_lines_cols()

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review versions: +Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list ma

[issue3214] Suggest change to glossary explanation: "Duck Typing"

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I actually would challenge the first sentence "A pythonic programming style which determines an object’s type by inspection of its method or attribute signature ". To me, and at least some usage on python-list, duck-typing means determining the interface (not

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

2010-07-08 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue3058] Let SimpleXMLRPCServer pass client_address to called functions.

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.x, class SimpleXMLRPCServer lives in module xmlrpc.server -- nosy: +tjreedy versions: +Python 3.2 -Python 2.5 ___ Python tracker ___ _

[issue5950] Make zimport work with zipfile containing comments

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does 'zimport' refer to the 3.1 zipfile or zipimport modules or an internal function called zimport? -- nosy: +tjreedy title: zimport doesn't work with zipfile containing comments -> Make zimport work with zipfile containing comments versions: +Python

[issue6592] otparse: processing variable number of short option arguments

2010-07-08 Thread Terry J. Reedy
New submission from Terry J. Reedy : You should post feature requests as messages like this. No one is going to download and separately open a file from a stranger. In any case, I believe optparse is more or less feature frozen. In 3.2, the only version now open to new features, it will be som

[issue6554] Do we have something like os.pid_exists()?

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Avoiding an exception for a very rare use case is an inadequate reason to add a new function. Requests to add someone's favorite short, specialized, and easy-to-write function are a common feature of python-list. -- nosy: +tjreedy resolution: -> reje

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc string seems correct, so I agree. A condensed and improved version of the docstring (with *depth* italicized as usual) might be inspect.currentframe(depth=0) Return the frame object depth calls below the top of the stack. If there is none, raise Va

[issue9198] Should repr() print unicode characters outside the BMP?

2010-07-08 Thread Adam Olsen
Changes by Adam Olsen : -- nosy: +Rhamphoryncus ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1596] Broken pipes should be handled better in 2.x

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue6162] What should happen to signals when the main thread dies?

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think there has been some discussion of signals, in the last year, on the py-dev list (== gmane.comp.python.devel), which is archived both on the python site and gmane.org. Signals seem to be a somewhat nasty subject. Since you only raise a question rather

[issue6068] support read/write c_ulonglong type bitfield structures

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have never used ctypes, so I could have missed something, but when perusing this, I see data and statements, but I did not see a clear statement as to precisely what change you want. I am sure it is implied, but I am suggesting a simple statement that Thoma

[issue5962] Ambiguity about the semantics of sys.exit() and os._exit() in multithreaded program

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I know nothing about this. You might check http://docs.python.org/dev/py3k/ to see if there has been any change or open a discussion on python-list to get suggestions for specific doc updates. -- assignee: georg.brandl -> d...@python nosy: +d...@python

[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This can no longer be a 2.5 issue but I am not sure how to update it. OP apparently opened it as a feature request, so I did update it to 3.2. But OP then says "I'm not sure if this is a functionality or documentation bug." and indeed subsequent messages deb

[issue5445] codecs.StreamWriter.writelines problem when passed generator

2010-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.5, Python 2.6, Python 2.7, Python 3.0 ___ Python tracker ___ ___ Python-

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

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I removed 'a set or' from the title since sets are no longer an issue. Since .fromkeys is a class method, it should be called on a class rather than an instance. I was initially fooled by the irrelevant addition of '(int)'. 100 is unnecessarily large for exam

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Greg Brockman
Greg Brockman added the comment: With the line commented out, I no longer see any exceptions. Although, if I understand what's going on, there still a (much rarer) possibility of an exception, right? I guess in the common case, the worker_handler is in the sleep when shutdown begins. But if

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Jesse Noller
Jesse Noller added the comment: Greg, can you comment out line 272 in Lib/multiprocessing/pool.py and tell me if you can reproduce? -- ___ Python tracker ___ ___

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Greg Brockman
Greg Brockman added the comment: Yeah, I've just taken a checkout from trunk, ran './configure && make && make install', and reproduced on: - Ubuntu 10.04 32-bit - Ubuntu 9.04 32-bit -- ___ Python tracker ___

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Jesse Noller
Jesse Noller added the comment: Correction; it can and does happen on OS/X. So, this is not a platform specific bug. -- ___ Python tracker ___ __

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Jesse Noller
Jesse Noller added the comment: It does not seem to appear on OS/X 10.6.4 - so the only question is does this show up on Ubuntu 32bit -- ___ Python tracker ___ _

[issue4184] Remove use of private attributes in smtpd

2010-07-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > If the attributes were of the "__private" kind, they weren't meant to > be used by other classes, and so there's no problem in making them > public. Generally I would agree with you but this case is different, imho. The problem here is that those items d

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Jesse Noller
Jesse Noller added the comment: I can confirm with a clean ubuntu 64 install, with a clean checkout of release27 that it explodes with that exception, while the stock 2.6.5 does not. -- ___ Python tracker

[issue1723038] Curses Menu

2010-07-08 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> unit test needed type: -> feature request ___ Python tracker ___ ___ Python-bugs-list maili

[issue1723038] Curses Menu

2010-07-08 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Extension Modules -Library (Lib) versions: -Python 2.7, Python 3.1 ___ Python tracker ___ ___

[issue7989] Add pure Python implementation of datetime module to CPython

2010-07-08 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: issue7989a.diff is a partial success implementing Nick Coghlan's testing idea. Unfortunately, datetime implementation with it's circular dependency on _strftime is not very robust with respect to import trickery. I am calling this a partial success bec

[issue5784] raw deflate format and zlib module

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: A doc addition would seem like a good idea, so I am changing this to a doc issue for the current versions. Can you suggest specific text and a specific location to place it? A behavior change could only go into 3.2. I do not know who, if anyone, maintains zl

[issue4629] getopt should not accept no_argument that ends with '='

2010-07-08 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> commit review versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-

[issue4609] Allow use of > 256 FD's on solaris in 32 bit mode

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have no idea if this is possible or applicable to 3.x, but 3.2 is the earliest version for new features. -- nosy: +tjreedy versions: +Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker

[issue4492] httplib code thinks it closes connection, but does not

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: John could you provide a patch for this? -- nosy: +BreamoreBoy stage: -> needs patch versions: +Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker __

[issue5302] Allow package_data globs match directories

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since there will be be separate patches for each Python version, it does not much matter. But I will try to notice when an issue for for D2 and leave such alone. -- nosy: +tjreedy ___ Python tracker

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-08 Thread Matthew Barnett
Matthew Barnett added the comment: issue2636-20100709.zip is a new version of the regex module. I've moved most of the regex module's Python code into a private module. -- Added file: http://bugs.python.org/file17912/issue2636-20100709.zip ___ Pytho

[issue9209] pstats module crashes on trailing backslash

2010-07-08 Thread Ilya Sandler
New submission from Ilya Sandler : a session attached: cheetah:~/wrk/svn/psi-poly5/poly/aut/prof> ~/comp/python/trunk/python -m pstats prof.out Welcome to the profile statistics browser. % stats 20 \ Thu Jul 8 17:50:27 2010prof.out 197258358 function calls (197187736 primitive c

[issue3674] test_dbm_ndbm skip is unexpected on win32?

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: Given this. c:\Python31\Lib\test>..\..\python.exe regrtest.py test_dbm_ndbm.py test_dbm_ndbm test_dbm_ndbm skipped -- No module named _dbm 1 test skipped: test_dbm_ndbm Those skips are all expected on win32. I assume that this can be closed. -- nos

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: My proposal F, to expose the common frequency threshold as a fourth positional parameter with default 1, would do that: repeat current behavior. We should, and Eli and I would, add some of the anomalous cases to the test suite and verily that the default is t

[issue3591] elementtree tests do not include bytes handling

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: Have the tests been incorporated into py3k so this can be closed, or is it still valid? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue2979] use_datetime in SimpleXMLRPCServer

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: Presumably the patch needs reworking as SimpleXMLRPCServer has been incorporated into the new xmlrpc package for Python 3. -- nosy: +BreamoreBoy stage: -> needs patch versions: +Python 3.2 -Python 2.6 ___ Python tra

[issue9162] License for multiprocessing files

2010-07-08 Thread Jesse Noller
Jesse Noller added the comment: Yes; the copyright has to stay; but the license data can leave afaik. -- ___ Python tracker ___ ___ Py

[issue9162] License for multiprocessing files

2010-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> jnoller nosy: +jnoller priority: normal -> high versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue9170] zipfile cannot read AES encrypted files

2010-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- dependencies: +add crypto routines to stdlib ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue9170] zipfile cannot read AES encrypted files

2010-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Do note that providing a patch first requires that encryption/decryption facilities be made available in the stdlib. (right now we only offer hashing, and "high-level" socket wrapping) -- nosy: +pitrou ___ Python tr

[issue9170] zipfile cannot read AES encrypted files

2010-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3461] smtplib does not fully support IPv6 in EHLO

2010-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue1723038] Curses Menu

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: Would someone please comment on the patch, I can't because I don't know anything about the Python C API. -- components: +Library (Lib) -Extension Modules nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 _

[issue2570] backport 3.0-style \u/\U processing in raw strings when unicode_literals is imported from __future__

2010-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: It would be a change in behaviour, which is quite unacceptable for a bugfix release. I think this should be closed. -- nosy: +pitrou resolution: -> rejected status: open -> pending ___ Python tracker

[issue5004] socket.getfqdn() doesn't cope properly with purely DNS-based setups

2010-07-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think anybody willing to invest the time could acquire the appropriate knowledge, at least to determine whether it's still an issue (i.e. trying to reproduce it). To fix it, one would then need to read the source code of hostname, and find out what they do

[issue5004] socket.getfqdn() doesn't cope properly with purely DNS-based setups

2010-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-07-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > Could you explain what this bit is about ? > -#if defined(HAVE_USABLE_WCHAR_T) && defined(WANT_WCTYPE_FUNCTIONS) > +#if defined(Py_UNICODE_WIDE) && defined(WANT_WCTYPE_FUNCTIONS) On Windows at least, HAVE_USABLE_WCHAR_T is True, this means that Py_Unico

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Jesse Noller
Jesse Noller added the comment: Alright, I'm fighting ubuntu 64 bit in my vmware install right now, I'll see if I can get it up and running. -- ___ Python tracker ___ __

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-07-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: A new patch that doesn't remove an important check, avoids a crash when the C macro is called with a huge number. thanks Ezio. -- Added file: http://bugs.python.org/file17911/unicodectype_ucs4_5.patch ___ Pyth

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Greg Brockman
Greg Brockman added the comment: > Wait - so, you are pulling svn trunk, compiling and running your test > with the built python executable? Yes. I initially observed this issue while using 10.04's Python (2.6.5), but wanted to make sure it wasn't fixed by using a newer interpreter. > I'm no

[issue7352] python2.6-config --ldflags out of /usr and missing -L

2010-07-08 Thread Joel Brobecker
Joel Brobecker added the comment: GDB can suffer from the same sort of problem. In my case, I picked up a Python binary tarball built on a different machine (without --enable-shared), and the path in -L returned by python-config --ldflags refered to the prefix used at configure time. But, b

[issue5060] gcc profile guided optimization

2010-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: On which platform? it works here (Python 3.2, Linux). -- nosy: +pitrou ___ Python tracker ___ ___ Py

[issue5060] gcc profile guided optimization

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: Could someone from the build area please take a look at the patch, only three lines have changed. -- nosy: +BreamoreBoy stage: -> patch review versions: +Python 3.1, Python 3.2 ___ Python tracker

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > There is no problem with extending the API in 3.2. The debate there is > over 2.7. We could extend the API as long as it stays backwards-compatible (that is, the default value for the new argument produces the same behaviour as before). -- _

[issue5024] sndhdr.whathdr returns -1 for WAV file frame count

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: Robert, could you provide a patch for this? -- nosy: +BreamoreBoy stage: -> needs patch versions: +Python 3.2 ___ Python tracker ___ ___

[issue8240] ssl.SSLSocket.write may fail on non-blocking sockets

2010-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch should probably be rewritten to add a `mode` property on the new SSLContext object instead. -- ___ Python tracker ___ ___

[issue6587] interrupts during long writes cause connection corruption with SSL module

2010-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> duplicate status: open -> closed superseder: -> ssl.SSLSocket.write may fail on non-blocking sockets ___ Python tracker ___ ___

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Anyone can post on Python-dev, but non-developers should do so judiciously and with respect for the purpose of the list. It is also polite to introduce oneself with the first post. In any case, Tim Peters has approved making some change. The remaining questio

[issue8240] ssl.SSLSocket.write may fail on non-blocking sockets

2010-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: commit review -> needs patch versions: +Python 3.2 -Python 2.6, Python 2.7 ___ Python tracker ___ ___

[issue5004] socket.getfqdn() doesn't cope properly with purely DNS-based setups

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: Would someone with appropriate knowledge please take a look to see if this is still an issue. -- components: +Library (Lib) -Extension Modules nosy: +BreamoreBoy stage: -> needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 _

[issue4184] Remove use of private attributes in smtpd

2010-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The patch as-is can't be accepted if not for Python 4.x maybe, > obviously because it's just too breaking. With all due respect, this sounds a bit silly. If the attributes were of the "__private" kind, they weren't meant to be used by other classes, and so

[issue9203] Use computed gotos by default

2010-07-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: > No, but we do need to make sure that the casual user does not > run into such issues by using the default compiler on a typical > Unix system with Python default settings. I think there is no risk here. The casual Python user on an AMD64 system where gcc is

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Jesse Noller
Jesse Noller added the comment: Wait - so, you are pulling svn trunk, compiling and running your test with the built python executable? I'm not following the "multiprocessing-from-trunk" distinction unless you're picking the module out of the tree / compiling it and then moving it into some o

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-07-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Amaury Forgeot d'Arc wrote: > > Amaury Forgeot d'Arc added the comment: > > A new patch, generated on top of r82662 Could you explain what this bit is about ? @@ -349,7 +313,7 @@ configure Python using --with-wctype-functions. This reduces the

[issue9206] repr(os.stat(..)) is broken by the structseq change

2010-07-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: r82663 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-lis

[issue7766] sys.getwindowsversion as PyStructSequence

2010-07-08 Thread Brian Curtin
Brian Curtin added the comment: Yep, setting this back to closed. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-lis

[issue4184] Remove use of private attributes in smtpd

2010-07-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Would that be acceptable? I guess it would. Deciding to use that naming convention was a bad design choice in the first place, hence your proposal is perfectly reasonable, in my opinion. > What additional tests would you deem necessary? I think that a

[issue4184] Remove use of private attributes in smtpd

2010-07-08 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue6587] interrupts during long writes cause connection corruption with SSL module

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: For a simple fix this has been sitting around a long time. :) -- nosy: +BreamoreBoy versions: -Python 2.6, Python 3.0 ___ Python tracker ___ ___

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-07-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: A new patch, generated on top of r82662 -- Added file: http://bugs.python.org/file17909/unicodectype_ucs4_4.patch ___ Python tracker ___ _

[issue4184] Remove use of private attributes in smtpd

2010-07-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Would that be acceptable? I guess it would. Deciding to use that naming convention was a bad design choice in the first place, hence your proposal is perfectly reasonable, in my opinion. > What additional tests would you deem necessary? I think that a

[issue7766] sys.getwindowsversion as PyStructSequence

2010-07-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Brian Curtin wrote: > > Brian Curtin added the comment: > > The previously mentioned comments about backwards incompatibility with the > number of items in the sequence are now a problem, since structseq now > inherits from tuple. It seems that n_in_seq

[issue9203] Use computed gotos by default

2010-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > No, but we do need to make sure that the casual user does not > run into such issues by using the default compiler on a typical > Unix system with Python default settings. The point is that we cannot make it sure. There is nothing specific about computed goto

[issue3401] wsgiref can't handle unicode environments

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: I'd guess that this has already been fixed as it relates to the Windows buildbot but has slipped under the radar. -- nosy: +BreamoreBoy ___ Python tracker _

[issue9208] SMTPHandler does not handle unicode strings

2010-07-08 Thread norbidur
New submission from norbidur : SMTPHandler fails when receiving unicode strings. example : import logging,logging.handlers smtpHandler = logging.handlers.SMTPHandler( mailhost=("smtp.free.fr",25), fromaddr="f...@free.fr", toaddrs="t...@free.fr", subject=u"error message") LOG = loggi

[issue9198] Should repr() print unicode characters outside the BMP?

2010-07-08 Thread Ezio Melotti
Ezio Melotti added the comment: I suggest to: 1) keep the current behavior for non-BMP chars (i.e. print them normally); 2) change isprintable to consider the Zx categories printable (this will affect repr() too); 3) change displayhook (*NOT* sys.stdout.encoding) to use backslashreplace

[issue4184] Remove use of private attributes in smtpd

2010-07-08 Thread Richard Jones
Richard Jones added the comment: Giampaolo, I think I can see where you're coming from: assuming that someone else must have also had to resort to the name-mangling hack to extend the class? In that case yes, my patch would break their code. I'll look at re-working it to use properties while

[issue9203] Use computed gotos by default

2010-07-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> gcc 4.4.2 on AMD processors ... >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42621 > > So? Compilers have all kinds of optimization bugs, it's not our job to > have a compiler matrix with

[issue9198] Should repr() print unicode characters outside the BMP?

2010-07-08 Thread STINNER Victor
STINNER Victor added the comment: amaury> Should repr() print unicode characters outside the BMP? Yes. I don't understand why characters outside the BMP will be considered differently than other characters. Is it a workaround for bogus operating systems? My Linux terminal (Konsole on KDE) is

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-07-08 Thread Brian Curtin
Brian Curtin added the comment: Committed in r82659. I'm leaving this open until a few other issues are fleshed out. 1. Document privilege escalation and/or expose some method to do so. 2. Test execution, e.g., buildbots Once I get a few more things off my plate I should be able to finish set

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-08 Thread Greg Brockman
Greg Brockman added the comment: No, I'm not using the Google code backport. To be clear, I've tried testing this with two versions of multiprocessing: - multiprocessing-from-trunk (r82645): I get these exceptions with ~40% frequency - multiprocessing from Ubuntu 10.04 (version 0.70a1): No suc

[issue4926] putenv() accepts names containing '=', return value of unsetenv() not checked

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: As patches were originally provided would someone kindly review them. -- nosy: +BreamoreBoy, loewis stage: -> patch review versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue9136] RuntimeError when profiling Decimal

2010-07-08 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed in revisions r82654 through r82657. Thanks everyone for the input. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue9203] Use computed gotos by default

2010-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > gcc 4.4.2 on AMD processors ... > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42621 So? Compilers have all kinds of optimization bugs, it's not our job to have a compiler matrix with optimal flags per compiler. (well, you can of course maintain such a matrix

[issue4878] post installer script's message is not shown to user with bdist_wininst

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: I just hope I've got this right. :) -- assignee: -> tarek nosy: +BreamoreBoy, tarek versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2010-07-08 Thread Mark Lawrence
Mark Lawrence added the comment: It seems that this is ok in py3k in which case it could be backported to 2.7, or has this already been done? -- nosy: +BreamoreBoy, loewis versions: +Python 2.7 -Python 2.5 ___ Python tracker

  1   2   3   >