Re: urllib and parsing
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 he point. Well, you can use htmllib to parse the HTML, look for the form tag, and extract the action verb. Or, if you really just want this one site, you can use urllib2 to provide POST parameters: import urllib import urllib2 url = 'http://lalal.hhdik/' values = {'password' : 'password', 'Entra' : 'Entra' } data = urllib.urlencode(values) req = urllib2.Request(url, data) response = urllib2.urlopen(req) the_page = response.read() -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list
Re: httplib2 download forbidden
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. Thats an error. Your client does not have permission to get URL /p/httplib2/ from this server. Thats all we know. It's working for me. Do you have some kind of proxy in the way? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list
Re: Simplest way to resize an image-like array
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 think to look outside of scipy.interpolate. Thanks, Jon. Oh, grumble, scipy.misc.imresize bumps the array down to an 8-bit integer array. I need to do some arithmetic with the arrays, and it needs to be more precise than 8 bits. So I may have to rewrite the function to yield a 16-bit integer at least. -- http://mail.python.org/mailman/listinfo/python-list
Re: httplib2 download forbidden
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. That s all we know. It's working for me. Do you have some kind of proxy in the way? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. No, but today it's working again. O__o thank you anyway -- http://mail.python.org/mailman/listinfo/python-list
Re: encoding problem with BeautifulSoup - problem when writing parsed text to file
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 define the encoding in a single step. Is there a downside to this approach? Otherwise, I can only confirm that your overall approach is the easiest way to get correct results. Uli -- http://mail.python.org/mailman/listinfo/python-list
Re: encoding problem with BeautifulSoup - problem when writing parsed text to file
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 happen, even if you achieve them in a single function call. What Steven described is language- and library- independent. ChrisA -- http://mail.python.org/mailman/listinfo/python-list
The hyper fused upper part of Nike Air Max displays the humanity
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 injures. Besides the rubber materials around the translucent perimeter displays a particular appearance of the shoes, which is a love of most women, especially those who pursuit to be in fashion. Meanwhile the rubber material is a guaranty of the durability and traction, which is fully the practice. With the {2}{/2}dynamic colors of Women’s Nike Air Max 2011, you will soon experience the vitality of sports when you are dressed in such a pair of classic nice cheap Nike running shoes, because it can not only create a healthy condition for feet, but also can restore the original active in the shortest time. What’s more, the Nike Air Max 2011 will not cause any exacerbation if you once were injured in feet. http://www.outlet-nike-air-max.com/ -- http://mail.python.org/mailman/listinfo/python-list
Re: Writing file out to another machine
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 he intended S: to indicate a remote server. The most obvious understanding of it is a drive letter (ie Windows box). More exactly, a remote server filesystem 'mounted' (not sure of the Windows' term) as a local drive. I am pretty sure I have read of this being done. right-clickMy Computer Map Network Drive So I suspect you could refer to it as a mapped filesystem. Or you could refer to it as a 'net use' drive, since that's the commandline way to mount it on Windoze. DaveA -- http://mail.python.org/mailman/listinfo/python-list
Implementing Python-OAuth2
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 api for creating consumer key, creating consumer secret, access token and token secret. Regards -- Odeyemi 'Kayode O. http://www.sinati.com. t: @charyorde -- http://mail.python.org/mailman/listinfo/python-list
Dabo 0.9.4 Released!
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 Web Update feature that lets developers receive regular updates between releases, most people are fairly current, but creating a new release will help newcomers to Dabo get up to speed quicker. The changes won't be too big for most current users of the framework, but compared to the 0.9.3 release, lots has been fixed and improved! Full release notes are at: http://svn.dabodev.com/dabo/tags/dabo-0.9.4/ChangeLog ...but here are just a few of the major changes since 0.9.3: - better handling of edge cases in bizobj relations - addition of support in bizobjs for many-to-many relationships - improved efficiency in detecting changed records - added the dDatePicker control - added the option of vertical text for grid headers - integrated a code editor into the command window You can grab the latest version, as always, from http://dabodev.com/download -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list
Re: A tuple in order to pass returned values ?
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 i'm working with classes I tried it, and it works perfectly, but I was wondering if it's a good choice to do so, if there is a problem by coding like that. So my question is : Is there a problem doig so ? There is no problem with that but ppl will usually write something like: def function(self, a3Tuple): v1, v2 ,v3 = a3Tuple 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. A better thing to do would be to use objects instead of tuples, tuples can serve as lazy structures for small application/script, they can become harmful in more complexe applications, especialy when used in public interfaces. JM -- http://mail.python.org/mailman/listinfo/python-list
passing multiple string to a command line option
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 bench_name in benchmarks: process.append(bench_name) At this stage, I want to bind each process to something: np = 2 for i in xrange(np): ... system.cpu[i].workload = process[i] however I get this error: File configs/example/cmp.py, line 81, in module system.cpu[i].workload = process[i] File /home/mahmood/gem5/src/python/m5/SimObject.py, line 627, in __setattr__ value = param.convert(value) File /home/mahmood/gem5/src/python/m5/params.py, line 236, in convert tmp_list = [ ParamDesc.convert(self, value) ] File /home/mahmood/gem5/src/python/m5/params.py, line 159, in convert return self.ptype(value) TypeError: __init__() takes exactly 1 argument (2 given) Error setting param TmpClass.workload to bzip2_chicken params.py is part of the simulator and I didn't wrote that. My question is what is the simplest way to fix that? Or is there any better idea than what I did in order to parse such command line option? thanks // Naderan *Mahmood; -- http://mail.python.org/mailman/listinfo/python-list
ANN: hgview 1.4.0 - Mercurial log navigator
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 into hgview 1.4.0! This release introduces a *new text based* user interface thanks to the urwid library (http://excess.org/urwid ) This interface includes the following features: * display the revision graph (with working directory as a node, and basic support for the mq), * display the files affected by a selected changeset (with basic support for the bfiles), * display diffs (with syntax highlighting thanks to pygments), * automatically refresh the displayed revision graph when the repository is being modified, * easy key-based navigation in revisions' history of a repo (same as the GUI), * a command system for special actions (see help) To use it type : ``hgview --interface curses`` (or configure it permanently in your config file) There are also some bugfixes. About HgView hgview is a simple tool aiming at visually navigate in a Mercurial (hg) repository history. It is written in Python with quick and efficient key-based navigation in mind, trying to be fast enough for big repositories. --$ python-projects mailing list http://lists.logilab.org/mailman/listinfo/python-projects -- http://mail.python.org/mailman/listinfo/python-list
Re: Implementing Python-OAuth2
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 python-oauth2. I need advise on leveraging python-oauth2 api for creating consumer key, creating consumer secret, access token and token secret. This works well, but be advised that the original python oauth library had some serious issues, so was redone as python-oauth2. What is confusing is that it refers to OAuth version 1.0a, not the upcoming OAuth version 2.0, so make sure you read the right spec before using it, since they are very different indeed. There are *no* usable OAuth version 2..0 implementation in any language (usually Java comes first) that I know of, so you will get to role your own, which is hard. There are a few beta-level versions E.g. Twitter) but these are special cased to the author's needs. The spec itself is not quite ready either and since it has changed quite substantially in the last year, I suspect that everyone is waiting to see it settle to a steady state. Jeff -- http://mail.python.org/mailman/listinfo/python-list
Re: Dabo 0.9.4 Released!
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 a Web Update feature that lets developers receive regular updates between releases, most people are fairly current, but creating a new release will help newcomers to Dabo get up to speed quicker. The changes won't be too big for most current users of the framework, but compared to the 0.9.3 release, lots has been fixed and improved! Full release notes are at: http://svn.dabodev.com/dabo/tags/dabo-0.9.4/ChangeLog ...but here are just a few of the major changes since 0.9.3: - better handling of edge cases in bizobj relations - addition of support in bizobjs for many-to-many relationships - improved efficiency in detecting changed records - added the dDatePicker control - added the option of vertical text for grid headers - integrated a code editor into the command window You can grab the latest version, as always, from http://dabodev.com/download -- Ed Leafe What is it? -- http://mail.python.org/mailman/listinfo/python-list
Re: passing multiple string to a command line option
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 options parser.add_option(-b, --benchmark, default=, help=The benchmark to be loaded.) process = [] benchmarks = options.benchmark.split(',') for bench_name in benchmarks: process.append(bench_name) At this stage, I want to bind each process to something: np = 2 for i in xrange(np): ... system.cpu[i].workload = process[i] however I get this error: File configs/example/cmp.py, line 81, inmodule system.cpu[i].workload = process[i] File /home/mahmood/gem5/src/python/m5/SimObject.py, line 627, in __setattr__ value = param.convert(value) File /home/mahmood/gem5/src/python/m5/params.py, line 236, in convert tmp_list = [ ParamDesc.convert(self, value) ] File /home/mahmood/gem5/src/python/m5/params.py, line 159, in convert return self.ptype(value) TypeError: __init__() takes exactly 1 argument (2 given) Error setting param TmpClass.workload to bzip2_chicken params.py is part of the simulator and I didn't wrote that. My question is what is the simplest way to fix that? Or is there any better idea than what I did in order to parse such command line option? thanks // Naderan *Mahmood; -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list
L.A. user group?
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
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 charset=iso-8859-2 fileObj = open(filePath,r).read() fileContent = fileObj.decode(iso-8859-2) fileSoup = BeautifulSoup(fileContent) ## Do some BeautifulSoup magic and preserve unicode, presume result is saved in 'text' ## ## write extracted text to file f = open(outFilePath, 'w') f.write(text.encode('utf-8')) f.close() 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) ... f.closed True jmf -- http://mail.python.org/mailman/listinfo/python-list
PyDev 2.2.3 Released
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 method whenever a field would be created in quick fixes (and vice-versa), to properly deal with functional programming styles. * Fixed issue where PyDev was changing the image from another plugin in the Project Explorer (i.e.: removing error decorations from JSP). * Fixed issue: if the django models was opened in PyDev, the 'objects' object was not found in the code analysis. * Test runner no longer leaves exception visible. * Fixed issue on Py3: Relative imports are only relative if they have a leading dot (otherwise it always goes to the absolute). * Default is now set to create project with the projects itself as the source folder. * Handling deletion of .class files. * Fixed issue where loading class InterpreterInfo in AdditionalSystemInterpreterInfo.getPersistingFolder ended up raising a BundleStatusException in the initialization. * Fixed some code formatting issues What is PyDev? --- PyDev is a plugin that enables users to use Eclipse for Python, Jython and IronPython development -- making Eclipse a first class Python IDE -- It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list
Re: L.A. user group?
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. -- http://mail.python.org/mailman/listinfo/python-list
Re: passing multiple string to a command line option
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
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) ... f.closed True jmf What is this io of which you speak? -- I have seen the future and I am not in it. -- http://mail.python.org/mailman/listinfo/python-list
Re: encoding problem with BeautifulSoup - problem when writing parsed text to file
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 by bears -- Edward Gorey, The Gashlycrumb Tinies -- http://mail.python.org/mailman/listinfo/python-list
Re: passing multiple string to a command line option
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 other files. If there is an alternative for doing such thing passing multiple strings to command line option, it is much better. # Regular parameter description. class ParamDesc(object): file_ext = 'ptype' def __init__(self, ptype_str, ptype, *args, **kwargs): self.ptype_str = ptype_str # remember ptype only if it is provided if ptype != None: self.ptype = ptype if args: if len(args) == 1: self.desc = args[0] elif len(args) == 2: self.default = args[0] self.desc = args[1] else: raise TypeError, 'too many arguments' if kwargs.has_key('desc'): assert(not hasattr(self, 'desc')) self.desc = kwargs['desc'] del kwargs['desc'] if kwargs.has_key('default'): assert(not hasattr(self, 'default')) self.default = kwargs['default'] del kwargs['default'] if kwargs: raise TypeError, 'extra unknown kwargs %s' % kwargs if not hasattr(self, 'desc'): raise TypeError, 'desc attribute missing' def __getattr__(self, attr): if attr == 'ptype': ptype = SimObject.allClasses[self.ptype_str] assert isSimObjectClass(ptype) self.ptype = ptype return ptype raise AttributeError, '%s' object has no attribute '%s' % \ (type(self).__name__, attr) def convert(self, value): if isinstance(value, proxy.BaseProxy): value.set_param_desc(self) return value if not hasattr(self, 'ptype') and isNullPointer(value): # deferred evaluation of SimObject; continue to defer if # we're just assigning a null pointer return value if isinstance(value, self.ptype): return value if isNullPointer(value) and isSimObjectClass(self.ptype): return value return self.ptype(value) # LINE 159 def cxx_predecls(self, code): self.ptype.cxx_predecls(code) def swig_predecls(self, code): self.ptype.swig_predecls(code) def cxx_decl(self, code): code('${{self.ptype.cxx_type}} ${{self.name}};') // Naderan *Mahmood; - Original Message - From: Miki Tebeka miki.teb...@gmail.com To: comp.lang.pyt...@googlegroups.com Cc: python mailing list python-list@python.org; Mahmood Naderan nt_mahm...@yahoo.com Sent: Thursday, October 6, 2011 9:55 PM Subject: Re: passing multiple string to a command line option 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
Deleting files on a shared server
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 .lock files in the shared folder and deleting those files when the program is done with them. To delete the files, I am using os.unlink. One lock file refuses to disappear, even though I have code at both application startup and shutdown (on the OnInit and OnExit methods to the wxPython Application object) that hunts down .lock files and deletes them. Is there a better command than os.unlink to delete a file on Windows 2003 server? Josh -- http://mail.python.org/mailman/listinfo/python-list
Re: A tuple in order to pass returned values ?
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 you're doing something else, you're wasting your time. A better thing to do would be to use objects instead of tuples, tuples can serve as lazy structures for small application/script, they can become harmful in more complexe applications, especialy when used in public interfaces. First off, tuples *are* objects, like everything else in Python. If you are creating custom classes *just* to hold state, instead of using a tuple, you are wasting time. Instead of this: class Record: def __init__(self, x, y, z): self.x = x self.y = y self.z = z result = Record(1, 2, 3) Just use a tuple or a namedtuple: the work is already done for you, you have a well-written, fast, rich data structure ready to use. For two or three items, or for short-lived results that only get used once, an ordinary tuple is fine, but otherwise a namedtuple is much better: from collections import namedtuple result = namedtuple('Record', 'x y z')(1, 2, 3) -- Steven -- http://mail.python.org/mailman/listinfo/python-list
Re: Deleting files on a shared server
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 that works by creating .lock files in the shared folder and deleting those files when the program is done with them. To delete the files, I am using os.unlink. How and when? If you are deleting the files using a __del__ handler in an instance, it is quick possible that it is never being run, or not being run when you think it is. For file locking, you should consider using a portable solution like this one: http://code.activestate.com/recipes/65203-portalocker-cross-platform-posixnt-api-for-flock-s/ One lock file refuses to disappear, even though I have code at both application startup and shutdown (on the OnInit and OnExit methods to the wxPython Application object) that hunts down .lock files and deletes them. Perhaps the file is open and so can't be deleted under Windows. Are you getting an exception when you try to unlink the file? If so, what does it say? Is there a better command than os.unlink to delete a file on Windows 2003 server? No. os.unlink is a wrapper around your system's unlink command -- if it can't delete the file, you can't delete the file. -- Steven -- http://mail.python.org/mailman/listinfo/python-list
Re: L.A. user group?
Thanks! -- http://mail.python.org/mailman/listinfo/python-list
Re: Is it possible to create C-style main function in Python? (for teaching purposes)
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 verbosity :) -- http://mail.python.org/mailman/listinfo/python-list
Re: Deleting files on a shared server
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 to open these resources) and in the wxApp.OnExit method. I know both of these methods are being called. The locking mechanism I am using can be found at http://www.evanfosmark.com/2009/01/cross-platform-file-locking-support-in-python/ The clearing code is: import os import fnmatch files = fnmatch.filter(os.listdir(self.Options.DataDir), *.lock) for f in files: os.unlink(os.path.abspath(os.path.join(self.Options.DataDir, f))) The Options object has a property called DataDir. MMM... Now that I sit down to test abso-frikkin'-lutely that this code does what I want it to do, it appears not to do this at all. The files list I build doesn't work and returns an empty list. I may have found a workaround using glob. Now my face is red. -- http://mail.python.org/mailman/listinfo/python-list
database connection
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
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 TypeError: Object [object Event],, has no method 'toJSON',javascript::1) HandleConsoleMessage(Uncaught TypeError: Object [object Event],, has no method 'toJSON',javascript::1) HandleConsoleMessage(Uncaught TypeError: Object [object Event],, has no method 'toJSON',javascript::1) HandleConsoleMessage(Uncaught TypeError: Object [object Event],, has no method 'toJSON',javascript::1) HandleConsoleMessage(Uncaught TypeError: Object [object Event],, has no method 'toJSON',javascript::1) HandleConsoleMessage(Uncaught TypeError: Object [object Event],, has no method 'toJSON',javascript::1) HandleConsoleMessage(Uncaught TypeError: Object [object Event],, has no method 'toJSON',javascript::1) HandleConsoleMessage(Uncaught TypeError: Object [object Event],, has no method 'toJSON',javascript::1) HandleConsoleMessage(Uncaught TypeError: Object [object Event],, has no method 'toJSON',javascript::1) HandleConsoleMessage(Uncaught ReferenceError: loadPortal is not defined,http://content.aptana.com/aptana/my_aptana/? content=startid=83fef29f-0f3d-40db-8b9a-0f417b84cd8cv=3.0.0.1316445268ts=1317965412438fg=f8f8f8p=Obg=141414ch=edeceb: 59) HandleConsoleMessage(AJS.Confluence: run binder components,http:// wiki.appcelerator.org/s/en/2159/26/58/_/download/superbatch/js/ batch.js:436) HandleConsoleMessage(Dropdown width override occurred,http:// wiki.appcelerator.org/s/en/2159/26/58/_/download/superbatch/js/ batch.js:436) HandleConsoleMessage(Dropdown width override occurred,http:// wiki.appcelerator.org/s/en/2159/26/58/_/download/superbatch/js/ batch.js:436) HandleConsoleMessage(Drag and Drop: requesting translation,http:// wiki.appcelerator.org/s/en/2159/26/58/_/download/superbatch/js/ batch.js:436) HandleConsoleMessage(DragAndDropUtils: computed cache URL: /s/en/ 2159/26/1.0.16/_/plugins/drag-and-drop/i18n.action?locale=en_GB,http:// wiki.appcelerator.org/s/en/2159/26/58/_/download/superbatch/js/ batch.js:436) HandleConsoleMessage(Overriding default quick search,http:// wiki.appcelerator.org/s/en/2159/26/58/_/download/superbatch/js/ batch.js:436) HandleConsoleMessage(Applying doc-theme quick search,http:// wiki.appcelerator.org/s/en/2159/26/58/_/download/superbatch/js/ batch.js:436) HandleConsoleMessage(confluence-keyboard-shortcuts initialising,http:// wiki.appcelerator.org/s/en/2159/26/58/_/download/superbatch/js/ batch.js:436) [1007/110047:ERROR:base/native_library_linux.cc(28)] dlopen failed when trying to open /opt/jre1.6.0_20/lib/i386/libnpjp2.so: /opt/ jre1.6.0_20/lib/i386/libnpjp2.so: undefined symbol: __gxx_personality_v0 Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.aptana.usage.StudioAnalytics$1 -- http://mail.python.org/mailman/listinfo/python-list
[issue8668] Packaging: add a 'develop' command
É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 about integration with the install action. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8668 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12344] Add **kwargs to get_reinitialized_command
Changes by Éric Araujo mer...@netwok.org: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12344 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13073] message_body argument of HTTPConnection.endheaders is undocumented
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 socket message args are mentioned). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13073 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12416] packaging needs {pre,post}-{install,remove} hooks
É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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12416 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6715] xz compressor support
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 be too difficult to make one, though: the provided headers are C89, so it's enough to write stubs for the functions used by the extension module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13116] setup.cfg in [sb]dists should be static
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 development dependencies for example, the same argument that makes people include generated HTML docs in sdists). The way to handle that seems simple: sdist runs setup hooks and writes back the modified config object to the setup.cfg file that’s included in sdists and bdists. Command hooks are unaffected, as are post/pre install/remove hooks (to be added in #12416). Another idea would be to split global hooks into two kinds. The code would run the volatile hooks, write the modified config as setup.cfg for *dists, and then run regular hooks. Users installing a *dist will execute the regular hooks. -- assignee: tarek components: Distutils2 messages: 145021 nosy: alexis, eric.araujo, tarek priority: normal severity: normal status: open title: setup.cfg in [sb]dists should be static versions: 3rd party, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13116 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6715] xz compressor support
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6715] xz compressor support
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6715] xz compressor support
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*. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13070] segmentation fault in pure-python multi-threaded server
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13070 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12911] Expose a private accumulator C API
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 Antoine Pitrou in branch 'default': Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists. http://hg.python.org/cpython/rev/656c13024ede -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12911 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12911] Expose a private accumulator C API
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 strings. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12911 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10141] SocketCan support
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10141 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10141] SocketCan support
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10141 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13117] Broken links in the “compiler” page, section “references” from the devguide.
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] (http://www.cs.princeton.edu/%7Edanwang/Papers/dsl97/dsl97.html) are broken. Cheers, francis -- components: Devguide messages: 145030 nosy: francismb priority: normal severity: normal status: open title: Broken links in the “compiler” page, section “references” from the devguide. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13117 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13118] Py_BuildValue format f incorrect description.
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 float to a Python floating point number. since f is not the same as d when converting double to Python float. This was corrected in the documentation of Python 3, from which the proposed description comes. -- assignee: docs@python components: Documentation messages: 145031 nosy: docs@python, felixantoinefortin priority: normal severity: normal status: open title: Py_BuildValue format f incorrect description. versions: Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13118 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10141] SocketCan support
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 http://bugs.python.org/issue10141 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13117] Broken links in the “compiler” page, section “references” from the devguide.
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 http://bugs.python.org/issue13117 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13117] Broken links in the “compiler” page, section “references” from the devguide.
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13117] Broken links in the “compiler” page, section “references” from the devguide.
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 http://bugs.python.org/issue13117 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8037] multiprocessing.Queue's put() not atomic thread wise
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 bug. Agreed. However the solution proposed is a good one since it fixes Issue 10886. In addition it prevents arbitrary code being run in the background thread by weakref callbacks or __del__ methods. Such arbitrary code may cause inconsistent state in a forked process if the fork happens while the queue's thread is running -- see issue 6271. [...] I would suggest closing this issue and letting Issue 10886 take it's place. Makes sense. -- nosy: +neologix resolution: - duplicate stage: test needed - committed/rejected status: open - closed superseder: - Unhelpful backtrace for multiprocessing.Queue ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8037 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3244] multipart/form-data encoding
Changes by Aleksey Frolov atomm...@gmail.com: -- nosy: +atommixz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13117] Broken links in the “compiler” page, section “references” from the devguide.
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13117 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13117] Broken links in the “compiler” page, section “references” from the devguide.
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13119] Newline for print() is \n on Windows, and not \r\n as expected
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 messages: 145039 nosy: M..Z. priority: normal severity: normal status: open title: Newline for print() is \n on Windows, and not \r\n as expected type: behavior versions: Python 3.2 Added file: http://bugs.python.org/file23330/newline.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13119 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13119] Newline for print() is \n on Windows, and not \r\n as expected
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13119] Newline for print() is \n on Windows, and not \r\n as expected
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13120] Default nosigint optionto pdb.Pdb() prevents use in non-main thread
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 /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/pdb.py, line 959, in do_continue signal.signal(signal.SIGINT, self.sigint_handler) ValueError: signal only works in main thread }}} Since the new behaviour seems to be to gain an enhancement rather than anything fundamentally necessary to pdb, wouldn't it be better if the default was reversed, so the same code would work identically on Python 3.1 (and potentially earlier, i.e. Python2) and Python 3.2? At the moment in my codebase (rpcpdb) I'm using inspect.getargspec sniffing for nosigint on pdb.Pdb.__init__ to determine whether to include a nosigint=True parameter, which clearly isn't ideal! -- components: Library (Lib) messages: 145040 nosy: bpb priority: normal severity: normal status: open title: Default nosigint optionto pdb.Pdb() prevents use in non-main thread type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13120 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13120] Default nosigint option to pdb.Pdb() prevents use in non-main thread
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 http://bugs.python.org/issue13120 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path
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': Issue #7367: Fix pkgutil.walk_paths to skip directories whose http://hg.python.org/cpython/rev/1449095397ae New changeset a1e6633ef3f1 by Ned Deily in branch '3.2': Issue #7367: Add test case to test_pkgutil for walking path with http://hg.python.org/cpython/rev/a1e6633ef3f1 New changeset 77bac85f610a by Ned Deily in branch '3.2': Issue #7367: Fix pkgutil.walk_paths to skip directories whose http://hg.python.org/cpython/rev/77bac85f610a New changeset 5a4018570a59 by Ned Deily in branch '3.2': Issue #7367: add NEWS item. http://hg.python.org/cpython/rev/5a4018570a59 New changeset 0408001e4765 by Ned Deily in branch 'default': Issue #7367: merge from 3.2 http://hg.python.org/cpython/rev/0408001e4765 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7367 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7425] Improve the robustness of pydoc -k in the face of broken modules
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': Issue #7425: Prevent pydoc -k failures due to module import errors. http://hg.python.org/cpython/rev/3acf90f71178 New changeset 6a45f917f167 by Ned Deily in branch '3.2': Issue #7425: Refactor test_pydoc test case for '-k' behavior and add http://hg.python.org/cpython/rev/6a45f917f167 New changeset add444274c3d by Ned Deily in branch '2.7': Issue #7425 and Issue #7367: add NEWS items. http://hg.python.org/cpython/rev/add444274c3d -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7425 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path
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 2.7.3), 3.2 (for 3.2.3), and default (for 3.3.0). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7367 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2945] bdist_rpm does not list dist files (should effect upload)
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: http://bugs.python.org/file2/bdist_rpm.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2945 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11250] 2to3 truncates files at formfeed character
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. -- nosy: +barry status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11250 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13105] Please elaborate on how 2.x and 3.x are different heads
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) go: 2.5 - 2.6 - 2.7 3.1 - 3.2 - default General bug fixes (if applicable to both heads) go: 2.7 3.2 - default New features are added to default only The relative ordering of 2.x and 3.x changes doesn't really matter - the important thing is not to merge them in *either* direction. I think you can theoretically do cherry-picking with Hg, but most people seem to just do independent commits to the two streams. If the devguide doesn't align with the above, then a tracker issue pointing that out would be handy :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13105 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch
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 to help with the infrastructure so I can test just this patch, that would be awesome. But I don't think this fix should block on tests given it can easily be tested and verified manually. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7833 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12436] Missing items in installation/setup instructions
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 -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12436 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13119] Newline for print() is \n on Windows, and not \r\n as expected
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: +amaury.forgeotdarc, haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13119 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13118] Py_BuildValue format f incorrect description.
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13118 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12823] Broken link in SSL wrapper for socket objects document
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12602] Missing using docs cross-references
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 tracker rep...@bugs.python.org http://bugs.python.org/issue12602 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13119] Newline for print() is \n on Windows, and not \r\n as expected
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 regards, Morten Zilmer -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13119 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13114] check -r fails with non-ASCII unicode long_description
Кирилл Кузьминых 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 versions: -3rd party, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file23335/check_rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13114] check -r fails with non-ASCII unicode long_description
Changes by Кирилл Кузьминых sai...@mail.ru: -- components: +Distutils2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13114 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12602] Missing using docs cross-references
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12602 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13070] segmentation fault in pure-python multi-threaded server
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13070 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13108] test_urllib: buildbot failure
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 rep...@bugs.python.org http://bugs.python.org/issue13108 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13104] urllib.request.thishost() returns a garbage value
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13104 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13104] urllib.request.thishost() returns a garbage value
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 http://bugs.python.org/issue13104 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12210] test_smtplib: intermittent failures on FreeBSD
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 rep...@bugs.python.org http://bugs.python.org/issue12210 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13070] segmentation fault in pure-python multi-threaded server
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 http://bugs.python.org/issue13070 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2771] Test issue
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: -vsemionov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2771] Test issue
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 http://bugs.python.org/issue2771 ___test attachmentsbr diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst --- a/Doc/library/unicodedata.rst +++ b/Doc/library/unicodedata.rst @@ -29,6 +29,9 @@ Look up character by name. If a character with the given name is found, return the corresponding character. If not found, :exc:`KeyError` is raised. + .. versionchanged:: 3.3 + Support for name aliases [#]_ and named sequences [#]_ has been added. + .. function:: name(chr[, default]) @@ -160,3 +163,9 @@ unicodedata.bidirectional('\u0660') # 'A'rabic, 'N'umber 'AN' + +.. rubric:: Footnotes + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NameAliases.txt + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NamedSequences.txt diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -492,13 +492,13 @@ +-+-+---+ | Escape Sequence | Meaning | Notes | +=+=+===+ -| ``\N{name}``| Character named *name* in the | | +| ``\N{name}``| Character named *name* in the | \(4) | | | Unicode database| | +-+-+---+ -| ``\u`` | Character with 16-bit hex value | \(4) | +| ``\u`` | Character with 16-bit hex value | \(5) | | | ** | | +-+-+---+ -| ``\U`` | Character with 32-bit hex value | \(5) | +| ``\U`` | Character with 32-bit hex value | \(6) | | | ** | | +-+-+---+ @@ -516,10 +516,14 @@ with the given value. (4) + .. versionchanged:: 3.3 + Support for name aliases [#]_ has been added. + +(5) Individual code units which form parts of a surrogate pair can be encoded using this escape sequence. Exactly four hex digits are required. -(5) +(6) Any Unicode character can be encoded this way, but characters outside the Basic Multilingual Plane (BMP) will be encoded using a surrogate pair if Python is compiled to use 16-bit code units (the default). Exactly eight hex digits @@ -706,3 +710,8 @@ occurrence outside string literals and comments is an unconditional error:: $ ? ` + + +.. rubric:: Footnotes + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NameAliases.txt diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py --- a/Lib/test/test_ucn.py +++ b/Lib/test/test_ucn.py @@ -8,8 +8,11 @@ # import unittest +import unicodedata from test import support +from http.client import HTTPException +from test.test_normalization import check_version class UnicodeNamesTest(unittest.TestCase): @@ -59,8 +62,6 @@ ) def test_ascii_letters(self): -import unicodedata - for char in .join(map(chr, range(ord(a), ord(z: name = LATIN SMALL LETTER %s % char.upper() code = unicodedata.lookup(name) @@ -81,7 +82,6 @@ self.checkletter(HANGUL SYLLABLE HWEOK, \ud6f8) self.checkletter(HANGUL SYLLABLE HIH, \ud7a3) -import unicodedata self.assertRaises(ValueError, unicodedata.name, \ud7a4) def test_cjk_unified_ideographs(self): @@ -97,14 +97,11 @@ self.checkletter(CJK UNIFIED IDEOGRAPH-2B81D, \U0002B81D) def test_bmp_characters(self): -import unicodedata -count = 0 for code in range(0x1): char = chr(code) name = unicodedata.name(char, None) if name is not None: self.assertEqual(unicodedata.lookup(name), char) -count += 1 def test_misc_symbols(self): self.checkletter(PILCROW SIGN, \u00b6) @@ -112,8 +109,65 @@ self.checkletter(HALFWIDTH KATAKANA SEMI-VOICED SOUND MARK, \uFF9F) self.checkletter(FULLWIDTH LATIN SMALL LETTER A, \uFF41) +def test_aliases(self): +# Check that the aliases defined in the NameAliases.txt file work. +# This should be updated when new aliases are added or the file +# should be downloaded and parsed instead. See #12753. +aliases = [ +('LATIN CAPITAL LETTER GHA', 0x01A2), +('LATIN SMALL LETTER GHA', 0x01A3), +('KANNADA LETTER LLLA', 0x0CDE), +('LAO LETTER FO FON', 0x0E9D), +('LAO
[issue2771] Test issue
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 ___diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst --- a/Doc/library/unicodedata.rst +++ b/Doc/library/unicodedata.rst @@ -29,6 +29,9 @@ Look up character by name. If a character with the given name is found, return the corresponding character. If not found, :exc:`KeyError` is raised. + .. versionchanged:: 3.3 + Support for name aliases [#]_ and named sequences [#]_ has been added. + .. function:: name(chr[, default]) @@ -160,3 +163,9 @@ unicodedata.bidirectional('\u0660') # 'A'rabic, 'N'umber 'AN' + +.. rubric:: Footnotes + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NameAliases.txt + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NamedSequences.txt diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -492,13 +492,13 @@ +-+-+---+ | Escape Sequence | Meaning | Notes | +=+=+===+ -| ``\N{name}``| Character named *name* in the | | +| ``\N{name}``| Character named *name* in the | \(4) | | | Unicode database| | +-+-+---+ -| ``\u`` | Character with 16-bit hex value | \(4) | +| ``\u`` | Character with 16-bit hex value | \(5) | | | ** | | +-+-+---+ -| ``\U`` | Character with 32-bit hex value | \(5) | +| ``\U`` | Character with 32-bit hex value | \(6) | | | ** | | +-+-+---+ @@ -516,10 +516,14 @@ with the given value. (4) + .. versionchanged:: 3.3 + Support for name aliases [#]_ has been added. + +(5) Individual code units which form parts of a surrogate pair can be encoded using this escape sequence. Exactly four hex digits are required. -(5) +(6) Any Unicode character can be encoded this way, but characters outside the Basic Multilingual Plane (BMP) will be encoded using a surrogate pair if Python is compiled to use 16-bit code units (the default). Exactly eight hex digits @@ -706,3 +710,8 @@ occurrence outside string literals and comments is an unconditional error:: $ ? ` + + +.. rubric:: Footnotes + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NameAliases.txt diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py --- a/Lib/test/test_ucn.py +++ b/Lib/test/test_ucn.py @@ -8,8 +8,11 @@ # import unittest +import unicodedata from test import support +from http.client import HTTPException +from test.test_normalization import check_version class UnicodeNamesTest(unittest.TestCase): @@ -59,8 +62,6 @@ ) def test_ascii_letters(self): -import unicodedata - for char in .join(map(chr, range(ord(a), ord(z: name = LATIN SMALL LETTER %s % char.upper() code = unicodedata.lookup(name) @@ -81,7 +82,6 @@ self.checkletter(HANGUL SYLLABLE HWEOK, \ud6f8) self.checkletter(HANGUL SYLLABLE HIH, \ud7a3) -import unicodedata self.assertRaises(ValueError, unicodedata.name, \ud7a4) def test_cjk_unified_ideographs(self): @@ -97,14 +97,11 @@ self.checkletter(CJK UNIFIED IDEOGRAPH-2B81D, \U0002B81D) def test_bmp_characters(self): -import unicodedata -count = 0 for code in range(0x1): char = chr(code) name = unicodedata.name(char, None) if name is not None: self.assertEqual(unicodedata.lookup(name), char) -count += 1 def test_misc_symbols(self): self.checkletter(PILCROW SIGN, \u00b6) @@ -112,8 +109,65 @@ self.checkletter(HALFWIDTH KATAKANA SEMI-VOICED SOUND MARK, \uFF9F) self.checkletter(FULLWIDTH LATIN SMALL LETTER A, \uFF41) +def test_aliases(self): +# Check that the aliases defined in the NameAliases.txt file work. +# This should be updated when new aliases are added or the file +# should be downloaded and parsed instead. See #12753. +aliases = [ +('LATIN CAPITAL LETTER GHA', 0x01A2), +('LATIN SMALL LETTER GHA', 0x01A3), +('KANNADA LETTER LLLA', 0x0CDE), +('LAO LETTER FO FON', 0x0E9D), +('LAO LETTER FO FAY', 0x0E9F), +('LAO LETTER RO', 0x0EA3), +
[issue2771] Test issue
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 http://bugs.python.org/issue2771 ___test attachmentsbr brbr diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst --- a/Doc/library/unicodedata.rst +++ b/Doc/library/unicodedata.rst @@ -29,6 +29,9 @@ Look up character by name. If a character with the given name is found, return the corresponding character. If not found, :exc:`KeyError` is raised. + .. versionchanged:: 3.3 + Support for name aliases [#]_ and named sequences [#]_ has been added. + .. function:: name(chr[, default]) @@ -160,3 +163,9 @@ unicodedata.bidirectional('\u0660') # 'A'rabic, 'N'umber 'AN' + +.. rubric:: Footnotes + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NameAliases.txt + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NamedSequences.txt diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -492,13 +492,13 @@ +-+-+---+ | Escape Sequence | Meaning | Notes | +=+=+===+ -| ``\N{name}``| Character named *name* in the | | +| ``\N{name}``| Character named *name* in the | \(4) | | | Unicode database| | +-+-+---+ -| ``\u`` | Character with 16-bit hex value | \(4) | +| ``\u`` | Character with 16-bit hex value | \(5) | | | ** | | +-+-+---+ -| ``\U`` | Character with 32-bit hex value | \(5) | +| ``\U`` | Character with 32-bit hex value | \(6) | | | ** | | +-+-+---+ @@ -516,10 +516,14 @@ with the given value. (4) + .. versionchanged:: 3.3 + Support for name aliases [#]_ has been added. + +(5) Individual code units which form parts of a surrogate pair can be encoded using this escape sequence. Exactly four hex digits are required. -(5) +(6) Any Unicode character can be encoded this way, but characters outside the Basic Multilingual Plane (BMP) will be encoded using a surrogate pair if Python is compiled to use 16-bit code units (the default). Exactly eight hex digits @@ -706,3 +710,8 @@ occurrence outside string literals and comments is an unconditional error:: $ ? ` + + +.. rubric:: Footnotes + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NameAliases.txt diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py --- a/Lib/test/test_ucn.py +++ b/Lib/test/test_ucn.py @@ -8,8 +8,11 @@ # import unittest +import unicodedata from test import support +from http.client import HTTPException +from test.test_normalization import check_version class UnicodeNamesTest(unittest.TestCase): @@ -59,8 +62,6 @@ ) def test_ascii_letters(self): -import unicodedata - for char in .join(map(chr, range(ord(a), ord(z: name = LATIN SMALL LETTER %s % char.upper() code = unicodedata.lookup(name) @@ -81,7 +82,6 @@ self.checkletter(HANGUL SYLLABLE HWEOK, \ud6f8) self.checkletter(HANGUL SYLLABLE HIH, \ud7a3) -import unicodedata self.assertRaises(ValueError, unicodedata.name, \ud7a4) def test_cjk_unified_ideographs(self): @@ -97,14 +97,11 @@ self.checkletter(CJK UNIFIED IDEOGRAPH-2B81D, \U0002B81D) def test_bmp_characters(self): -import unicodedata -count = 0 for code in range(0x1): char = chr(code) name = unicodedata.name(char, None) if name is not None: self.assertEqual(unicodedata.lookup(name), char) -count += 1 def test_misc_symbols(self): self.checkletter(PILCROW SIGN, \u00b6) @@ -112,8 +109,65 @@ self.checkletter(HALFWIDTH KATAKANA SEMI-VOICED SOUND MARK, \uFF9F) self.checkletter(FULLWIDTH LATIN SMALL LETTER A, \uFF41) +def test_aliases(self): +# Check that the aliases defined in the NameAliases.txt file work. +# This should be updated when new aliases are added or the file +# should be downloaded and parsed instead. See #12753. +aliases = [ +('LATIN CAPITAL LETTER GHA', 0x01A2), +('LATIN SMALL LETTER GHA', 0x01A3), +('KANNADA LETTER LLLA', 0x0CDE), +('LAO LETTER FO FON', 0x0E9D), +
[issue2771] Test issue
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 http://bugs.python.org/issue2771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6715] xz compressor support
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 necessary, but I don't know how receptive the upstream maintainer will be to the changes. If I can explain how lack of VS support is a problem for us, the request should carry more weight. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9442] Update sys.version doc
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9442 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9442] Update sys.version doc
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9442 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12167] test_packaging reference leak
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 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12167 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12222] All pysetup commands should respect exit codes
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 status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11841] Bug in the verson comparison
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11841 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13105] Please elaborate on how 2.x and 3.x are different heads
É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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13105] Please elaborate on how 2.x and 3.x are different heads
Changes by Éric Araujo mer...@netwok.org: -- assignee: - eric.araujo versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13105 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11841] Bug in the verson comparison
É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 rep...@bugs.python.org http://bugs.python.org/issue11841 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13073] message_body argument of HTTPConnection.endheaders is undocumented
É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 rep...@bugs.python.org http://bugs.python.org/issue13073 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12167] test_packaging reference leak
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13070] segmentation fault in pure-python multi-threaded server
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 (test_rwpair_cleared_before_textio) crashes 2.7, the fix should be applied. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13070 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com