Re: urllib and parsing

2011-10-06 Thread Tim Roberts
luca72 lucabe...@libero.it wrote: Hello i have a simple question: up to now if i have to parse a page i do as follow: ... Now i have the site that is open by an html file like this: ... how can i open it with urllib, please note i don't have to parse this file, but i have to parse the site where

Re: httplib2 download forbidden

2011-10-06 Thread Tim Roberts
Mauro Zaccariotto mzaccario...@h-umus.it wrote: Hi! does anyone know what's happening here http://code.google.com/p/httplib2/ ? I get this: 403. That’s an error. Your client does not have permission to get URL /p/httplib2/ from this server. That’s all we know. It's working for me. Do you have

Re: Simplest way to resize an image-like array

2011-10-06 Thread John Ladasky
On Oct 1, 2:22 am, John Ladasky lada...@my-deja.com wrote: On Sep 30, 1:51 pm, Jon Clements jon...@googlemail.com wrote: Is something like http://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.imresi... any use? There we go!  That's the kind of method I was seeking.  I didn't

Re: httplib2 download forbidden

2011-10-06 Thread Mauro Zaccariotto
On 6 Ott, 09:05, Tim Roberts t...@probo.com wrote: Mauro Zaccariotto mzaccario...@h-umus.it wrote: Hi! does anyone know what's happening herehttp://code.google.com/p/httplib2/ ? I get this: 403. That s an error. Your client does not have permission to get URL /p/httplib2/ from this server.

Re: encoding problem with BeautifulSoup - problem when writing parsed text to file

2011-10-06 Thread Ulrich Eckhardt
Am 06.10.2011 05:40, schrieb Steven D'Aprano: (4) Do all your processing in Unicode, not bytes. (5) Encode the text into bytes using UTF-8 encoding. (6) Write the bytes to a file. Just wondering, why do you split the latter two parts? I would have used codecs.open() to open the file and

Re: encoding problem with BeautifulSoup - problem when writing parsed text to file

2011-10-06 Thread Chris Angelico
On Thu, Oct 6, 2011 at 8:29 PM, Ulrich Eckhardt ulrich.eckha...@dominalaser.com wrote: Just wondering, why do you split the latter two parts? I would have used codecs.open() to open the file and define the encoding in a single step. Is there a downside to this approach? Those two steps still

The hyper fused upper part of Nike Air Max displays the humanity

2011-10-06 Thread fashion fans
The hyper fused upper part of Nike Air Max displays the humanity of the designer because of its lightweight, breathability and a feeling of plusher fitness. The mesh inner collar, and the soft springy cushion http://www.outlet-nike-air-max.com/inside can protect the feet against most possible

Re: Writing file out to another machine

2011-10-06 Thread Dave Angel
On 01/-10/-28163 02:59 PM, Dennis Lee Bieber wrote: On Wed, 05 Oct 2011 21:36:34 -0400, Terry Reedytjre...@udel.edu declaimed the following in gmane.comp.python.general: On 10/5/2011 5:31 PM, Chris Angelico wrote: On Thu, Oct 6, 2011 at 8:22 AM, John Gordongor...@panix.com wrote: I assume

Implementing Python-OAuth2

2011-10-06 Thread Kayode Odeyemi
Hello friends, I'm working on a pretty large application that I will like to use oauth2 on as an authentication and authorization mechanism. I understand fairly the technology and I have written my own implementation before I stumbled on python-oauth2. I need advise on leveraging python-oauth2

Dabo 0.9.4 Released!

2011-10-06 Thread Ed Leafe
Yes, it's been over a year, but today we're finally releasing Dabo 0.9.4! What can I say? While we've been actively developing Dabo all along, and committing improvements and fixes regularly, we don't seem to get around to doing releases as often as we should. Since Dabo has a

Re: A tuple in order to pass returned values ?

2011-10-06 Thread Jean-Michel Pichavant
faucheuse wrote: Hi, (new to python and first message here \o/) I was wondering something : when you do : return value1, value2, value3 It returns a tuple. So if I want to pass these value to a function, the function have to look like : def function(self,(value1, value2, value3)) #self because

passing multiple string to a command line option

2011-10-06 Thread Mahmood Naderan
Dear developers, Suppose I have this list in command line options: ... -b b1,b2,b3 Here is what I wrote: parser = optparse.OptionParser() # Benchmark options parser.add_option(-b, --benchmark, default=, help=The benchmark to be loaded.) process = [] benchmarks = options.benchmark.split(',') for

ANN: hgview 1.4.0 - Mercurial log navigator

2011-10-06 Thread Alain Leufroy
Announcing HgView 1.4.0 === HgView home page: http://www.logilab.org/project/hgview Tarball: http://ftp.logilab.org/pub/hgview/hgview-1.4.0.tar.gz Hg repository: http://www.logilab.org/src/hgview About this release == Text mode inside make it

Re: Implementing Python-OAuth2

2011-10-06 Thread Jeff Gaynor
On 10/06/2011 08:34 AM, Kayode Odeyemi wrote: Hello friends, I'm working on a pretty large application that I will like to use oauth2 on as an authentication and authorization mechanism. I understand fairly the technology and I have written my own implementation before I stumbled on

Re: Dabo 0.9.4 Released!

2011-10-06 Thread Neal Becker
Ed Leafe wrote: Yes, it's been over a year, but today we're finally releasing Dabo 0.9.4! What can I say? While we've been actively developing Dabo all along, and committing improvements and fixes regularly, we don't seem to get around to doing releases as often as we should. Since Dabo has

Re: passing multiple string to a command line option

2011-10-06 Thread Terry Reedy
On 10/6/2011 11:27 AM, Mahmood Naderan wrote: Dear developers, Suppose I have this list in command line options: ... -b b1,b2,b3 Here is what I wrote: parser = optparse.OptionParser() If you are starting a new project, consider using argparse, which has superceded optparse. # Benchmark

L.A. user group?

2011-10-06 Thread Miki Tebeka
Greetings, Is there an L.A. Python user group out there? Thanks, -- Miki -- http://mail.python.org/mailman/listinfo/python-list

Re: encoding problem with BeautifulSoup - problem when writing parsed text to file

2011-10-06 Thread jmfauth
On 6 oct, 06:39, Greg gregor.hochsch...@googlemail.com wrote: Brilliant! It worked. Thanks! Here is the final code for those who are struggling with similar problems: ## open and decode file # In this case, the encoding comes from the charset argument in a meta tag # e.g. meta

PyDev 2.2.3 Released

2011-10-06 Thread Fabio Zadrozny
Hi All, PyDev 2.2.3 has been released Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: --- * Performance improvements * Major: Fixed critical issue when dealing with zip files. * Added option to create

Re: L.A. user group?

2011-10-06 Thread Brian Curtin
On Thu, Oct 6, 2011 at 12:24, Miki Tebeka miki.teb...@gmail.com wrote: Greetings, Is there an L.A. Python user group out there? http://socal-piggies.org might work for you. They recently had a meeting in Santa Monica, and I believe many of the members are LA based. --

Re: passing multiple string to a command line option

2011-10-06 Thread Miki Tebeka
As far as I see, the problem is not in the command line but in system.cpu[i].workload = process[i] call tree. Without seeing the code of SimObject and params I can't tell much more. -- http://mail.python.org/mailman/listinfo/python-list

Re: encoding problem with BeautifulSoup - problem when writing parsed text to file

2011-10-06 Thread xDog Walker
On Thursday 2011 October 06 10:41, jmfauth wrote: or  (Python2/Python3) import io with io.open('abc.txt', 'r', encoding='iso-8859-2') as f: ...     r = f.read() ... repr(r) u'a\nb\nc\n' with io.open('def.txt', 'w', encoding='utf-8-sig') as f: ...     t = f.write(r) ...

Re: encoding problem with BeautifulSoup - problem when writing parsed text to file

2011-10-06 Thread John Gordon
In mailman.1785.1317928997.27778.python-l...@python.org xDog Walker thud...@gmail.com writes: What is this io of which you speak? It was introduced in Python 2.6. -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com B is for Basil, assaulted

Re: passing multiple string to a command line option

2011-10-06 Thread Mahmood Naderan
Without seeing the code of SimObject and params I can't tell much more.     File /home/mahmood/gem5/src/python/m5/params.py, line 159, in convert       return self.ptype(value) following is part of params.py and I marked line 159. I didn't wrote this code so changing this may cause problem with

Deleting files on a shared server

2011-10-06 Thread Josh English
This is a follow-up to some questions I posted a month or two ago. I have two programs running on various Windows XP boxes, sharing several resource files on a Windows 2003 server. It's a mapped drive on the workstations to a shared folder. I am using a locking utility that works by creating

Re: A tuple in order to pass returned values ?

2011-10-06 Thread Steven D'Aprano
Jean-Michel Pichavant wrote: In a general manner, ppl will tend to use the minimum arguments required. However, do not pack values into tuple if they are not related. How would you return multiple values if not in a tuple? Tuples are *the* mechanism for returning multiple values in Python. If

Re: Deleting files on a shared server

2011-10-06 Thread Steven D'Aprano
Josh English wrote: This is a follow-up to some questions I posted a month or two ago. I have two programs running on various Windows XP boxes, sharing several resource files on a Windows 2003 server. It's a mapped drive on the workstations to a shared folder. I am using a locking utility

Re: L.A. user group?

2011-10-06 Thread Miki Tebeka
Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to create C-style main function in Python? (for teaching purposes)

2011-10-06 Thread alex23
Dennis Lee Bieber wlfr...@ix.netcom.com wrote:         While I wouldn't want to write an FFT in COBOL, one can't deny that laying out fixed width reports and moving blocks of decimal data between record layouts is quite easy in COBOL. Well, sure, but there's still plenty of pain in the

Re: Deleting files on a shared server

2011-10-06 Thread Josh English
The problem shows up when the application starts. It tries to read the file but the lock mechanism times out because the file is still around after the last time the application ran. It's a wxPython program. The code to unlink the .lock files is run in the wxApp.OnInit method (before any code

database connection

2011-10-06 Thread masood shaik
Hi can u please tell me how we can connect to database without changing the permission of db file using sqlite3 -- http://mail.python.org/mailman/listinfo/python-list

Re: PyDev 2.2.3 Released

2011-10-06 Thread rusi
On Oct 6, 11:03 pm, Fabio Zadrozny fzadro...@appcelerator.com wrote: Hi All, PyDev 2.2.3 has been released Details on PyDev:http://pydev.org Details on its development:http://pydev.blogspot.com On my debian box I get: $ /opt/Aptana\ Studio\ 3/AptanaStudio3 HandleConsoleMessage(Uncaught

[issue8668] Packaging: add a 'develop' command

2011-10-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: higery, can you give us a status update? Do you have the time to address current reviews or would you like me to make an updated patch? I’d like to incorporate this command as soon as possible to let people play with it, and then we’ll see

[issue12344] Add **kwargs to get_reinitialized_command

2011-10-06 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12344 ___ ___ Python-bugs-list

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-10-06 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Yes, I agree. I think, it can be clarified at that point too. Because. in 2.7 the string is being checked and in 3.3 the message_body is checked if it's instance of bytes. But, I think, it should be carefully worded (aligned with how other

[issue12416] packaging needs {pre,post}-{install,remove} hooks

2011-10-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Editing title to reflect the scope of the needed feature. -- title: packaging does not have hooks callable during distribution removal - packaging needs {pre,post}-{install,remove} hooks versions: +3rd party

[issue6715] xz compressor support

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: On http://tukaani.org/xz, I downloaded the file named xz-5.0.3-windows.zip. It contains precompiled dlls for both platforms: bin_i486/liblzma.dll and bin_x86_64/liblzma.dll Unfortunately, there is no import library for VS. It should not

[issue13116] setup.cfg in [sb]dists should be static

2011-10-06 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: Some people (hi Ronny :) want to use a setup hook to get the version from the VCS, but the setup.cfg file in sdists and bdists should be fully static, because getting the VCS info is not possible and maybe for other reasons too (not requiring

[issue6715] xz compressor support

2011-10-06 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Hmm... according to http://git.tukaani.org/?p=xz.git;a=blob;f=windows/README-Windows.txt;hb=HEAD#l80, the MinGW-compiled static libs *can* be used with MSVC. Not sure how reliable the information is, but it's worth a try at least.

[issue6715] xz compressor support

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Ah indeed, the zip archive contains a doc/liblzma.def which can be used to build a liblzma.lib -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715

[issue6715] xz compressor support

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Hey, today I learnt something about mingw! Rename liblzma.a to e.g. liblzma_static.lib and tell MSVC to link against it. Apparently mingw can generate COFF libraries. This may simplify things *a lot*. --

[issue13070] segmentation fault in pure-python multi-threaded server

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 89b9e4bf6f1f by Charles-François Natali in branch '2.7': Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycle http://hg.python.org/cpython/rev/89b9e4bf6f1f --

[issue12911] Expose a private accumulator C API

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f9f782f2369e by Antoine Pitrou in branch '3.2': Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists. http://hg.python.org/cpython/rev/f9f782f2369e New changeset 656c13024ede by

[issue12911] Expose a private accumulator C API

2011-10-06 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I added a comment insisting that the API is private and can be changed at any moment. StringIO can actually re-use that API, rather than the reverse. No need to instantiate a full-blown file object when all you want to do is to join a bunch of

[issue10141] SocketCan support

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset e767318baccd by Charles-François Natali in branch 'default': Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias http://hg.python.org/cpython/rev/e767318baccd -- nosy: +python-dev

[issue10141] SocketCan support

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a4af684bb54e by Victor Stinner in branch 'default': Issue #10141: Don't use hardcoded frame size in example, use struct.calcsize() http://hg.python.org/cpython/rev/a4af684bb54e --

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Francisco Martín Brugué
New submission from Francisco Martín Brugué franci...@email.de: Hi, In the page http://docs.python.org/devguide/compiler.html the links in the references [1] (http://www.foretec.com/python/workshops/1998-11/proceedings/papers/montanaro/montanaro.html) and in [Wang97]

[issue13118] Py_BuildValue format f incorrect description.

2011-10-06 Thread Félix-Antoine Fortin
New submission from Félix-Antoine Fortin felixantoinefortin+pyt...@gmail.com: Python/C API Reference Manual, section Utilities, Parsing arguments and building values, function Py_BuildValue. The description for the format unit f is incorrect. It reads Same as d., as it should be Convert a C

[issue10141] SocketCan support

2011-10-06 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Committed. Matthias, Tiago, thanks! -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: The reference for [1] could be changed to: http://www.python.org/workshops/1998-11/proceedings/papers/montanaro/montanaro.html -- ___ Python tracker rep...@bugs.python.org

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: The reference to [Wang97] could be changed to: http://www.cs.princeton.edu/research/techreps/TR-554-97 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13117

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: A patch with the links mentioned above. -- keywords: +patch Added file: http://bugs.python.org/file23329/issue13117.patch ___ Python tracker rep...@bugs.python.org

[issue8037] multiprocessing.Queue's put() not atomic thread wise

2011-10-06 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Modifying an object which is already on a traditional queue can also change what is received by the other thread (depending on timing). So Queue.Queue's put() is not atomic either. Therefore I do not believe this behaviour is a

[issue3244] multipart/form-data encoding

2011-10-06 Thread Aleksey Frolov
Changes by Aleksey Frolov atomm...@gmail.com: -- nosy: +atommixz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___ ___ Python-bugs-list

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 76159c6d265a by Ned Deily in branch 'default': Issue #13117: Fix broken links in the compiler page of the Developer's Guide. http://hg.python.org/devguide/rev/76159c6d265a -- nosy: +python-dev

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Thanks for the patch! -- nosy: +ned.deily resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13117 ___

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
New submission from M. Zilmer mzdkm...@gmail.com: In 3.2.2 the newline for print() is \n on Windows, and not \r\n as expected. In 3.1.4 the newline is \r\n. OS is Win 7, and tried on both 32 and 64 bit. Small example with output is attached. -- components: Windows files: newline.py

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
Changes by M. Zilmer mzdkm...@gmail.com: Added file: http://bugs.python.org/file23331/newline_3.1.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13119 ___

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
Changes by M. Zilmer mzdkm...@gmail.com: Added file: http://bugs.python.org/file23332/newline_3.2.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13119 ___

[issue13120] Default nosigint optionto pdb.Pdb() prevents use in non-main thread

2011-10-06 Thread Ben Bass
New submission from Ben Bass benb...@codedstructure.net: The new SIGINT behaviour of pdb.Pdb prevents use of pdb within a non-main thread without explicitly setting nosigint=True. Specifically the 'continue' command causes a traceback as follows: {{{ ... File

[issue13120] Default nosigint option to pdb.Pdb() prevents use in non-main thread

2011-10-06 Thread Ben Bass
Changes by Ben Bass benb...@codedstructure.net: -- title: Default nosigint optionto pdb.Pdb() prevents use in non-main thread - Default nosigint option to pdb.Pdb() prevents use in non-main thread ___ Python tracker rep...@bugs.python.org

[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 096b010ae90b by Ned Deily in branch '2.7': Issue #7367: Add test case to test_pkgutil for walking path with http://hg.python.org/cpython/rev/096b010ae90b New changeset 1449095397ae by Ned Deily in branch '2.7':

[issue7425] Improve the robustness of pydoc -k in the face of broken modules

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 45862f4ab1c5 by Ned Deily in branch '2.7': Issue #7425: Refactor test_pydoc test case for '-k' behavior and add http://hg.python.org/cpython/rev/45862f4ab1c5 New changeset 3acf90f71178 by Ned Deily in branch '2.7':

[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path

2011-10-06 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The applied changesets correct pkgutil's walk_packages for classic imports to ignore unreadable directories the same way that the interpreter's import does. With this fix to pkgutil, pydoc -k also no longer fails in this case. Applied in 2.7 (for

[issue2945] bdist_rpm does not list dist files (should effect upload)

2011-10-06 Thread Carl Robben
Carl Robben carl.rob...@gmail.com added the comment: I found that bdist_rpm wasn't registering distributions with dist.dist_files at all. The attached patch should be all that's needed to fix this. -- keywords: +patch nosy: +crobben Added file:

[issue11250] 2to3 truncates files at formfeed character

2011-10-06 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Was this patch ever folded into Python 3.2? Looking at the hg repository, I think the answer is no. It does appear to have made it into Python 2.7 and trunk though (afaict). In point of fact, this bug is hitting me now with 3.2.2.

[issue13105] Please elaborate on how 2.x and 3.x are different heads

2011-10-06 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: What follows is the original email from Nick. -- We maintain two independent heads in hg: 2.7 and default 3.2 is open for general bugfixes 2.5 (IIRC), 2.6 and 3.1 are open for security fixes Security fixes (if applicable to both heads)

[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-10-06 Thread Mark Hammond
Mark Hammond skippy.hamm...@gmail.com added the comment: I'm reluctant to commit to adding test infrastructure for the distutils build commands - if I've missed existing infrastructure and adding such tests would actually be relatively simple, please educate me! Or if someone else would like

[issue12436] Missing items in installation/setup instructions

2011-10-06 Thread Mike Hoy
Mike Hoy mho...@gmail.com added the comment: - How to prepare a text editor See: http://docs.python.org/dev/using/unix.html#editors - How to run Python code from a file (if the tutorial or using docs don’t already have it). See: http://docs.python.org/dev/using/unix.html#miscellaneous

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: To people who open the file in their browser: text files are very similar, but newline_3.1.txt has CRLF line endings and newline_3.2.txt has LF line endings. M.Z, how did you obtain them? did you start a subprocess? -- nosy:

[issue13118] Py_BuildValue format f incorrect description.

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I've checked in the code: 'f' and 'd' are really the same (Python/modsupport.c). And in http://en.wikipedia.org/wiki/Stdarg.h, you can read: A float will automatically be promoted to a double. -- nosy: +amaury.forgeotdarc

[issue12823] Broken link in SSL wrapper for socket objects document

2011-10-06 Thread Mike Hoy
Mike Hoy mho...@gmail.com added the comment: Patch to remove broken link. -- keywords: +patch nosy: +mikehoy Added file: http://bugs.python.org/file23334/SSL-broken-link.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12823

[issue12602] Missing using docs cross-references

2011-10-06 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This is all a puzzle to me. script ?? Links from docs to tracker issue?? There is at least one other issue about bad links (from builtin functions entries). -- nosy: +terry.reedy ___ Python

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
M. Zilmer mzdkm...@gmail.com added the comment: Hi Amaury, The two text files were obtained through redirection in Windows, so I simply ran the newline.py file with: ... C:\Python31\python.exe newline.py newline_3.1.txt ... C:\Python32\python.exe newline.py newline_3.2.txt Best

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-06 Thread Кирилл Кузьминых
Кирилл Кузьминых sai...@mail.ru added the comment: I created the patch (in attachment) for Distutils from Python 2.7. PS: Python 3.2 does not contain this error, because there the entire text is stored in unicode. -- components: -Distutils2 keywords: +patch type: behavior - crash

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-06 Thread Кирилл Кузьминых
Changes by Кирилл Кузьминых sai...@mail.ru: -- components: +Distutils2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___

[issue12602] Missing using docs cross-references

2011-10-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12602 ___ ___

[issue13070] segmentation fault in pure-python multi-threaded server

2011-10-06 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: The issue doesn't affect Python 2.7? Duh! I was sure the _io module had been introduced in Python 3 (I/O layer rewrite, etc). Yes, it does apply to 2.7. I'll commit the patch later today. --

[issue13108] test_urllib: buildbot failure

2011-10-06 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - urllib.request.thishost() returns a garbage value type: - behavior ___ Python tracker

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-06 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13104 ___ ___ Python-bugs-list

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-06 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: /etc/hosts was incomplete; works fine now. Closing again. -- resolution: - fixed stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12210] test_smtplib: intermittent failures on FreeBSD

2011-10-06 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Naturally, as soon as I declare it fixed, it occurs again: http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%202.7/builds/326 -- status: closed - open ___ Python tracker

[issue13070] segmentation fault in pure-python multi-threaded server

2011-10-06 Thread Victor Semionov
Victor Semionov vsemio...@gmail.com added the comment: I did not see any segfaults when I ran my app on 2.7. Please verify that 2.7 is really affected before making changes. -- ___ Python tracker rep...@bugs.python.org

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: -vsemionov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: test attachments -- Added file: http://bugs.python.org/file23322/unnamed Added file: http://bugs.python.org/file23323/issue12753-3.diff ___ Python tracker rep...@bugs.python.org

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: test attachments -- Added file: http://bugs.python.org/file23324/issue12753-3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: test attachments -- Added file: http://bugs.python.org/file23325/unnamed Added file: http://bugs.python.org/file23326/issue12753-3.diff ___ Python tracker rep...@bugs.python.org

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Adding # ignore html part of multipart/alternative ignore_alternatives = yes to the config.ini seems to get rid of the unnamed attachments. -- ___ Python tracker rep...@bugs.python.org

[issue6715] xz compressor support

2011-10-06 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Wow, this discussion has gotten quite busy while I've been travelling... Martin, could you explain what the problems are with bundling a precompiled DLL for Windows? I am willing to do the work of getting liblzma to compile with VS if

[issue9442] Update sys.version doc

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9f6704da4abb by Éric Araujo in branch '2.7': Fix markup used in the documentation of sys.prefix and sys.exec_prefix. http://hg.python.org/cpython/rev/9f6704da4abb -- nosy: +python-dev

[issue9442] Update sys.version doc

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6ea47522f466 by Éric Araujo in branch '3.2': Fix markup used in the documentation of sys.prefix and sys.exec_prefix. http://hg.python.org/cpython/rev/6ea47522f466 -- ___

[issue12167] test_packaging reference leak

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset e76c6aaff135 by Éric Araujo in branch 'default': Add regrtest check for caches in packaging.database (see #12167) http://hg.python.org/cpython/rev/e76c6aaff135 -- ___

[issue12222] All pysetup commands should respect exit codes

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ab125793243f by Éric Araujo in branch 'default': Fix return code of “pysetup run COMMAND” (closes #1) http://hg.python.org/cpython/rev/ab125793243f -- resolution: - fixed stage: - committed/rejected

[issue11841] Bug in the verson comparison

2011-10-06 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2105ab8553b7 by Éric Araujo in branch 'default': Add tests for comparing candidate and final versions in packaging (#11841). http://hg.python.org/cpython/rev/2105ab8553b7 -- nosy: +python-dev

[issue13105] Please elaborate on how 2.x and 3.x are different heads

2011-10-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Can you paste the email for a starting point? -- nosy: +eric.araujo, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13105 ___

[issue13105] Please elaborate on how 2.x and 3.x are different heads

2011-10-06 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: - eric.araujo versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13105 ___

[issue11841] Bug in the verson comparison

2011-10-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I couldn’t reproduce the bugs but added the tests. Thanks! -- resolution: - out of date stage: - committed/rejected status: open - closed versions: +3rd party ___ Python tracker

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-10-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It is IMO a source of confusion that the doc talk about a string instead of “a bytes object” (3.x) or “a string (str)” (2.x, unless unicode is supported too). -- nosy: +eric.araujo ___ Python tracker

[issue12167] test_packaging reference leak

2011-10-06 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12167 ___

[issue13070] segmentation fault in pure-python multi-threaded server

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Your application does not segfault with 2.7 because buffered files and sockets use a very different implementation. The io module is present in all versions, but only Python3 uses it for all file-like objects. If the unit test

  1   2   >