[issue8515] idle "Run Module" (F5) does not set __file__ variable

2010-04-23 Thread Bruce Frederiksen
New submission from Bruce Frederiksen : The python CLI always sets the __file__ variable, whether run as: $ python foobar.py or $ python -m foobar or $ python >>> import foobar # __file__ set in foobar module The idle program sets the __file__ variable properly when you do the import fro

[issue8449] buildbot: test_dbm and test_dbm_ndbm failures on ia64 Ubuntu 3.1

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor : -- title: Now: buildbot: test_dbm and test_dbm_ndbm failures on ia64 Ubuntu 3.1 Was: buildbot: test_dbm and test_dbm_ndbm failures ___ Python tracker

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

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor : -- title: os.execv*e(): fix formatting of the environment variables -> os.execv*e(): fix formatting of the environment variables (Python 3.1) ___ Python tracker _

[issue8513] subprocess: support bytes program name

2010-04-23 Thread STINNER Victor
STINNER Victor 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 fs_encode() and fs_decode() functions i

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

2010-04-23 Thread STINNER Victor
STINNER Victor added the comment: Issue #8513 would benefit from these functions. -- ___ Python tracker ___ ___ Python-bugs-list maili

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

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +lemburg, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2010-04-23 Thread STINNER Victor
New submission from STINNER Victor : 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 sys.getfilesystemencoding() and the surr

[issue5238] ssl makefile never closes socket

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou 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 close() the SSL

[issue8513] subprocess: support bytes program name

2010-04-23 Thread STINNER Victor
STINNER Victor 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

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

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou 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 ___ Python

[issue8513] subprocess: support bytes program name

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

[issue8513] subprocess: support bytes program name

2010-04-23 Thread STINNER Victor
New submission from STINNER Victor : 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 "", line 1, in File "/home/SHA

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

2010-04-23 Thread STINNER Victor
New submission from STINNER Victor : 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 contains a test which may stay speci

[issue8512] os.execvpe()

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor : -- components: Library (Lib) nosy: haypo severity: normal status: open title: os.execvpe() versions: Python 3.1 ___ Python tracker ___

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Roumen Petrov
Roumen Petrov added the comment: Stefan Krah wrote: > > Stefan Krah 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 test with -ltinfo and if readline link succeed

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

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

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

2010-04-23 Thread STINNER Victor
STINNER Victor 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

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Roumen Petrov
Roumen Petrov 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 unresolved symbols cannot l

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou 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 _

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

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +Check that _PyUnicode_AsString() result is not NULL ___ Python tracker ___ ___ Python-bug

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

2010-04-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: You should follow the model of fix_getcwdu, which handles more cases. -- nosy: +benjamin.peterson ___ Python tracker ___

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

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Closing this out as rejected. -- resolution: -> rejected status: open -> closed type: -> behavior ___ Python tracker ___

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

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

2010-04-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: You can just turn off fix_future with -x future. -- nosy: +benjamin.peterson ___ Python tracker ___ _

[issue8390] tarfile: use surrogates for undecode fields

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8495] test_gdb: use utf8+surrogateescape charset?

2010-04-23 Thread STINNER Victor
STINNER Victor 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 tracker

[issue8510] update to autoconf2.65

2010-04-23 Thread Martin v . Löwis
Martin v. Löwis 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 _

[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 : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[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 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 instructions on how to repeat

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

2010-04-23 Thread STINNER Victor
STINNER Victor 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 ___ Python tracker

[issue6768] asyncore file_wrapper leaking file descriptors?

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' 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 you're using: the pro

[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 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 report; anybody in

[issue8325] improve regrtest command line help

2010-04-23 Thread anatoly techtonik
anatoly techtonik 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 inside version control a

[issue8325] improve regrtest command line help

2010-04-23 Thread R. David Murray
R. David Murray 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 uses them to cross re

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

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s
mike s 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 called after the end

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' 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 ___

[issue8325] improve regrtest command line help

2010-04-23 Thread anatoly techtonik
anatoly techtonik 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 about it. I use Mer

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

2010-04-23 Thread R. David Murray
R. David Murray added the comment: Oh, and you forgot about your note to yourself to update the argument syntax for the 3.2 commit. -- ___ Python tracker ___ ___

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

2010-04-23 Thread R. David Murray
R. David Murray 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 versionchanged 2.7). -

[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 : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue7319] Silence DeprecationWarning by default

2010-04-23 Thread Brett Cannon
Changes by Brett Cannon : -- priority: critical -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

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

2010-04-23 Thread Bill Janssen
Bill Janssen added the comment: Here's how Microsoft does it: http://support.microsoft.com/kb/142982/en-us -- ___ Python tracker ___

[issue7639] bdist_msi fails on files with long names

2010-04-23 Thread Bill Janssen
Bill Janssen 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 ___ _

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

[issue4570] Bad example in set tutorial

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +mdcowles priority: -> normal stage: needs patch -> patch review ___ Python tracker ___ ___ Python-

[issue8511] Small mistake in tutorial web page

2010-04-23 Thread Ezio Melotti
Ezio Melotti added the comment: Duplicate of #4570. -- nosy: +ezio.melotti, rhettinger resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker _

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

2010-04-23 Thread Bill Janssen
Bill Janssen 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 __

[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 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__, bsddb.db.versi

[issue4835] SIZEOF_SOCKET_T not defined

2010-04-23 Thread Dave Malcolm
Dave Malcolm 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, with -Werror becomes

[issue8511] Small mistake in tutorial web page

2010-04-23 Thread Matthew Cowles
New submission from Matthew Cowles : [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) # create a set witho

[issue4835] SIZEOF_SOCKET_T not defined

2010-04-23 Thread Dave Malcolm
Dave Malcolm 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 added in r59009. I

[issue8424] Test assumptions for test_itimer_virtual and test_itimer_prof

2010-04-23 Thread Stefan Krah
Stefan Krah 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 work? For example, if you s

[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 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? -- ___ Python tracker

[issue8510] update to autoconf2.65

2010-04-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8510] update to autoconf2.65

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

2010-04-23 Thread Matthew Cowles
Matthew Cowles 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 isn't going to > improve thi

[issue8325] improve regrtest command line help

2010-04-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[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 added the comment: Peter, and which Berkeley DB versions are used in Linux?. -- ___ Python tracker ___ ___ Python-bugs

[issue8325] improve regrtest command line help

2010-04-23 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8325] improve regrtest command line help

2010-04-23 Thread R. David Murray
R. David Murray 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 additional improvements

[issue8510] update to autoconf2.65

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

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

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

[issue8510] update to autoconf2.65

2010-04-23 Thread Matthias Klose
New submission from Matthias Klose : 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: http://bugs.python.

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

2010-04-23 Thread Matthias Klose
New submission from Matthias Klose : 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 files: configure.in

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

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

2010-04-23 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : 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 severity: normal status

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

2010-04-23 Thread R. David Murray
R. David Murray 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

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

2010-04-23 Thread R. David Murray
R. David Murray 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 ___

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

2010-04-23 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file11018/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8507] abc.abstractproperty does not copy docstring

2010-04-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: -> normal versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bug

[issue8507] abc.abstractproperty does not copy docstring

2010-04-23 Thread Robert Escriva
New submission from Robert Escriva : 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. -- components: Library

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

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou 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

[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 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 took about 1 hour with

[issue5639] Support TLS SNI extension in ssl module

2010-04-23 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8506] SimpleXMLRPCServer Socket not closed after shutdown call

2010-04-23 Thread Erik Schweller
New submission from Erik Schweller : 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), logRequests=False, all

[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 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. "print bsdd

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

2010-04-23 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : 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 essentially a no-op i

[issue8124] mywrite() ignores PyFile_WriteString() errors

2010-04-23 Thread STINNER Victor
STINNER Victor added the comment: Commited: r80404 (py3k), r80405 (3.1). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

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

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file17017/ssl_surrogates.patch ___ Python tracker ___ ___ Python-bugs-list mai

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

2010-04-23 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +Don't accept bytearray as filenames, or simplify the API ___ Python tracker ___ ___ Pytho

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

2010-04-23 Thread STINNER Victor
STINNER Victor 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 complex for me (because of the G

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

2010-04-23 Thread STINNER Victor
STINNER Victor added the comment: Commited: r80402 (py3k), r80403 (3.1). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread Eric Smith
Eric Smith 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 request versions: -

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Stefan Krah
Stefan Krah 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 ___

[issue8325] improve regrtest command line help

2010-04-23 Thread Éric Araujo
Éric Araujo 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 thinking it’s a cont

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Stefan Krah
Stefan Krah 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 -- ___ Python tracker

[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 added the comment: Jesus, any idea? -- assignee: -> jcea nosy: +jcea, loewis ___ Python tracker ___ ___ Python-bugs-l

[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 : 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 cannot be opened under

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven 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 `lorder readline.So vi_

[issue7384] curses crash on FreeBSD

2010-04-23 Thread Stefan Krah
Stefan Krah 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 changes. The solaris bot has t

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

2010-04-23 Thread Sean Reifschneider
Sean Reifschneider added the comment: Ported to python3 and committed as 80401. -- ___ Python tracker ___ ___ Python-bugs-list mailing

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

2010-04-23 Thread Sean Reifschneider
Sean Reifschneider 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

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s
Changes by mike s : -- title: smtpd module does not allow domain filtering -> smtpd SMTPServer does not allow domain filtering ___ Python tracker ___

[issue8503] smtpd module does not allow domain filtering

2010-04-23 Thread mike s
Changes by mike s : -- title: smtpd module does not allow -> smtpd module does not allow domain filtering ___ Python tracker ___ ___ P

[issue8503] smtpd module does not allow

2010-04-23 Thread mike s
New submission from mike s : 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 (documented below) which can

[issue8325] improve regrtest command line help

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

[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS

2010-04-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg 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 read: ... if CFLAGS *were* s

[issue8325] improve regrtest command line help

2010-04-23 Thread anatoly techtonik
anatoly techtonik 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 easy to miss the li

  1   2   >