[issue5305] imaplib should support international mailbox names

2009-02-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: Can you provide a patch? -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5303] Use base 2**30 for Python longs, when possible

2009-02-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Well, it might have helped if I'd used the same title for the Rietveld > issue as the tracker issue. I'll get that right next time. What matters (I think) is that you have [issueXYZ] in the subject. ___ Python tracker

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: Yes it is annoying to have to deal with the different OS specific error numbers when handling socket.error, OSError, IOError or EnvironmentError subclasses in general but that is life. Python does not attempt to figure out what all possible behaviors and erro

[issue5305] imaplib should support international mailbox names

2009-02-17 Thread James Henstridge
New submission from James Henstridge : The IMAP4rev1 specification allows for non-ASCII mailbox names using a modified UTF-7 encoding (section 5.1.3 of RFC 2060 or 3501). However, the imaplib routines taking a mailbox name just pass the string straight through without any encoding. It would be

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: > I would suggest to use 2^30 base only if sizeof(long)>=8 (64 bits CPU). Thats not the correct test. Test for an actual 64-bit build target. sizeof(long) and sizeof(long long) are not usefully related to that in any sort of cross platform manner. On windo

[issue5303] Use base 2**30 for Python longs, when possible

2009-02-17 Thread Mark Dickinson
Mark Dickinson added the comment: Well, it might have helped if I'd used the same title for the Rietveld issue as the tracker issue. I'll get that right next time. Thank you for the review. I'll post some proper responses tomorrow evening (GMT). ___ Pyth

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks very much for the timings, Victor. Just out of interest, could you try the pydigits script with the +optimizations patch on 32-bit? As mentioned above, there's a significant (for 30-bit digits) problem with x_divrem: the inner loop does a 32 x 64-bit

[issue1001150] hotspot profiler does not work correctly on P4 CPUs with HT

2009-02-17 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: The hotspot module is obsolate, so this bug should be closed as "wont fix". ___ Python tracker ___ ___ Py

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-02-17 Thread Senthil
Senthil added the comment: Yup, This should be closed too. Thanks. ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue4191] urlparse normalize URL path

2009-02-17 Thread Senthil
Senthil added the comment: Please close this, Daniel. ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue1210326] comma separated cookie values

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1682241] Problems with urllib2 read()

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue4191] urlparse normalize URL path

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue775340] OSX 'freeze' bug

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue780354] socket.makefile() isn't compatible with marshal/cPickle/etc

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue835176] [2.3.2] bz2 test failure on AIX 4.3.2, Tru64 UNIX

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue854918] Configurable SSL handshake

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue872815] How to pass the proxy server use socket

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue875654] add support for installations compiled for debugging

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue949667] file write() method and non-blocking mode.

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue815753] SCO_SV: many modules cannot be imported

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1001150] hotspot profiler does not work correctly on P4 CPUs with HT

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue995956] TclError with intel's hypertheading

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1111100] csv reader barfs encountering quote when quote_none is set

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1169633] Install fail code 2932 after fail to copy python_icon.exe

2009-02-17 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue5304] email/base64mime.py cannot work

2009-02-17 Thread l5g
New submission from l5g <80723...@qq.com>: When using smtplib to send mail, I meet this bug. Maybe the line """ enc = b2a_base64(s[i:i + max_unencoded]).decode("ascii")""" should be changed to """ enc = b2a_base64((s[i:i + max_unencoded]).encode()).decode("ascii") F

[issue1283110] Give __len__() advice for "don't know"

2009-02-17 Thread Georg Brandl
Georg Brandl added the comment: Where would you prefer adding this documentation? ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1667546] Time zone-capable variant of time.localtime

2009-02-17 Thread Georg Brandl
Georg Brandl added the comment: To be honest, I forgot about it :( ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue5268] VMSError not documented in Doc/library/exceptions.rst

2009-02-17 Thread Georg Brandl
Georg Brandl added the comment: Added in r69730. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue5278] optparse documentation example

2009-02-17 Thread Georg Brandl
Georg Brandl added the comment: This is documented in the small glossary in the optparse docs. -- resolution: -> works for me status: open -> closed ___ Python tracker ___ _

[issue5296] Use of term sequence in Reference 6.3 Assignment Statements

2009-02-17 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r69729. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue5297] Bug in SocketServer Example

2009-02-17 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r69728. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-02-17 Thread STINNER Victor
STINNER Victor added the comment: @benjamin.peterson: I don't see you changes... I read both patches carrefuly and I saw: - source_as_string(): remove "cf.cf_flags = supplied_flags | PyCF_SOURCE_IS_UTF8;" - rename PyTokenizer_FromUnicode() to PyTokenizer_FromUTF8() - update NEWS I don't un

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2009-02-17 Thread Pavel Repin
Pavel Repin added the comment: Marc-Andre, I can also repro this on Vista machine with the same Python & MSVS configuration. This is the build error stemming from missing manifest file (unnecessary details elided; note the absence of /MANIFEST option): C:\src\MySQL-python-1.2.2>python setup.py -

[issue1229239] optionally allow mutable builtin types

2009-02-17 Thread Greg Couch
Greg Couch added the comment: FYI, I was able to work around this and use an unmodified Python by subtyping type and overriding the setattr method as shown below. It's a lot messier than patching Python. static int Mutable_SetAttr(PyObject *obj, PyObject *name, PyObject *value) { // Ca

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Isn't it a job of crossplatform programming language to abstract from > low-level platform details? It's certainly not Python's job. It's an explicit design goal, and a long tradition, to expose system interfaces *as is*, with the very same parameters, and t

[issue5300] Distutils ignores file permissions

2009-02-17 Thread Tarek Ziadé
Tarek Ziadé added the comment: > I believe that the default behavior should be changed to preserve > all permissions, with the possible exception of setting u+w. > Even that might be unnecessary; AFAIK to delete a file you need > write permissions only to its parent directory, not to the > f

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-17 Thread Tarek Ziadé
Tarek Ziadé added the comment: > Opened #5300 and #5302 for the mentioned issues. ok thanks > Btw in your patch, I believe `os.path.join(dirname, f)` should be > replaced by `f` alone; `dirname` refers to the dir under the > installation directory, not the source. Right, thanks George. I'v a

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread anatoly techtonik
anatoly techtonik added the comment: Isn't it a job of crossplatform programming language to abstract from low-level platform details? The scope of this bug is not about handling all possible Winsock errors. It is about proper handling the sole timeout error from the list http://www.winsock-err

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread STINNER Victor
STINNER Victor added the comment: New attachment: pidigits_noprint.py, hacked version of pidigits.py to remove the print and add the computation time in millisecond. Print was useless because we don't want to benchmark int->str conversion, especially when the integer is in [0; 9]. Added file

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread STINNER Victor
STINNER Victor added the comment: Ok, let's try 30bit_longdigit14.patch: patch -p0 < 30bit_longdigit14.patch autoconf && autoheader ./configure && make I'm using two computers: - marge: Pentium4, 32 bits, 3 GHz (32 bits) - lisa: Core Quad (Q9300), 64 bits, 2.5 GHz (64 bits) Both u

[issue5302] Allow package_data globs match directories

2009-02-17 Thread Tarek Ziadé
Tarek Ziadé added the comment: I am no in favor of MANIFEST.in removal because I find it very convenient to define what is included in a package and I rarely use package_data or data_files. So I am -1 on its deprecation. That said, having a mechanism to include directory recursively sounds goo

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-17 Thread George Sakkis
George Sakkis added the comment: Opened #5300 and #5302 for the mentioned issues. Btw in your patch, I believe `os.path.join(dirname, f)` should be replaced by `f` alone; `dirname` refers to the dir under the installation directory, not the source. ___ Pyth

[issue5303] Use base 2**30 for Python longs, when possible

2009-02-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: This was meant to go to issue4258, but I failed to set the subject when sending this from Rietveld. -- resolution: -> invalid status: open -> closed ___ Python tracker __

[issue5303] Use base 2**30 for Python longs, when possible

2009-02-17 Thread Martin v. Löwis
New submission from Martin v. Löwis : http://codereview.appspot.com/14105/diff/1/11 File Doc/library/sys.rst (right): http://codereview.appspot.com/14105/diff/1/11#newcode418 Line 418: A struct sequence that holds information about Python's I don't think the sequence interface is really importan

[issue1054967] bdist_deb - Debian packager

2009-02-17 Thread Tarek Ziadé
Tarek Ziadé added the comment: Sean, I am re-opening this issue, to study the inclusion of a bdist_deb command for 2.7/3.1, since there's some interest in the community. I have taken the assigment since it was rejected, but let me know if you want me to assign back to you of course. -

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2009-02-17 Thread Pavel Repin
Pavel Repin added the comment: Hi Marc,I am pretty sure it helped on my particular configuration. I was trying to compile MySQL-python-1.2.2.tar.gz package from source and it was failing in mt.exe step because the manifest file was not there. I didn't do anything special on my machine. I have 3

[issue5302] Allow package_data globs match directories

2009-02-17 Thread George Sakkis
New submission from George Sakkis : Currently each glob defined in package_data must match files only; if it matches a directory, it raises an exception later when calling copy_file(). This means that a glob like 'mydata/*' will fail if there is any subdirectory under 'mydata'. One simple useful

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2009-02-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 2009-02-17 20:22, Pavel Repin wrote: > Pavel Repin added the comment: > > I'd like to point out that on some configurations (at least mine), you > really need to specify /MANIFEST option to the linker, even though MSDN > documentation seems to imply t

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: 10060 is a winsock error, and there are many, MANY more of them. Read the winsock documentation for details. It's both impossible and pointless to document them, since some never occur, others aren't documented by Microsoft well enough in the first place. Many

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread STINNER Victor
STINNER Victor added the comment: > Patch uploaded to Rietveld (assuming that I did it right): > http://codereview.appspot.com/14105 Hehe, your configure's patch is too huge for Rietveld which displays a "MemoryError" :-) Bug reported at: http://code.google.com/p/rietveld/issues/detail?id=87

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Mark Dickinson added the comment: It looks as though Visual Studio 2008 does the 'right' thing, too, at least in some circumstances. Here's some assembler output (MSVC Express Edition, 32-bit Windows XP / Macbook Pro). ; 3: unsigned long long mul(unsigned long x, unsigned long y) {

[issue5301] add mimetype for image/vnd.microsoft.icon (patch)

2009-02-17 Thread Drew Hintz
New submission from Drew Hintz : Adds a mimetype entry for image/vnd.microsoft.icon This mimetype is commonly used for favicon.ico files and is registered with IANA. -- components: Library (Lib) files: mimetypes.py.diff keywords: patch messages: 82373 nosy: adhintz severity: normal sta

[issue5300] Distutils ignores file permissions

2009-02-17 Thread George Sakkis
New submission from George Sakkis : Distutils ignores file permissions when copying modules and package_data files to the build directory, and consequently to the installation directory too. According to an XXX comment at distutils/command/build_py.py, this is deliberate so that the built files a

[issue4606] Passing 'None' if argtype is set to POINTER(...) doesn't always result in NULL

2009-02-17 Thread Robert Luce
Robert Luce added the comment: Thomas, is there any chance of getting your attention for this one? Deciding whether or not this issue can be fully resolved by applying the proposed patch would already be sufficient. If it is not, I am willing to invest more time on resolving this issue. _

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread anatoly techtonik
anatoly techtonik added the comment: After rewriting my reply several times I've noticed my mistake, but it took more time to understand the problem than could be expected for a language that we all would like to see as easy and intuitive as possible. That why I still would like to see this bugr

[issue776533] Carbon.Snd module SPB constructor shadowed

2009-02-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've reapplied the hack. I'm closing the issue because we will not regenerate the Carbon bindings as these are deprecated and are no longer present in Python 3.x -- nosy: +ronaldoussoren resolution: later -> fixed status: open -> closed

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Mark Dickinson added the comment: Patch uploaded to Rietveld (assuming that I did it right): http://codereview.appspot.com/14105 ___ Python tracker ___ __

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Because documentation doesn't say that Python should timeout after 20 > seconds after entering blocking mode if socket to remote host can not be > opened. That's not true: The documentation says "In blocking mode, operations block until complete." It takes 2

[issue5299] PyGILState_Ensure()/PyGILState_Release() documentation incomplete?

2009-02-17 Thread Philip Semanchuk
New submission from Philip Semanchuk : The threading API documentation might omit out some important information about the GIL. The GIL can be acquired by explicitly calling PyEval_AcquireLock(). One can also acquire the GIL by calling PyGILState_Ensure(). The latter differs from the former in

[issue5298] Inconsistency in C-API thread docs

2009-02-17 Thread Philip Semanchuk
New submission from Philip Semanchuk : The language in the threading API documentation is a little inconsistent. The section I'm talking about is here: http://docs.python.org/c-api/init.html#thread-state-and-the-global-interpreter-lock The GIL is variously referred to as "global lock", "interpre

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Mark Dickinson added the comment: > unsigned long long m(unsigned long long a, unsigned long b) > { >return a*b; > } I think that's doing a 32 x 64 -> 64 multiplication; what's being used is more like this: unsigned long long m(unsigned long a, unsigned long b) { return (unsigned

[issue5297] Bug in SocketServer Example

2009-02-17 Thread Zach Dwiel
New submission from Zach Dwiel : There is a bug in the example code: http://docs.python.org/library/socketserver.html The very last example has the line: print "Server loop running in thread:", t.getName() should be: print "Server loop running in thread:", server_thread.getName() Should I po

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: Has any conclusion been reached wrt. overhead of 30-bit multiplication on 32-bit systems? IIUC, the single-digit multiplication is equivalent to the C program unsigned long long m(unsigned long long a, unsigned long b) { return a*b; } (i.e. one digit

[issue1283110] Give __len__() advice for "don't know"

2009-02-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Tue, Feb 17, 2009 at 1:27 PM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > If iterators don't want their boolean value to be messed up, couldn't > they simply use __bool__ for that? Since there is no base iterator class, that would co

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Robert Schuppenies
Changes by Robert Schuppenies : -- nosy: +schuppenies ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue5192] Update log message formatting.

2009-02-17 Thread Vinay Sajip
Vinay Sajip added the comment: Isn't there a backward compatibility problem? If a message format string contains both "%s" and "{0}", how is logging supposed to know what to use - a % b or a.format(b)? The way to do it is a custom Formatter, as you've indicated. -- nosy: +vsajip resolu

[issue1283110] Give __len__() advice for "don't know"

2009-02-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: If iterators don't want their boolean value to be messed up, couldn't they simply use __bool__ for that? -- nosy: +pitrou ___ Python tracker

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2009-02-17 Thread Pavel Repin
Pavel Repin added the comment: I'd like to point out that on some configurations (at least mine), you really need to specify /MANIFEST option to the linker, even though MSDN documentation seems to imply that /MANIFEST behavior is ON by default. My config: beta version of Windows 7 ActivePython

[issue5296] Use of term sequence in Reference 6.3 Assignment Statements

2009-02-17 Thread bob gailer
New submission from bob gailer : Currently reads, in part, "If the target list is a comma-separated list of targets: The object must be a sequence ..." Change "a sequence" to "an iterable". Also consider removing references to versions earlier than 1.5. -- assignee: georg.brandl compon

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: You can't use a connect() call for the purpose of waiting for your network to be up. This has nothing to do with Python. This is how all network APIs work regardless of OS and language. The "timeout" is due to the network stack being unable to find the r

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread anatoly techtonik
anatoly techtonik added the comment: Because documentation doesn't say that Python should timeout after 20 seconds after entering blocking mode if socket to remote host can not be opened. ___ Python tracker

[issue5283] setting __class__ in __del__ is bad. mmkay. negative ref count! kaboom!

2009-02-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Yes, the wrong type is DECREF'd when the object is deallocated. Patch attached. -- keywords: +needs review, patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file13123/del_changes_class.patch _

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Jeffrey Yasskin
Changes by Jeffrey Yasskin : -- nosy: +collinwinter, jyasskin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: Why do you think this is a bug in Python? -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-l

[issue5291] Windows upgrade to 2.6.1 requires 2.6 installer to be present

2009-02-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: How exactly did you install the old installer? It should have been cached into your Windows folder, so that it is available on uninstallation. That the old installer is required on an upgrade installation in unavoidable; installation of 2.6.1 essentially unins

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Changes by Mark Dickinson : Removed file: http://bugs.python.org/file13121/30bit_longdigit14.patch ___ Python tracker ___ ___ Python-bugs-list

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Changes by Mark Dickinson : Added file: http://bugs.python.org/file13122/30bit_longdigit14.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue5287] logging package on IronPython

2009-02-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Vinay, the fix should also be committed to trunk (unless the relevant code doesn't exist anymore), and to py3k. ___ Python tracker ___ __

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Changes by Mark Dickinson : Removed file: http://bugs.python.org/file13120/30bit_longdigit14.patch ___ Python tracker ___ ___ Python-bugs-list

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Mark Dickinson added the comment: Oops. Here's the correct patch. Added file: http://bugs.python.org/file13121/30bit_longdigit14.patch ___ Python tracker ___ ___

[issue5287] logging package on IronPython

2009-02-17 Thread Vinay Sajip
Vinay Sajip added the comment: Fix checked into release26-maint. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: The last patch (30bit_longdigit14.patch) is obviously missing some stuff, but other than that I think everything's fine and you could commit. ___ Python tracker

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Mark Dickinson added the comment: Updated non-optimized patch. The only real change is that I've moved some of the configuration stuff around (so not worth re-benchmarking this one); I hope that I've now got the division of labour correct: - configure script simply parses the --enable-big-d

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Antoine. I've reworked the configure stuff anyway: the decision about what size digits to use should take place in pyport.h rather than Include/longintrepr.h. Updated patches will arrive shortly! ___ Python tracke

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here's the py3k version of pidigits.py. Added file: http://bugs.python.org/file13119/pidigits.py ___ Python tracker ___

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Some more benchmarks results (with 30bit_longdigit13.patch): * Victor's bench_int.py: - 32-bit without patch: 1370.1 ms - 32-bit with patch:1197.8 ms (23% speedup) - 64-bit without patch: 1357.6 ms - 64-bit with patch:981.6 ms (28% speedup) * calculat

[issue1159425] 2.4 crashes when try to exit app and mulitple threads active

2009-02-17 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- superseder: -> KeyError at exit after 'import threading' in other thread ___ Python tracker ___ __

[issue1159425] 2.4 crashes when try to exit app and mulitple threads active

2009-02-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: the issue1596321 is very similar (same traceback on another platform). The problem is still valid, and the discussion seems more advanced there. -- nosy: +amaury.forgeotdarc resolution: -> duplicate status: open -> closed ___

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: As I said, I actually see a speedup as well on a 32-bit build on a 64-bit CPU. So the current patch (30bit_longdigit13.patch) is fine. ___ Python tracker ___

[issue5295] turtle.py "dicionary" spelling patch

2009-02-17 Thread David W. Lambert
New submission from David W. Lambert : x/lib/python3.0$ diff --unified turtle.py.bak turtle.py --- turtle.py.bak 2009-02-17 11:29:15.0 -0500 +++ turtle.py 2009-02-17 11:29:37.0 -0500 @@ -2265,7 +2265,7 @@ "outline": positive number "tilt"

[issue1047540] Turtle.py hangs Idle

2009-02-17 Thread Daniel Diniz
Daniel Diniz added the comment: Taro, the OP, has been able to reproduce the issue with Python 3.0. Leaving open, details on how to reproduce forthcoming. -- versions: +Python 3.0 ___ Python tracker

[issue1941] 2.6 stdlib using with statement

2009-02-17 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue974159] Starting a script in OSX within a specific folder

2009-02-17 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- assignee: -> ronaldoussoren nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailin

[issue3921] smtplib cannot sendmail over TLS

2009-02-17 Thread Musashi Tamura
Musashi Tamura added the comment: The difference is this line. (2.5, work) send: 'AUTH PLAIN AGxhbWJkYS5sZXRAZ21haWwuY29tAGNoaWtha29zMDA=\r\n' (Python3, error) send: 'AUTH PLAIN AGxhbWJkYS5sZXRAZ21haWwuY29tAGNoaWtha29zMDA=\n\r\n' -- nosy: +miwa ___

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

2009-02-17 Thread John Levon
John Levon added the comment: > However, experience tells that systems can break in surprising ways > if the system headers are compiled with different defines. This is indeed a reasonable concern (for which the best solution is dropping the defines in the Python compile). > I do feel this res

[issue5282] mmap.resize and offset

2009-02-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I hope this is obvious too. Fixed in r69718. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

  1   2   >