[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS

2010-04-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor victor.stin...@haypocalc.com added the comment: Even if this issue doesn't fix all the configure complete mess, I think that it improves it a little bit. Open new issues if you would like to fix other parts of the

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

2010-04-23 Thread Sreejith Madhavan
Sreejith Madhavan sreeji...@gmx.com added the comment: Thanks for the patch. I can confirm that the patch works for 64bit builds of python-2.6.5 on Solaris (amd64 and sparc) and RHEL5 amd64. The curses library used was ncurses-5.7 with widechar support. -- nosy: +Sreejith.Madhavan

[issue8325] improve regrtest command line help

2010-04-23 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Thanks for proofreading. I've uploaded a new version here with typo fix, but do not removed 1., 2. numbering. It is a very awesome feature of console UI. When you're in a hurry (and you always in a hurry when you forget something) it is

[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS

2010-04-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Marc-Andre Lemburg wrote: Marc-Andre Lemburg m...@egenix.com added the comment: Please change the configure.in script to only override the CFLAGS in case they were set before entering the AC_PROG_CC part ! Sorry, this should have

[issue8325] improve regrtest command line help

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8325 ___ ___ Python-bugs-list

[issue8503] smtpd module does not allow

2010-04-23 Thread mike s
New submission from mike s sucha...@kovagroup.ca: The SMTPServer supplied by the smtpd library allows clients to send mail to any domain. This makes the server attractive to spammers, thinking they have found an open relay. The patch below adds an accept_domain method to SMTPServer

[issue8503] smtpd module does not allow domain filtering

2010-04-23 Thread mike s
Changes by mike s sucha...@kovagroup.ca: -- title: smtpd module does not allow - smtpd module does not allow domain filtering ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8503 ___

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s
Changes by mike s sucha...@kovagroup.ca: -- title: smtpd module does not allow domain filtering - smtpd SMTPServer does not allow domain filtering ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8503

[issue8451] syslog.syslog('msg') logs message with ident python.

2010-04-23 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: Committed as 80396. Included a change to let openlog(3) pick the ident instead of using the static string python. -- resolution: - accepted status: open - closed ___ Python tracker

[issue8451] syslog.syslog('msg') logs message with ident python.

2010-04-23 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: Ported to python3 and committed as 80401. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8451 ___

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Mark, thanks for reviewing the patch. In the new patch, I added a skip for OS X. Buildbot testing looks good. In particular, one FreeBSD bot passes test_curses now (the other one is hanging in multiprocessing). For most bots nothing

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: I did some digging on my side, the fact you see ncurses referenced from readline is due to the build linking readline to libtermcap: cc -fstack-protector -shared -Wl,-x -o libreadline.so.8 -Wl,-soname,libreadline.so.8

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Tim Lyons
New submission from Tim Lyons guy.lin...@gmail.com: A database created under python 2.5 cannot be opened under python 2.6. It gives the error message DB_RUNRECOVERY: Fatal error, run database recovery -- process-private: unable to find environment , and a database created under python 2.6

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Jesus, any idea? -- assignee: - jcea nosy: +jcea, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8504 ___

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Yes, readline uses only the termcap part of ncurses. I think that --with-termlib is the correct option, see: http://www.mail-archive.com/util-linux...@vger.kernel.org/msg00273.html -- ___

[issue8325] improve regrtest command line help

2010-04-23 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hello I don’t know what “the tool I am using to commit the patch” is (I don’t commit patches), but every program I tested does not use numbers with usage/synopsis lines. Having the name of the program at the start of each line prevents me from

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Actually this means that we should also look for -ltinfo in the ldd check (A Redhat buildbot would be nice). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7384

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: This is the right place, thanks for the patch! Since this is a feature request it can only be added to 3.2 (and 2.8, if such a thing ever exists). -- nosy: +eric.smith priority: - normal stage: - unit test needed type: - feature

[issue8468] bz2: support surrogates in filename, and bytes/bytearray filename

2010-04-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited: r80402 (py3k), r80403 (3.1). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8468

[issue8477] _ssl: support surrogates in filenames, and bytes/bytearray filenames

2010-04-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: key_file and cert_file are mandatory (see newPySSLObject()) and bytearray are now more accepted by PyUnicode_FSConverter() (see #8485). New version of the patch is simpler and shorter. Support bytearray is a little bit to much

[issue8242] Improve support of PEP 383 (surrogates) in Python3: meta-issue

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- dependencies: +Don't accept bytearray as filenames, or simplify the API ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8242 ___

[issue8477] _ssl: support surrogates in filenames, and bytes/bytearray filenames

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file17017/ssl_surrogates.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8477 ___

[issue8124] mywrite() ignores PyFile_WriteString() errors

2010-04-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited: r80404 (py3k), r80405 (3.1). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8124

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: The database compatibility is dictated by the underlying Berkeley DB library used. Reporter, please do this: (asuming you are using bsddb lib in the standard lib, not external project pybsddb) 1. Open a python2.5 shell. 2. import bsddb 3.

[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?

2010-04-23 Thread Barry A. Warsaw
New submission from Barry A. Warsaw ba...@python.org: Lines such as the following are removed by fix_future.py in 2to3 from __future__ import absolute_import, unicode_literals I think this is unnecessary and I have a case where it causes problems. It's unnecessary because this import is

[issue8506] SimpleXMLRPCServer Socket not closed after shutdown call

2010-04-23 Thread Erik Schweller
New submission from Erik Schweller othere...@gmail.com: Calling shutdown on a SimpleXMLRPCServer will stop the server but does not close the socket, meaning new connections to the same address will fail. Example: srv = SimpleXMLRPCServer((ip, port),

[issue5639] Support TLS SNI extension in ssl module

2010-04-23 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5639 ___ ___ Python-bugs-list mailing list

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Peter Landgren
Peter Landgren peter.tal...@telia.com added the comment: I could add what I have found using bsddb in Python 2.5 and 2.6 under Windows XP SP3. In my installation: Python 2.5.4 bsddb 4.4.5.3 Python 2.6.4 bsddb 4.7.3 What I did: In Gramps imported an XML backup file to a empty bsddb database. It

[issue8477] _ssl: support surrogates in filenames, and bytes/bytearray filenames

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: key_file and cert_file are mandatory No, they are not. Not for a client connection, at least. Also, please add at least a simple test. -- ___ Python tracker rep...@bugs.python.org

[issue8507] abc.abstractproperty does not copy docstring

2010-04-23 Thread Robert Escriva
New submission from Robert Escriva bugs.pyt...@mail.robescriva.com: Attached file shows interpreter session where the bug manifests. It was my expectation that abc.abstractproperty would copy the docstring just like property. Instead, the docstring is the one for abc.abstractproperty itself.

[issue8507] abc.abstractproperty does not copy docstring

2010-04-23 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- priority: - normal versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8507 ___

[issue1563] asyncore and asynchat incompatible with Py3k str and bytes

2010-04-23 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Removed file: http://bugs.python.org/file11018/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1563 ___

[issue1563] asyncore and asynchat incompatible with Py3k str and bytes

2010-04-23 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Since no doc only patch has been proposed and there is some disagreement as to whether it is needed anyway, I'm closing this per msg88559. -- resolution: - out of date stage: - committed/rejected status: open - closed

[issue7806] httplib.HTTPConnection.getresponse closes socket which destroys the response

2010-04-23 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Hearing no further argument to the contrary, I'm closing this as invalid. -- resolution: - invalid stage: unit test needed - committed/rejected status: open - closed ___ Python tracker

[issue8508] 2to3 fixer for gettext's .ugettext

2010-04-23 Thread Barry A. Warsaw
New submission from Barry A. Warsaw ba...@python.org: gettext module in Python 3 does not have a .ugettext method because everything's already unicodes. Here's a fixer for that. -- components: 2to3 (2.x to 3.0 conversion tool) files: fix_ugettext.py messages: 104015 nosy: barry

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: I need to know the Berkeley DB version you are using in python 2.5, 2.6, both with bsddb and pybsddb (bsddb3). Also, I would need a testcase I can try without installing Gram myself. -- ___ Python

[issue8509] fix autoconf quoting in help strings and code snippets

2010-04-23 Thread Matthias Klose
New submission from Matthias Klose d...@debian.org: the attached patch adds quoting to help strings and code snippets, following the autoconf quotation rule of thumb One pair of quotes per pair of parentheses. checked that the generated files are identical. -- components: Build

[issue8510] update to autoconf2.65

2010-04-23 Thread Matthias Klose
New submission from Matthias Klose d...@debian.org: update to autoconf2.65 -- components: Build files: autoconf2.65.diff keywords: needs review, patch messages: 104018 nosy: doko severity: normal status: open title: update to autoconf2.65 versions: Python 2.7, Python 3.2 Added file:

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Peter Landgren
Peter Landgren peter.tal...@telia.com added the comment: Requested data on my Windows box: Python 2.5 bsddb 4.4.5.3 4.4.20 Python 2.6 bsddb 4.7.3 4.7.25 Python 2.6 bsddb 4.8.4 4.8.26 OK? -- ___ Python tracker rep...@bugs.python.org

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Peter Landgren
Peter Landgren peter.tal...@telia.com added the comment: Maybe I should add that there is no speed degradation between 2.5 and 2.5 when doing the same thing in Linux. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8504

[issue8510] update to autoconf2.65

2010-04-23 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: see http://mail.python.org/pipermail/python-dev/2010-April/099639.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8510 ___

[issue8325] improve regrtest command line help

2010-04-23 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The numbers should definitely not be there. I favor just documenting the -m version, and you'll see why in the attached patch. I've incorporated Anatoly's improvement to the argument description and the option updates, and made some

[issue8325] improve regrtest command line help

2010-04-23 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8325 ___ ___

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Peter, and which Berkeley DB versions are used in Linux?. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8504 ___

[issue8325] improve regrtest command line help

2010-04-23 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8325 ___ ___

[issue8493] socket's send can raise errno 35 under OS X, which causes problems in sendall

2010-04-23 Thread Matthew Cowles
Matthew Cowles mdcow...@users.sourceforge.net added the comment: if you get this type of error, it's probably because you're using non- blocking sockets That's what I thought at first too. But the user's sockets were set to blocking. spinning around the send call trying to resend the data

[issue8510] update to autoconf2.65

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8510 ___ ___

[issue8510] update to autoconf2.65

2010-04-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8510 ___

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Peter Landgren
Peter Landgren peter.tal...@telia.com added the comment: In Linux it is: 4.4.5.3 (4, 6, 21) You asked for a test case. I'm not sure how I can provide one without you having Gramps installed to test it. Do you mean the whole database environment? --

[issue8424] Test assumptions for test_itimer_virtual and test_itimer_prof

2010-04-23 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: The buildbots are generally happy with the change. However, on OpenBSD test_itimer_prof fails seemingly unrelated to machine load. I'm not so familiar with the signal module, but how can the signal handlers in the tests be guaranteed to

[issue4835] SIZEOF_SOCKET_T not defined

2010-04-23 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: I'm seeing this with gcc-4.4.3 with -Wall -Werror, leading to fatal errors trying to build an extension module against python 3.1 The references to SIZEOF_SOCKET_T within longobject.h appear to be just in the py3k branch, not trunk, and were

[issue8511] Small mistake in tutorial web page

2010-04-23 Thread Matthew Cowles
New submission from Matthew Cowles mdcow...@users.sourceforge.net: [Originally from a post to the python-help list] Over at: http://docs.python.org/py3k/tutorial/datastructures.html#sets it says: fruit = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana'] fruit = set(basket)

[issue4835] SIZEOF_SOCKET_T not defined

2010-04-23 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: I'm seeing this with gcc-4.4.3 with -Wall -Werror, leading to fatal errors trying to build an extension module against python 3.1 Specifically, with gcc, I'm seeing this warning (trying to port SELinux Python support to Python3), which,

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Tim Lyons
Tim Lyons guy.lin...@gmail.com added the comment: On Mac OS X,I get tim$ python Python 2.5.5 (r255:77872, Mar 21 2010, 22:08:39) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type help, copyright, credits or license for more information. import bsddb print bsddb.__version__,

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2010-04-23 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: So what happens if the original file name is something like foo~1.txt? Couldn't there be a name collision? -- nosy: +janssen ___ Python tracker rep...@bugs.python.org

[issue8511] Small mistake in tutorial web page

2010-04-23 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Duplicate of #4570. -- nosy: +ezio.melotti, rhettinger resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue4570] Bad example in set tutorial

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +mdcowles priority: - normal stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4570 ___

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5 and are slow in python 2.6

2010-04-23 Thread Peter Landgren
Peter Landgren peter.tal...@telia.com added the comment: To make it 100% clear: The versions are almost the same for Linux and Windows. Python 2.5Python 2.6 Windows 4.4.5.3 (4, 6, 20)4.7.3 (4.7.25) Linux4.4.5.3 (4, 6, 21)4.7.3 (4.7.25) --

[issue7639] bdist_msi fails on files with long names

2010-04-23 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: This looks a lot like bug 1128, too. I think the patch there would also fix this one. -- nosy: +janssen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7639

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2010-04-23 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Here's how Microsoft does it: http://support.microsoft.com/kb/142982/en-us -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1128 ___

[issue7319] Silence DeprecationWarning by default

2010-04-23 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: critical - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7319 ___ ___

[issue7997] http://www.python.org/dev/faq/ doesn't seem to explain how to regenerate configure

2010-04-23 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7997 ___ ___ Python-bugs-list

[issue8451] syslog.syslog('msg') logs message with ident python.

2010-04-23 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Assuming that it is OK for this to be in 2.7 beta2 (it smells almost like a feature, but I'm certainly willing to let it pass as a bugfix myself), the 2.7 doc change in the commit contains a typo (it says versionchanged 3.2 instead of

[issue8451] syslog.syslog('msg') logs message with ident python.

2010-04-23 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Oh, and you forgot about your note to yourself to update the argument syntax for the 3.2 commit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8451

[issue8325] improve regrtest command line help

2010-04-23 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Éric: svn merge R.David Murray: The numbers should definitely not be there. is not an argument. `python regrtest.py` should also be a supported way to run regression suite. With only -m favor documented somebody can quickly forget

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Idea: wouldn't it be better to provide a more powerful accept_mail method instead of accept_domain? -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s
mike s sucha...@kovagroup.ca added the comment: I don't think that is a suitable solution for this problem, because the expected SMTP behavior is to reject an unsuitable RCPT TO directly after it is proposed by the client. However, I think it would be a great idea to have such a method being

[issue1379416] email.Header encode() unicode P2.6

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1379416 ___ ___

[issue8325] improve regrtest command line help

2010-04-23 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: You are correct, it wasn't an argument. I've never seen numbered alternatives anywhere *except* the svn merge help (which I've never looked at before, since I/we don't use it for python development). And I don't like them. (svn merge

[issue8325] improve regrtest command line help

2010-04-23 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: To reach a consensus we can drop line numbering, but I still would like to see two variants of invocation. Sometimes I indeed copy library from trunk/ to main Lib/ for testing, but there is no better way to work with the test suite

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5

2010-04-23 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Peter, please stay out of this bug report unless you are certain that you have the very problem that the OP reported, namely that a database created by Python 2.5 cannot be imported in 2.6. I'm taking the performance issues out of this bug

[issue6768] asyncore file_wrapper leaking file descriptors?

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: I'm not sure how to reproduce this issue but I doubt calling close() from __del__ would solve the problem, neither would be a good idea as close() might end up being called more than once, which is not desirable. Try to paste the code

[issue8467] subprocess: surrogates of the error message (Python implementation on non-Windows)

2010-04-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited in py3k (r80413), blocked in 3.1 (r80414). Python 3.1 uses pickle to encode the traceback and pickle supports surrogates (see #8383). -- resolution: - fixed status: open - closed

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5

2010-04-23 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I just noticed that Tim reports in msg104030 that the original problem is resolved. So I'm closing this report as fixed. If you create a new one on the performance issue, please make sure to include a repeatable test case, with

[issue8504] bsddb databases in python 2.6 are not compatible with python 2.5

2010-04-23 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8504 ___

[issue8510] update to autoconf2.65

2010-04-23 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I don't think Python 2.7 should upgrade to a newer autoconf version at this point. For 3.2, we could try it out. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org

[issue8495] test_gdb: use utf8+surrogateescape charset?

2010-04-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @loewis: I think the replace handler would be more appropriate here. Right. Fixed by r80416 (py3k, blocked in 3.1: r80417). -- resolution: - fixed status: open - closed ___ Python

[issue8390] tarfile: use surrogates for undecode fields

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +lars.gustaebel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8390 ___ ___

[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?

2010-04-23 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: You can just turn off fix_future with -x future. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8505 ___

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2010-04-23 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: MSI short names must be 8.3 names. Microsoft has them in MSI in case the MSI file gets installed on an 8.3 system, or in case 8.3 applications want to access files and want to be sure they access the right one. So the actual numbering is

[issue751758] ftplib.retrbinary fails when called from retrlines callback

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Closing this out as rejected. -- resolution: - rejected status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue751758

[issue8508] 2to3 fixer for gettext's .ugettext

2010-04-23 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: You should follow the model of fix_getcwdu, which handles more cases. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8508

[issue8242] Improve support of PEP 383 (surrogates) in Python3: meta-issue

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- dependencies: +Check that _PyUnicode_AsString() result is not NULL ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8242 ___

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I've backported the shutdown fixes to 2.6 (r80419) and 3.1 (r80420). Thanks again everyone. -- status: pending - closed versions: +Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Roumen, I do not see a line in configure.in that tests for the libraries that readline is linked against. The test in configure is how to link application to readline libs. Platforms that support linking of shared libraries with

[issue8391] os.execvpe() doesn't support surrogates in env

2010-04-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited: r80421 (py3k), blocked in 3.1 (80422). The commit fixes also os.getenv() to support bytes environment name. -- resolution: - fixed status: open - closed ___ Python tracker

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: New patch fixing test_poplib failures. -- Added file: http://bugs.python.org/file17058/ssltimeout2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5103

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Stefan Krah wrote: Stefan Krahstefan-use...@bytereef.org added the comment: Actually this means that we should also look for -ltinfo in the ldd check (A Redhat buildbot would be nice). Or may be this mean that in configure to add

[issue8512] os.execvpe()

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- components: Library (Lib) nosy: haypo severity: normal status: open title: os.execvpe() versions: Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8512

[issue8512] os.execv*e(): fix formatting of the environment variables

2010-04-23 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: os.execve() and os.execvpe() of Python 3.1 eats some bytes of the environment variables: see msg103459. The problem is that it counts *characters* to allocate the *byte* string buffer. Attached patch fixes this issue. It

[issue8513] subprocess: support bytes program name

2010-04-23 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: While fixing #8391, I realized that subprocess doesn't support bytes program name if it's not an absolute path: --- $ ./python import subprocess subprocess.call([b'echo']) Traceback (most recent call last): File stdin,

[issue8513] subprocess: support bytes program name

2010-04-23 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8513 ___ ___ Python-bugs-list

[issue7943] Memory leak due to circular references in ssl.SSLSocket

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed with test in r80423 (trunk) and r80425 (2.6). Also ported the test to py3k/3.1. Thanks! -- nosy: +pitrou resolution: - fixed stage: unit test needed - committed/rejected status: open - closed

[issue8513] subprocess: support bytes program name

2010-04-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Attached patch (draft version) fixes this issue. -- keywords: +patch Added file: http://bugs.python.org/file17060/subprocess_bytes_program.patch ___ Python tracker rep...@bugs.python.org

[issue5238] ssl makefile never closes socket

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The makefile issue is fixed in r80428 (trunk) and r80431 (2.6). Also ported the additional test to py3k and 3.1. The other issue pointed out by Marcin Bachry doesn't seem fixable without breaking backwards compatibility, for applications which

[issue8514] Create fs_encode() and fs_decode() functions in os.path

2010-04-23 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: Python3 uses unicode filenames in Windows and bytes filenames (but support also unicode filenames) on other OS. We have to support both types. On POSIX system, bytes filenames can be stored in unicode filenames using

[issue8514] Create fs_encode() and fs_decode() functions in os.path

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +lemburg, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8514 ___ ___

[issue8514] Create fs_encode() and fs_decode() functions in os.path

2010-04-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Issue #8513 would benefit from these functions. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8514 ___

[issue8513] subprocess: support bytes program name

2010-04-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I proposed the creation of fs_encode() and fs_decode() functions in os.path: see #8514. There functions would simplify my patch, but also make it correct on all OS (Windows, Mac, Linux). -- dependencies: +Create

[issue8512] os.execv*e(): fix formatting of the environment variables (Python 3.1)

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- title: os.execv*e(): fix formatting of the environment variables - os.execv*e(): fix formatting of the environment variables (Python 3.1) ___ Python tracker rep...@bugs.python.org

  1   2   >