Hello Python Community.
I'm pleased to announce pyxser-1.5r, a python extension which
contains functions to serialize and deserialize Python Objects
into XML. It is a model based serializer.
What can do this serializer?
* Serialization of cross references.
* Serialization of circular
It is with *great* pleasure that I email to announce the release of
Cython version 0.13! This release sets another milestone on the path
towards Python compatibility and brings major new features and
improvements for the usability of the Cython language.
Download it here:
Hi All,
What's on:-
- Buildout by Diarmuid Bourke
- Python for Cloud Computing by Alan Kennedy
- Lightning talks
- Pub TBD afterwards
The event is open for all and it's free.
More details at:
http://www.python.ie/meetup/2010/sept_2010_talks__the_science_gallery/
Cheers,
/// Vicky
The third edition of the web2py book is out:
http://www.lulu.com/product/paperback/web2py-%283rd-edition%29/12199578
also available in pDF and online for free in html at http://web2py.com/book
It includes documentation about many features not documented in the
2nd edition including:
-
Hi durumdara,
On 2010-08-24 16:29, Stefan Schwarzer wrote:
I experienced some problem.
The server is Windows and FileZilla, the client is Win7 and Python2.6.
When I got a file with size 1 303 318 662 byte, python is halt on
retrbinary line everytime.
So if I understand correctly, the
games
GAME 1
http://freeonlingamesplay.blogspot.com/2010/08/game-1.html
GAME 2
http://freeonlingamesplay.blogspot.com/2010/08/game-2.html
GAME 3
http://freeonlingamesplay.blogspot.com/2010/08/game-3.html
GAME 4
http://freeonlingamesplay.blogspot.com/2010/08/game-4.html
GAME 5
Hi!
So if I understand correctly, the script works well on
smaller files but not on the large one?
Yes. 500-800 MB is ok. 1 GB is not ok.
It down all of the file (100%) but the next line never reached.
_Which_ line is never reached? The `print` statement after
the `retrbinary` call?
In message
45faa241-620e-42c7-b524-949936f63...@f6g2000yqa.googlegroups.com, Alex
Willmer wrote:
Dateutil has it's own timezone database ...
I hate code which doesn’t just use /usr/share/zoneinfo. How many places do
you need to patch every time somebody changes their daylight-saving rules?
--
vsoler vicente.so...@gmail.com wrote in message
news:3d85d8f5-8ce0-470f-b6ec-c86c452a3...@a36g2000yqc.googlegroups.com...
On Aug 24, 1:33 am, Martin v. Loewis mar...@v.loewis.de wrote:
When I am logged-in in a session as an administrator, the BAT file on
the Desktop, and I double-click on
Steven D'Aprano st...@remove-this-cybersource.com.au wrote in message
news:4c6f8edd$0$28653$c3e8...@news.astraweb.com...
On Fri, 20 Aug 2010 17:23:23 +0200, Bruno Desthuilliers wrote:
I onced worked in a shop (Win32 desktop / accouting applications mainly)
where I was the only guy that could
Hi!
On aug. 25, 08:07, Stefan Schwarzer sschwar...@sschwarzer.net wrote:
The file is 2 GB in size and is fully transferred, without
blocking or an error message. The status message from the
server is '226-File successfully transferred\n226 31.760
seconds (measured here), 64.48 Mbytes per
Hi durumdara,
On 2010-08-25 09:43, durumdara wrote:
I can imagine the error message (a full traceback if
possible) would help to say a bit more about the cause of
the problem and maybe what to do about it.
This was:
Filename: Repositories 20100824_101805 (Teljes).zip Size: 1530296127
Just curious if anyone had the chance to build pypy on a 64bit
environment and to see if it really makes a huge difference in
performance. Would like to hear some thoughts (or alternatives).
I'd recommend asking about this on the pypy mailing list or looking at
their documentation first; see
Hugh Aguilar hughaguila...@yahoo.com writes:
On Aug 24, 5:16 pm, Paul Rubin no.em...@nospam.invalid wrote:
Anyway, as someone else once said, studying a subject like CS isn't done
by reading. It's done by writing out answers to problem after problem.
Unless you've been doing that, you
Tim Daneliuk a écrit :
On 8/19/2010 7:23 PM, Steven D'Aprano wrote:
On Thu, 19 Aug 2010 18:27:11 -0500, Tim Daneliuk wrote:
Problem:
Given tuples in the form (key, string), use 'key' to determine what
string method to apply to the string:
table = {'l': str.lower, 'u': str.upper}
On Aug 25, 8:48 am, Lawrence D'Oliveiro l...@geek-
central.gen.new_zealand wrote:
In message
45faa241-620e-42c7-b524-949936f63...@f6g2000yqa.googlegroups.com, Alex
Willmer wrote:
Dateutil has it's own timezone database ...
I hate code which doesn’t just use /usr/share/zoneinfo. How many
On Tue, 24 Aug 2010, Jean-Michel Pichavant wrote:
John O'Hagan wrote:
I want to know the best way to organise a bunch of functions designed to
operate on instances of a given class without cluttering the class itself
with a bunch of unrelated methods.
What I've done is make what I
On 25 Aug, 01:00, Hugh Aguilar hughaguila...@yahoo.com wrote:
On Aug 24, 4:17 pm, Richard Owlett rowl...@pcnetinc.com wrote:
Hugh Aguilar wrote:
[SNIP ;]
The real problem here is that C, Forth and C++ lack automatic garbage
collection. If I have a program in which I have to worry
Hi durumdara,
On 2010-08-25 11:18, durumdara wrote:
On aug. 25, 08:07, Stefan Schwarzer sschwar...@sschwarzer.net wrote:
The file is 2 GB in size and is fully transferred, without
blocking or an error message. The status message from the
server is '226-File successfully transferred\n226
Simple hack to get* $5000 * to your Paypal account At
http://moneyforwarding.co.cc
i have hidden the Paypal Form link in an image. in that website on
Right Side below search box, click on image and enter your name and
Paypal ID.
--
http://mail.python.org/mailman/listinfo/python-list
Simple class to wrap the xlwt module for COM access
pyXLS.py:
from xlwt import Workbook
class WrapXLS:
_reg_clsid_ = {c94df6f0-b001-11df-8d63-00e09103a9a0}
_reg_desc_ = XLwt wrapper
_reg_progid_ = PyXLS.Write
_public_methods_ =
Alex McDonald b...@rivadpm.com writes:
Your example of writing code with
memory leaks *and not caring because it's a waste of your time* makes
me think that you've never been a programmer of any sort. Ever.
Well, I find his approach towards memory leaks as described in
Hi,
I run today into some problems with my code and I realized that there
is something in the behaviours of the @staticmethod that I don't
really understand. I don't know if it is an error or not, actually,
only that it was, definitely, unexpected.
I wrote a small demo of what happens.
The
On Aug 25, 3:03 pm, Samu samufuen...@gmail.com wrote:
Hi,
I run today into some problems with my code and I realized that there
is something in the behaviours of the @staticmethod that I don't
really understand. I don't know if it is an error or not, actually,
only that it was, definitely,
Samu wrote:
Hi,
I run today into some problems with my code and I realized that there
is something in the behaviours of the @staticmethod that I don't
really understand. I don't know if it is an error or not, actually,
only that it was, definitely, unexpected.
I wrote a small demo of
On Aug 24, 5:29 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Tue, Aug 24, 2010 at 3:31 PM, Darren Dale dsdal...@gmail.com wrote:
On Aug 23, 9:58 am, Darren Dale dsdal...@gmail.com wrote:
The following script runs without problems on Ubuntu and Windows 7.
h5py is a package wrapping
Thanks mucho! That was it!
-- Steve Ferg
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 24, 4:32 pm, Thomas Jollans tho...@jollybox.de wrote:
On Tuesday 24 August 2010, it occurred to Darren Dale to exclaim:
On Aug 23, 9:58 am, Darren Dale dsdal...@gmail.com wrote:
The following script runs without problems on Ubuntu and Windows 7.
h5py is a package wrapping the
On Aug 25, 3:26 pm, Peter Otten __pete...@web.de wrote:
Samu wrote:
Hi,
I run today into some problems with my code and I realized that there
is something in the behaviours of the @staticmethod that I don't
really understand. I don't know if it is an error or not, actually,
only that
Hi all,
I'd like to hear from you on the benefits of using numpy.power(x,y)
over (x*x*x*x..)
I looks to me that numpy.power takes more time to run.
cheers
Carlos
--
http://mail.python.org/mailman/listinfo/python-list
On 25/08/2010 14:59, Carlos Grohmann wrote:
Hi all,
I'd like to hear from you on the benefits of using numpy.power(x,y)
over (x*x*x*x..)
I looks to me that numpy.power takes more time to run.
cheers
Carlos
Measure it yourself using the timeit module.
Cheers.
Mark Lawrence.
--
Hi,
I cross-compiled Python2.4 for ARM (Linux 2.6.30) in order to run
autotest-client-xxx on my ARM target.
When I run autotest on ARM target I get ImportError: No module named time
Which package I need to install to add support for time module.
# bin/autotest samples/filesystem
Traceback (most
On Aug 25, 7:12 am, nanothermite911fbibustards
nanothermite911fbibusta...@gmail.com wrote:
CRIMINAL YanQui MARINES Cesar Laurean Regularly RAPE GIRLS Maria
Lauterbach and KILL THEM
Is he a Jew or a white Anglo Saxon race ? or a Southern Baptist
Bustard who
The girl was a German like the one
Samu wrote:
the concept sticks. But why does it have a different behaviour the
staticmethod with the rights3 case then?
Moving from staticmethod to standalone function doesn't affect the output.
You have inadvertently changed something else.
Peter
--
On 19 Aug, 16:25, c...@tiac.net (Richard Harter) wrote:
On Wed, 18 Aug 2010 01:39:09 -0700 (PDT), Nick Keighley
nick_keighley_nos...@hotmail.com wrote:
On 17 Aug, 18:34, Standish P stnd...@gmail.com wrote:
How are these heaps being implemented ? Is there some illustrative
code or a book
Carlos Grohmann carlos.grohm...@gmail.com writes:
I'd like to hear from you on the benefits of using numpy.power(x,y)
over (x*x*x*x..)
I looks to me that numpy.power takes more time to run.
You can use math.pow, which is no slower than repeated multiplication,
even for small exponents.
On Aug 25, 4:32 pm, Peter Otten __pete...@web.de wrote:
Samu wrote:
the concept sticks. But why does it have a different behaviour the
staticmethod with the rights3 case then?
Moving from staticmethod to standalone function doesn't affect the output.
You have inadvertently changed
On Aug 18, 9:20 pm, Margie Roginski margierogin...@gmail.com wrote:
Hi,
I am using unittest in a fairly basic way, where I have a single file
that simply defines a class that inherits from unittest.TestCase and
then within that class I have a bunch of methods that start with
test. Within
On Wed, Aug 25, 2010 at 10:59 PM, Carlos Grohmann
carlos.grohm...@gmail.com wrote:
Hi all,
I'd like to hear from you on the benefits of using numpy.power(x,y)
over (x*x*x*x..)
Without more context, I would say None if x*x*x*x*... works and you
are not already using numpy. The point of numpy
On 25 ago, 12:40, David Cournapeau courn...@gmail.com wrote:
On Wed, Aug 25, 2010 at 10:59 PM, Carlos Grohmann
Thanks David and Hrvoje. That was the feedback I was looking for.
I am using numpy in my app but in some cases I will use math.pow(),
as some tests with timeit showed that numpy.power
On Aug 24, 4:32 pm, Thomas Jollans tho...@jollybox.de wrote:
On Tuesday 24 August 2010, it occurred to Darren Dale to exclaim:
On Aug 23, 9:58 am, Darren Dale dsdal...@gmail.com wrote:
The following script runs without problems on Ubuntu and Windows 7.
h5py is a package wrapping the
On 8/25/10 8:59 AM, Carlos Grohmann wrote:
Hi all,
I'd like to hear from you on the benefits of using numpy.power(x,y)
over (x*x*x*x..)
I looks to me that numpy.power takes more time to run.
You will want to ask numpy questions on the numpy mailing list:
http://www.scipy.org/Mailing_Lists
On Wed, 25 Aug 2010 06:59:36 -0700 (PDT), Carlos Grohmann wrote:
I'd like to hear from you on the benefits of using numpy.power(x,y)
over (x*x*x*x..)
Using the dis package under Python 2.5, I see that
computing x_to_the_16 = x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x uses
15 multiplies. I hope
I have a multi-threaded application where several of the threads need to write
to a serial port that's being handled by pySerial. If pySerial thread-safe in
the sense that pySerial.write behaves atomically? I.e., if thread 1 executes,
serport.write(Hello, world!) and thread 2 executes
On Wednesday 25 August 2010, it occurred to Joel Koltner to exclaim:
I have a multi-threaded application where several of the threads need to
write to a serial port that's being handled by pySerial. If pySerial
thread-safe in the sense that pySerial.write behaves atomically? I.e., if
thread
On 25/08/2010 19:36, Joel Koltner wrote:
I have a multi-threaded application where several of the threads need to
write to a serial port that's being handled by pySerial. If pySerial
thread-safe in the sense that pySerial.write behaves atomically? I.e.,
if thread 1 executes, serport.write(Hello,
Thomas Jollans tho...@jollybox.de wrote in message
news:mailman.36.1282762569.29448.python-l...@python.org...
I expect that it gives away the GIL to call the resident write() function,
to
allow other threads to run while it's sitting there, blocking. I haven't
looked at the code, so maybe it
Hi, I'm seeking help with a fairly simple string processing task.
I've simplified what I'm actually doing into a hypothetical
equivalent.
Suppose I want to take a word in Spanish, and divide it into
individual letters. The problem is that there are a few 2-character
combinations that are
On 8/24/2010 10:15 AM, Dani Valverde wrote:
Hello!
I am working on a GUI to connect to a MySQL database using MySQLdb (code
in attached file). I define the cursor in lines 55-66 in the OnLogin
function within the LoginDlg class.
/db= MySQLdb.connect(host='localhost', user=Username , passwd=pwd,
On Aug 24, 8:00 pm, Hugh Aguilar hughaguila...@yahoo.com wrote:
The C programmers reading this are likely wondering why I'm being
attacked. The reason is that Elizabeth Rather has made it clear to
everybody that this is what she wants: [http://tinyurl.com/2bjwp7q]
Hello to those outside of
On 8/25/2010 11:36 AM, Joel Koltner wrote:
I have a multi-threaded application where several of the threads need to
write to a serial port that's being handled by pySerial. If pySerial
thread-safe in the sense that pySerial.write behaves atomically? I.e.,
if thread 1 executes,
2010/8/25 Jed jedmelt...@gmail.com:
Hi, I'm seeking help with a fairly simple string processing task.
I've simplified what I'm actually doing into a hypothetical
equivalent.
Suppose I want to take a word in Spanish, and divide it into
individual letters. The problem is that there are a few
Jed writes:
alphabet = ['a','b','c','ch','d','u','r','rr','o'] #this would
include the whole alphabet but I shortened it here
theword = 'churro'
I would like to split the string 'churro' into a list containing:
'ch','u','rr','o'
All non-overlapping matches, each as long as can be, and
On 25/08/2010 20:46, Jed wrote:
Hi, I'm seeking help with a fairly simple string processing task.
I've simplified what I'm actually doing into a hypothetical
equivalent.
Suppose I want to take a word in Spanish, and divide it into
individual letters. The problem is that there are a few
On 08/25/10 14:46, Jed wrote:
Hi, I'm seeking help with a fairly simple string processing task.
I've simplified what I'm actually doing into a hypothetical
equivalent.
Suppose I want to take a word in Spanish, and divide it into
individual letters. The problem is that there are a few
On Wednesday 25 August 2010, it occurred to Jed to exclaim:
Hi, I'm seeking help with a fairly simple string processing task.
I've simplified what I'm actually doing into a hypothetical
equivalent.
Suppose I want to take a word in Spanish, and divide it into
individual letters. The problem
Hi John,
John Nagle na...@animats.com wrote in message
news:4c75768a$0$1608$742ec...@news.sonic.net...
You don't need a queue, though; just use your own write function
with a lock.
Hmm... that would certainly work. I suppose it's even more efficient than a
queue in that the first thing
On Aug 24, 9:05 pm, Hugh Aguilar hughaguila...@yahoo.com wrote:
What about using what I learned to write programs that work?
Does that count for anything?
It obviously counts, but it's not the only thing that matters. Where
I'm employed, I am currently managing a set of code that works but
the
Jed wrote:
Hi, I'm seeking help with a fairly simple string processing task.
I've simplified what I'm actually doing into a hypothetical
equivalent.
Suppose I want to take a word in Spanish, and divide it into
individual letters. The problem is that there are a few 2-character
combinations that
On Aug 25, 1:44 pm, John Passaniti john.passan...@gmail.com wrote:
On Aug 24, 9:05 pm, Hugh Aguilar hughaguila...@yahoo.com wrote:
What about using what I learned to write programs that work?
Does that count for anything?
It obviously counts, but it's not the only thing that matters.
Peter Pearson wrote:
On Wed, 25 Aug 2010 06:59:36 -0700 (PDT), Carlos Grohmann wrote:
I'd like to hear from you on the benefits of using numpy.power(x,y)
over (x*x*x*x..)
Using the dis package under Python 2.5, I see that
computing x_to_the_16 =
Hi All
Is there anyway in a class to overload the print function?
class foo_class():
pass
cc = foo_class()
print cc
Gives:
__main__.foo_class instance at
Can I do something like:
class foo_class():
def __print__(self):
print hello
cc = foo_class()
print cc
John Passaniti john.passan...@gmail.com writes:
On Aug 24, 8:00 pm, Hugh Aguilar hughaguila...@yahoo.com wrote:
The C programmers reading this are likely wondering why I'm being
attacked. The reason is that Elizabeth Rather has made it clear to
everybody that this is what she wants:
On 25 Aug, 22:18, Ross Williamson rosswilliamson@gmail.com
wrote:
Is there anyway in a class to overload the print function?
class foo_class():
pass
cc = foo_class()
print cc
Gives:
__main__.foo_class instance at
Can I do something like:
class foo_class():
On Wed, Aug 25, 2010 at 2:18 PM, Ross Williamson
rosswilliamson@gmail.com wrote:
Hi All
Is there anyway in a class to overload the print function?
class foo_class():
pass
cc = foo_class()
print cc
Gives:
__main__.foo_class instance at
Can I do something like:
class
On Wed, 25 Aug 2010 16:18:15 -0500
Ross Williamson rosswilliamson@gmail.com wrote:
Hi All
Is there anyway in a class to overload the print function?
Your terminology threw me off for a moment. You don't want to override
print. You want to override the default representation of an
Ross Williamson wrote:
Hi All
Is there anyway in a class to overload the print function?
In Python = 2.x print is a statement and thus can't be
overloaded. That's exactly the reason, why Python 3 has turned
print into a function.
class foo_class():
def __print__(self):
On Wed, Aug 25, 2010 at 2:23 PM, Glenn Hutchings zond...@gmail.com wrote:
On 25 Aug, 22:18, Ross Williamson rosswilliamson@gmail.com
wrote:
Is there anyway in a class to overload the print function?
class foo_class():
pass
cc = foo_class()
print cc
Gives:
All,
I’m having a problem with the matplotlib.pyplot.contourf function. I
have a 1-D array of latitudes (mesolat), a 1-D array of longitudes
(mesolon), and a 1-D array of rainfall values (rain) at those
corresponding lat, lon points. After importing the necessary
libraries, and reading in these
On Aug 25, 4:57 pm, becky_s rda.se...@gmail.com wrote:
All,
I’m having a problem with the matplotlib.pyplot.contourf function. I
have a 1-D array of latitudes (mesolat), a 1-D array of longitudes
(mesolon), and a 1-D array of rainfall values (rain) at those
corresponding lat, lon points.
On Aug 25, 5:01 pm, Joshua Maurice joshuamaur...@gmail.com wrote:
I agree. Sadly, with managers, especially non-technical
managers, it's hard to make this case when the weasel
guy says See! It's working..
Actually, it's not that hard. The key to communicating the true cost
of software
On Aug 25, 4:01 pm, John Passaniti john.passan...@gmail.com wrote:
On Aug 25, 5:01 pm, Joshua Maurice joshuamaur...@gmail.com wrote:
I agree. Sadly, with managers, especially non-technical
managers, it's hard to make this case when the weasel
guy says See! It's working..
Actually, it's
On 08/25/10 14:46, Jed wrote:
I would like to split the string 'churro' into a list containing:
'ch','u','rr','o'
Dirt simple, straightforward, easily generalized solution:
def sp_split(s):
n,i,ret = len(s), 0, []
while i n:
s2 = s[i:i+2]
if s2 in ('ch', 'll',
On 25/08/2010 10:33 PM, Paul Hemans wrote:
File C:\development\PyXLS\pyXLS.py, line 13, in createSheet
def createBook(self):
AttributeError: WrapXLS instance has no attribute '_book'
pythoncom error: Python error invoking COM method.
Can anyone help?
That line seems an unlikely source
Yes, that was it. I just needed to restart the host process.
Thanks
Mark Hammond skippy.hamm...@gmail.com wrote in message
news:mailman.51.1282784920.29448.python-l...@python.org...
On 25/08/2010 10:33 PM, Paul Hemans wrote:
File C:\development\PyXLS\pyXLS.py, line 13, in createSheet
OBAMA created by the CIA - Proofs by Wayne Madsen, the Investigative
Journalist - Obama's StepMother Ruth Niedesand and two StepBrothers
are JEW
OBAMA family are CIA agents or employees
http://www.presstv.ir/detail/140093.html
http://www.voltairenet.org/article166741.html
Special Report
The
Hi
So here is my problem:
I have my render files that are into a directory like this:
c:\log\renderfiles\HPO7_SEQ004_031_VDM_DIF_V001.0001.exr
c:\log\renderfiles\HPO7_SEQ004_031_VDM_DIF_V001.0002.exr
c:\log\renderfiles\HPO7_SEQ004_031_VDM_DIF_V001.0003.exr
Florent Xicluna florent.xicl...@gmail.com added the comment:
Hi Daniel,
there's a test failure which is related with r84307 on windows buildbot.
==
FAIL: test_cw_strings (ctypes.test.test_parameters.SimpleTypesTestCase)
New submission from Martin v. Löwis mar...@v.loewis.de:
Copy of issue 1027206; support in the socket module was provided, but this
request remains:
Also other modules should support unicode hostnames.
(httplib already does) but urllib and urllib2 don't.
--
components: Library (Lib),
Changes by Tim Golden m...@timgolden.me.uk:
--
assignee: - tim.golden
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1559298
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I have now committed file 18615 as r84313: thanks for the patch.
I have split this issue into two: this one is only about the socket module, and
#9679 carries any remaining features (it would be good if we have only one bug
per bug
Martin v. Löwis mar...@v.loewis.de added the comment:
From msg60564: it's not clear to me what this request really means. It could
mean that Python should support IRIs, but then, I'm not sure whether this
support can be in urllib, or whether a separate library would be needed.
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
test_sys is still failing on my system where LC_CTYPE
only is set to utf-8
Oh yes, test_sys fails if LC_ALL or LC_CTYPE is a locale using a different
encoding than ascii (eg. LC_ALL=fr_FR.utf8). Fixed by r84314.
--
Ask Solem a...@opera.com added the comment:
On closer look your patch is also ignoring SystemExit. I think it's beneficial
to honor SystemExit, so a user could use this as a means to replace the current
process with a new one.
If we keep that behavior, the real problem here is that the
result
Changes by Tim Golden m...@timgolden.me.uk:
--
assignee: - tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2528
___
___
Python-bugs-list
Carsten Klein carsten.kl...@axn-software.de added the comment:
Thanks for the information. Where is this documented? I cannot find it in the
official Python docs... TIA.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9659
New submission from Carsten Klein carsten.kl...@axn-software.de:
Example
class Meta(type):
def __new__(cls, name, bases, locals):
print repr(locals.keys())
class Test(object):
__metaclass__ = Meta
A = 1
B = 2
C = 3
D = 4
E = 5
The above will yield the
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
Thanks, I will take a look sometime today.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8781
___
Kees Bos k@zx.nl added the comment:
Added fix for python 2.7, which includes a test (testDictWithTupleKey) for the
compiler test (Lib/test/test_compiler.py).
--
status: pending - open
Added file: http://bugs.python.org/file18642/compiler-bug-issue6978.patch
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
The underlying problem here is that SIZEOF_WCHAR_T is not defined in pyconfig.h
on Windows. My patch assumed that it would be defined on all platforms where
HAVE_WCHAR_H is defined (I had checked ./configure, but forgotten
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
Adding other Windows developers to the nosy list. See msg114893 where your
input would be helpful.
--
nosy: +brian.curtin, tim.golden
___
Python tracker rep...@bugs.python.org
Marc-Andre Lemburg m...@egenix.com added the comment:
Daniel Stutzbach wrote:
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
The underlying problem here is that SIZEOF_WCHAR_T is not defined in
pyconfig.h on Windows. My patch assumed that it would be defined on all
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
On Windows, the Python headers define HAVE_USABLE_WCHAR_T and Py_UNICODE_SIZE
2, so we are already relying on sizeof(wchar_t) == 2 on Windows.
My patch ran into trouble because it inadvertently disabled that assumption in
a
Holger Joukl jh...@gmx.de added the comment:
Holger, sorry your work has to be rejected.
No harm done - kind of paradoxical that my employer allowed me to release the
code into the wild but hasn't been willing to let me sign the contribution
form, in 4 years.
So it's at least out in the
R. David Murray rdmur...@bitdance.com added the comment:
The ordering of dictionary keys is a fundamental property of Python
dictionaries (it's a hash table). PEP 3115 provides the functionality you are
looking for, your metaclass just needs to be slightly more complicated.
--
nosy:
R. David Murray rdmur...@bitdance.com added the comment:
There was a discussion about IRI on python-dev in the middle of a discussion
about adding a coercable bytes type, but I can't find it. I believe the
conclusion was that the best solution for IRI support was a new library that
implements
Changes by R. David Murray rdmur...@bitdance.com:
--
keywords: -buildbot, patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9679
___
___
Jesse Noller jnol...@gmail.com added the comment:
If we keep that behavior, the real problem here is that the
result handler hangs if the process that reserved a job is gone, which is
going to be handled
by #9205. Should we mark it as a duplicate?
I would tend to agree with your
Giampaolo Rodola' g.rod...@gmail.com added the comment:
It's very hard to tell what went wrong without an actual traceback message.
What I don't understand is why smtpd module is mentioned in the message, since
apparently test_ssl.py doesn't use it at all.
--
R. David Murray rdmur...@bitdance.com added the comment:
See also issue1676135. Seems that the posters were wrong in concluding that
the double slashes wouldn't bother anyone using prefix=/ :)
--
nosy: +r.david.murray
___
Python tracker
1 - 100 of 168 matches
Mail list logo