[issue7024] webbrowser : Could not open ftp server using webbrowser.open()

2009-09-30 Thread Harshad Modi
Harshad Modi added the comment: [Senthil Kumaran] Thanks to Reply. 1) OS : Ubuntu 9.04 - the Jaunty Jackalope - released in April 2009. 2) Default Browser : Firefox 3.0.8 3) Tested with "ftp://ftp.aduni.org"; but still error. 4) Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) [GCC 4.3.3] o

[issue6733] curses line wrap broken when mixing full- and half-width unicode characters

2009-09-30 Thread fugounashi
Changes by fugounashi : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue7028] hex function should work with floats

2009-09-30 Thread Josh Cogliati
Changes by Josh Cogliati : -- type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue7028] hex function should work with floats

2009-09-30 Thread Josh Cogliati
New submission from Josh Cogliati : The hex() builtin function only takes integers. Also there is no way to create a floating point number from a hexadecimal string. However it would often be useful to be able to see the hexadecimal version of an float since this is an exact representation as c

[issue3329] API for setting the memory allocator used by Python

2009-09-30 Thread Tim Lesher
Changes by Tim Lesher : -- nosy: +tlesher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue7026] test_urllib: unsetting missing 'env' variable

2009-09-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed that in revision 75166. Even in release26-maint got to chnage it from env.unset(k) to self.env.unset(k). -- assignee: -> orsenthil nosy: +orsenthil resolution: -> fixed ___ Python tracker

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2009-09-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +benjamin.peterson, pitrou priority: -> normal stage: -> needs patch type: -> behavior ___ Python tracker ___

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2009-09-30 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : This test failure occurs on Windows XP (x86) with 2.6.3.rc1 == ERROR: Test seek/tell using the StatefulIncrementalDecoder.

[issue7025] Python 3.1 and 3.2 (dev) opensearch.xml still references 3.0

2009-09-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r75161. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue7026] test_urllib: unsetting missing 'env' variable

2009-09-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: The above mentioned traceback occurs in 2.6.3rc1 -- ___ Python tracker ___ ___ Python-bugs-list

[issue7026] test_urllib: unsetting missing 'env' variable

2009-09-30 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : test test_urllib failed -- Traceback (most recent call last): File "/home/apy/rrun/tmp/autotest/apy/lib/python2.6/test/ test_urllib.py", line 106, in setUp env.unset(k) NameError: global name 'env' is not defined Looking in trunk's copy I see this:

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2009-09-30 Thread Bill Janssen
Bill Janssen added the comment: On Tue, Sep 29, 2009 at 12:47 PM, Giampaolo Rodola' wrote: > > Giampaolo Rodola' added the comment: > > Uhm... I'm sorry but actually I'm not sure about this patch anymore. > Now that I look at ssl.py again I'm noticing that send() is trapped in a > "while True"

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: Adding a warning to the documentation is not wrong, it is the only thing that is possible for the 2.6.3 release. Its too late in the current release process to change code. -- ___ Python tracker

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-30 Thread Ralf Schmitt
Ralf Schmitt added the comment: Adding a warning to the documentation is wrong. The intention of the code clearly is to only create files in the destination directory (or why remove the first slash then?) and that is also the impression I get from reading the documentation. --

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The patch won't work if the target file already exists as a symlink. I think that such a check is not a good idea. Using symlinks to extract files to somewhere else may be a feature, after all. Specially if the symlink already exists before the operati

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-30 Thread Thomas W. Barr
Thomas W. Barr added the comment: A fair point. I was thinking that we could query the OS about whatever filesystem the path is on, but this wouldn't work for a file that hasn't been created yet. The issue with extractall() isn't just that it can extract over existing files, it's that it can wr

[issue7025] Python 3.1 and 3.2 (dev) opensearch.xml still references 3.0

2009-09-30 Thread Jon Parise
New submission from Jon Parise : The _static/opensearch.xml output on docs.python.org for the 3.1 and 3.2 (dev/py3k) branches still refers to the 3.0 documentation. Doc/conf.py's html_use_opensearch value should be updated in those source branches to reflect their updated version numbers. -

[issue7015] Getting call trace while executing "modules spam" at help prompt

2009-09-30 Thread Jan Kratochvil
Jan Kratochvil added the comment: The python bindings were therefore fixed downstream: gdb-6.8.91.20090930-2.fc12 http://koji.fedoraproject.org/koji/buildinfo?buildID=134595 -- ___ Python tracker __

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-30 Thread Ned Deily
Ned Deily added the comment: Yes, as shipped from the factory, the default "root" file system is still case-insensitive but the user can change that. There there are file systems on attached disk images and NFS-mounted file systems, etc etc. More to the point, it's not a system attribute, r

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-30 Thread Thomas W. Barr
Thomas W. Barr added the comment: Good point, I'd forgotten that case-sensitive file systems are an option. I do know that it's not the default, though, and that as shipped from Apple, at least the consumer machines are case-insensitive. Things may be different in server-land. For what it's wor

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-30 Thread Ned Deily
Ned Deily added the comment: "The Mac version of os.path.normpath doesn't change the path, as per the posix version, which isn't correct on HFS+, which is not case sensitive." Not so. Case-sensitive vs case-insensitive behavior is chosen when initializing an HFS+ file system (since OS X 10.3).

[issue3366] Add gamma function, error functions and other C99 math.h functions to math module

2009-09-30 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: I agree with your reasoning. Any chance of also getting the incomplete beta and gamma functions, needed to compute the CDF of many commonly used probability distributions? (Beta, Logarithmic, Poisson, Chi-Square, Gamma, etc.) --

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-30 Thread Thomas W. Barr
Changes by Thomas W. Barr : Removed file: http://bugs.python.org/file15003/zipfile-6972-patch.diff ___ Python tracker ___ ___ Python-bugs-list

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-30 Thread Thomas W. Barr
Thomas W. Barr added the comment: os.path.realpath() doesn't normalize case, so this could have issues on Windows. The new patch should not. The Mac version of os.path.normpath doesn't change the path, as per the posix version, which isn't correct on HFS+, which is not case sensitive. That's an

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-09-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Thank you Tarek. I was able to fix the issue by patching pywin32's setup.py by using the `get_ext_filename` function from the CVS HEAD revision (which handles non- namespaced extensions as well). -- status: open -> closed

[issue3366] Add gamma function, error functions and other C99 math.h functions to math module

2009-09-30 Thread Mark Dickinson
Mark Dickinson added the comment: A first attempt for lgamma, using Lanczos' formula. In general, this gives very good accuracy. As the tests show, there's one big problem area, namely when gamma(x) is close to +-1, so that lgamma(x) is close to 0. This happens for x ~ 1.0, x ~ 2.0, and va

[issue7024] webbrowser : Could not open ftp server using webbrowser.open()

2009-09-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: It is very difficult to debug with the information you have provided. The webbrowser.py has indeed undergone some changes, but they are positive changes and should not break any working behaviour. For your problem, you might want to mention. 1) Your OS. 2) You

[issue7024] webbrowser : Could not open ftp server using webbrowser.open()

2009-09-30 Thread Harshad Modi
New submission from Harshad Modi : Hi, I try to open ftp site using webbrowser.open('ftp://localhost:21') in python2.6. but It can not open and give error like : Error showing url: The specified location is not mounted It is working good in python2.5 so can anybod help me ? what am I wrong ?

[issue7023] Marshal doesn't release GIL while dumping

2009-09-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: In fact, almost no place in marhsal is thread safe, so releasing the GIL anywhere is not safe. -- nosy: +benjamin.peterson resolution: -> rejected status: open -> closed ___ Python tracker

[issue7015] Getting call trace while executing "modules spam" at help prompt

2009-09-30 Thread R. David Murray
R. David Murray added the comment: It may well be possible to improve the handling of exceptions (I haven't looked at your patch yet), but fixing gdb, or rather the python bindings for it, are out of the scope of this bug tracker since it is third-party code. -- assignee: georg.brandl -

[issue6992] PEP 314 inconsistency (authors/author/maintainer)

2009-09-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: > I'm just suggesting to add the meta-data field in order to recreate > consistency - not advocating that setup() parameter or its use. Yes but fixing this inconsitency can be done on either side: A - remove the maintainer and maintainer_email B - add the Maintai

[issue6992] Adding a Contributor field in PEP 314

2009-09-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Tarek Ziadé wrote: > > Tarek Ziadé added the comment: > >> The meta-data is only used by PyPI and perhaps a handful >> of other tools. > [...] >> The addition of the maintainer meta-data field would >> not hurt anyone and create more consistency. > > si

[issue6992] Adding a Contributor field in PEP 314

2009-09-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: > The meta-data is only used by PyPI and perhaps a handful > of other tools. [...] > The addition of the maintainer meta-data field would > not hurt anyone and create more consistency. since PyPI has its own Role system (owner, maintainer) managed by the user who

[issue7023] Marshal doesn't release GIL while dumping

2009-09-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The patch is wrong; the function allows other threads to run while it calls _PyString_Resize(), this will lead to crashes. -- nosy: +amaury.forgeotdarc ___ Python tracker ___

[issue7015] Getting call trace while executing "modules spam" at help prompt

2009-09-30 Thread Jan Kratochvil
Jan Kratochvil added the comment: This patch will make the `modules' command succeeed. Later requesting the specific `gdb' module will cause: help> gdb problem in gdb - : 'module' object has no attribute 'Command' I think this is right in general, a single broken module should not abort the wh

[issue6992] Adding a Contributor field in PEP 314

2009-09-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Tarek Ziadé wrote: > So at the end, the changes on distutils setup() side would be: > > - authors (goes in Author field - with "," separations ) > - contact_email (goes in Author-email field) > - deprecation of the "author", "author_email", > "maintain

[issue7015] Getting call trace while executing "modules spam" at help prompt

2009-09-30 Thread Jan Kratochvil
Changes by Jan Kratochvil : -- nosy: +jankratochvil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue6186] test_thread occasionally reports unhandled exceptions on OS X

2009-09-30 Thread Skip Montanaro
Skip Montanaro added the comment: and on svn trunk -- nosy: +skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue6992] Adding a Contributor field in PEP 314

2009-09-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: > Right, but then we have: > > author > author_email > authors > maintainer > maintainer_email > > for consitency, we'd also need: > > author_emails > maintainers > maintainer_emails In my mind the "perfect" situation would be just two arguments: - authors (goes

[issue6992] Adding a Contributor field in PEP 314

2009-09-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: anatoly techtonik wrote: >> What does changing the type of the "author" field make clearer exactly? >> It is a field for human beings to read, and a human being is perfectly >> able to parse "AP , Tarek " without >> the help of a computer. > > Type of `auth

[issue6992] Adding a Contributor field in PEP 314

2009-09-30 Thread anatoly techtonik
anatoly techtonik added the comment: > The good pratice, if there are several authors, is to setup a > mailing-list (and put its address as official contact address). True. Some packages already do this. > Otherwise collaboration gets inevitably messy, since authors can get > contacted in priv

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-09-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: Pywin32 is patching "build_ext.get_ext_filename", making the assumption that it will be called only in a certain way (namespaces names) by "build_ext.build_extension", to force the name of the output from "pywintypes.pyd" to "pywintypes.dll". But this API, even if

[issue7023] Marshal doesn't release GIL while dumping

2009-09-30 Thread zengke
Changes by zengke : -- versions: +Python 2.4, Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue7023] Marshal doesn't release GIL while dumping

2009-09-30 Thread zengke
New submission from zengke : If marshal.dumps() is handling a large data, It keeps acquiring the GIL and may take several seconds, Other threads therefor are blocked. marshal.loads should also be friendly to other threads. -- components: Library (Lib) files: marshal_threads.patch keyword

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-09-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: I am investingating in py2exe build_ext custom command and in the distutils bugfixes that where done, to understand the problem, I'll let you know as soon as I've found it. -- resolution: -> accepted ___ Python tracker

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-09-30 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.