In article [EMAIL PROTECTED],
Andrea Gavana [EMAIL PROTECTED] wrote:
Hi Diez All,
And on a personal note: I find it *buttugly*.
Do you mind explaining why you find it *buttugly*?
My guess would be that buttugly is a colloquialism
meaning exquisitely lovely.
I am asking just
out of
In article
[EMAIL PROTECTED],
Paul McGuire [EMAIL PROTECTED] wrote:
Parsing TeX is definitely not for the faint-of-heart! You might try
something like QuotedString('$', escQuote='$$') in pyparsing. (I've
not poked at TeX or its ilk since the mid-80's so my TeXpertise is
long rusted away.)
In article [EMAIL PROTECTED],
Johannes Bauer [EMAIL PROTECTED] wrote:
David C. Ullrich schrieb:
-- care to tell us what a certain re.sub is, and
false in what way?
Read the OP.
Well, aren't you funny. Maybe you should have referenced the other
thread so one can find the OP?
Andrea Gavana [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Whether the wxPython style is Pythonic or not (whatever Pythonic
means), this is a one-degree-above-insignificant issue for me. What I
care is the eye pleasing look of my apps and how easy it is to code
with a GUI
Matimus wrote:
On Jun 11, 9:16 pm, George Sakkis [EMAIL PROTECTED] wrote:
On Jun 11, 8:15 pm, bvdp [EMAIL PROTECTED] wrote:
Matimus wrote:
The solution I posted should work and is safe. It may not seem very
readable, but it is using Pythons internal parser to parse the passed
in string
In article
[EMAIL PROTECTED],
Nader [EMAIL PROTECTED] wrote:
On Jun 12, 1:41 pm, David C. Ullrich [EMAIL PROTECTED] wrote:
On Thu, 12 Jun 2008 03:58:53 -0700 (PDT), Nader [EMAIL PROTECTED]
wrote:
Hello,
I have a dictionary and will get all keys which have the same values.
d =
In article
[EMAIL PROTECTED],
Paul McGuire [EMAIL PROTECTED] wrote:
On Jun 12, 6:41 am, David C. Ullrich [EMAIL PROTECTED] wrote:
On Thu, 12 Jun 2008 03:58:53 -0700 (PDT), Nader [EMAIL PROTECTED]
wrote:
Hello,
I have a dictionary and will get all keys which have the same values.
hi all,
howto split string with both comma and semicolon delimiters?
i.e. (for example) get ['a','b','c'] from string a,b;c
I have tried s.split(',;') but it don't work
Thx, D.
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 12, 4:14 pm, Gerhard Häring [EMAIL PROTECTED] wrote:
Aidan wrote:
does this work for you?
users = [1,1,1,2,2,3,4,4,4]
score = [0,1,5,3,1,2,3,3,2]
d = dict()
for u,s in zip(users,score):
if d.has_key(u):
d[u] += s
else:
d[u] = s
for key in d.keys():
dmitrey wrote:
hi all,
howto split string with both comma and semicolon delimiters?
i.e. (for example) get ['a','b','c'] from string a,b;c
I have tried s.split(',;') but it don't work
Thx, D.
--
http://mail.python.org/mailman/listinfo/python-list
The regular expression module has a split
howto split string with both comma and semicolon delimiters?
i.e. (for example) get ['a','b','c'] from string a,b;c
I have tried s.split(',;') but it don't work
A very pedestrian solution would be:
def multisplit( s, seps ):
words = [ ]
word = ''
for char in s:
if char
Hello,
I've done some benchmarking while attempting to serialize my (large)
graph data structure with cPickle; I'm seeing superlinear performance
(plotting it seems to suggest n^2 where n is the number of nodes of my
graph), in the duration of the pickle.dump calls and I can't quite
figure out
Sa¹a Bistroviæ [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sa¹a Bistroviæ
Antuna Mihanviæa 13
4 Èakovec
Croatia
[EMAIL PROTECTED]
FPC: Exception : Unknown Run-Time error : 210
Hi, I'm Sa¹a from Croatia.
And I have :
Windows XP PRO SP3.
Pentium II MMX 400MHz.
256
now I understand my problem better so their is a good chance you
manage to help me.
I have a SQlite database full with ANSI Hebrew text , and program that
uses WXpython
Now, I use a- 'wx.TextCtrl' item to receive input from the user, and
when I try to search the database he don't understand this
Eric Jonas [EMAIL PROTECTED] writes:
I've done some benchmarking while attempting to serialize my (large)
graph data structure with cPickle; I'm seeing superlinear performance
(plotting it seems to suggest n^2 where n is the number of nodes of my
graph), in the duration of the pickle.dump
Iam wondering why the peculiar behavior of map when the function in
given as None:
Help on built-in function map in module __builtin__:
map(...)
map(function, sequence[, sequence, ...]) - list
Return a list of the results of applying the function to the items
of
the argument
dmitrey wrote:
hi all,
howto split string with both comma and semicolon delimiters?
i.e. (for example) get ['a','b','c'] from string a,b;c
I have tried s.split(',;') but it don't work
Thx, D.
Howabout:
s = s.replace(;, ,)
s = s.split(,)
--
On Jun 12, 1:51 pm, bvdp [EMAIL PROTECTED] wrote:
Matimus wrote:
On Jun 11, 9:16 pm, George Sakkis [EMAIL PROTECTED] wrote:
On Jun 11, 8:15 pm, bvdp [EMAIL PROTECTED] wrote:
Matimus wrote:
The solution I posted should work and is safe. It may not seem very
readable, but it is using
On Mon, 09 Jun 2008 10:48:03 -0700, disappearedng wrote:
I know Python but not Perl, and I am interested in knowing which of
these two are a better choice.
I'm partial to *Python*, but, the last time I looked, *urllib2* didn't
provide a time-out mechanism that worked under all circumstances.
If you are getting to the point where your data is large enough to
really care about the speed of cPickle, then maybe its time you moved
past pickles for your storage format? 2.5 includes sqlite, so you
could persist them in a nice, indexed table or something. Just a
suggestion.
On Jun
Paul McGuire [EMAIL PROTECTED] wrote:
Instead of all that try/except noise, just use the new defaultdict:
from collections import defaultdict
d = {'a' : 1, 'b' : 3, 'c' : 2,'d' : 3,'e' : 1,'f' : 4}
dd = defaultdict(list)
for key, value in d.items():
... dd[value].append(key)
George Sakkis wrote:
You probably missed the point in the posted examples. A malicious user
doesn't need to modify your program code to have access to far more
than you would hope, just devise an appropriate string s and pass it
to your safe eval.
Oppps, I did miss the point. I was assuming
Paddy schrieb:
Iam wondering why the peculiar behavior of map when the function in
given as None:
Help on built-in function map in module __builtin__:
map(...)
map(function, sequence[, sequence, ...]) - list
Return a list of the results of applying the function to the items
of
the
On Thu, Jun 12, 2008 at 1:05 PM, Paddy [EMAIL PROTECTED] wrote:
Iam wondering why the peculiar behavior of map when the function in
given as None:
Because that's the way it's always been! Seriously, I don't know. I
can tell you that it's going away in Python 3.0, though.
Ian
--
On Thu, Jun 12, 2008 at 1:32 PM, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Because it is undefined what should happen in case of no function given at
all - and because there is no identity function in python pre-defined, it
could be considered sensible to make None the quivalent of that
Ian Kelly wrote:
On Thu, Jun 12, 2008 at 1:05 PM, Paddy [EMAIL PROTECTED] wrote:
Iam wondering why the peculiar behavior of map when the function in
given as None:
Because that's the way it's always been! Seriously, I don't know. I
can tell you that it's going away in Python 3.0, though.
The carbonbased lifeform Tim Roberts inspired comp.lang.python with:
Nick Craig-Wood [EMAIL PROTECTED] wrote:
Hmmm, 10,000,000 cycles (40 ms @2.5GHz) is nowhere near the ~90,000
second jump in time.clock() output reported by the OP. I wonder if
there could be a different cause?
Just wild
Ian Kelly schrieb:
On Thu, Jun 12, 2008 at 1:32 PM, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Because it is undefined what should happen in case of no function given at
all - and because there is no identity function in python pre-defined, it
could be considered sensible to make None the
ANNOUNCING
eGenix.com pyOpenSSL Distribution
Version 0.7.0-0.9.8h-1
An easy to install and use repackaged distribution
of the pyOpenSSL Python
Paddy [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
|
| Iam wondering why the peculiar behavior of map when the function in
| given as None:
The 'peculiar behavior' is the same as zip (except for padding short
iterators versus truncating long iterators. Map was added years before
Paddy wrote:
On looking up map on Wikipedia there is no mention of this special
behaviour,
So my question is why?
My question is why you are looking up the semantics of Python functions on
Wikipedia instead of the Python documentation. I don't see any particular
discussion of map() there at
On Thu, 2008-06-12 at 20:57 +0200, Hrvoje Niksic wrote:
Eric Jonas [EMAIL PROTECTED] writes:
I've done some benchmarking while attempting to serialize my (large)
graph data structure with cPickle; I'm seeing superlinear performance
(plotting it seems to suggest n^2 where n is the number
I'm sure this is a simple, but recurrent, problem for which I can't
hit on a totally satisfactory solution.
As an example, suppose that I want write a module X that performs
some database access. I expect that 99.999% of the time, during
the foreseeable future, the database connection
On Thu, 12 Jun 2008 21:32:34 +, kj wrote:
I'm sure this is a simple, but recurrent, problem for which I can't hit
on a totally satisfactory solution.
As an example, suppose that I want write a module X that performs some
database access. I expect that 99.999% of the time, during the
Hello ,
following scenario
list_current = [ welcome, search, done, result]
list_ldap = [ welcome, hello]
result:
list_toadd = [ hello]
by words said , i want to check if list item from list_ldap exists in
list_current if not i want to add it to list_toadd.
Thanks!
D.
--
Hello ,
following scenario
list_current = [ welcome, search, done, result]
list_ldap = [ welcome, hello]
result:
list_toadd = [ hello]
by words said , i want to check if list item from list_ldap exists in
list_current if not i want to add it to list_toadd.
Thanks!
D.
list_toadd =
On Jun 11, 1:45 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Is it cursed upon? Didn't know that.
I didn't either. Until I asked some people how to do it, and was
admonished for even suggesting the concept.
However, __import__ only gives you the topmost module - in your case myapp.
ah, i
Just out of curiosity, what are the chances of this happening (sort of like
what happened with sqlite)?
As a starting point, the author(s) of wxPython would need to contribute
it to Python (and then also give the PSF the permission to relicense
it). If no such contribution is made, chances are
On Jun 13, 4:31 am, Sa¹a Bistroviæ [EMAIL PROTECTED]
wrote:
Sa¹a Bistroviæ [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sa¹a Bistroviæ
Antuna Mihanviæa 13
4 Èakovec
Croatia
[EMAIL PROTECTED]
FPC: Exception : Unknown Run-Time error : 210
Hi, I'm Sa¹a from
David Hláčik wrote:
Hello ,
following scenario
list_current = [ welcome, search, done, result]
list_ldap = [ welcome, hello]
result:
list_toadd = [ hello]
by words said , i want to check if list item from list_ldap exists in
list_current if not i want to add it to list_toadd.
#!python
In the documentation for __del__ (under Python Language Reference/Data
Model), the following warning is indicated:
Warning [Caveat in 2.6]: Due to the precarious circumstances under
which __del__() methods are invoked, exceptions that occur during
their execution are ignored, and a
On Jun 12, 8:06 pm, bvdp [EMAIL PROTECTED] wrote:
dmitrey wrote:
hi all,
howto split string with both comma and semicolon delimiters?
i.e. (for example) get ['a','b','c'] from string a,b;c
I have tried s.split(',;') but it don't work
Thx, D.
Howabout:
s = s.replace(;, ,)
On Jun 12, 8:04 pm, Gandalf [EMAIL PROTECTED] wrote:
now I understand my problem better so their is a good chance you
manage to help me.
I have a SQlite database full with ANSI Hebrew text , and program that
uses WXpython
Now, I use a- 'wx.TextCtrl' item to receive input from the user, and
Yes, it is 1255 it's surprising you know that.
any way this is the code I tried
search=cnrl.GetValue()
search= search.decode(cp1255)
search=search.encode(utf8)
word=''
category=1
cur.execute('select * from hebrew_words where word like ?',
OK it did worked!
I just should have been encoding to cp1255
search=cnrl.GetValue()
search= search.encode(cp1255)
cur.execute('select * from hebrew_words where word like ?',
['%'+search+'%'])
Thank you!
you are the best
--
http://mail.python.org/mailman/listinfo/python-list
Hello everyone,
I searched through groups to find an appropriate answer to this one
but could only find these which didn't meet my program's needs:
You know these application like ICQ or winamp which stay at the front
of the desktop as long as the user doesn't minimize it. I wont to do
the same with my application in python.
I still didn't manage to make pywinauto to auto set my window frame in
focus reliability so I was hoping this will
On Jun 13, 12:00 pm, Alan J. Salmoni [EMAIL PROTECTED] wrote:
My question is how can my program be notified of a change to a class
attribute that is a list?
You can't. But you can replace lists inside your class with a list
that notifies changes.
Something like this:
class
On Jun 12, 8:55 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
And the OP's question was about map not being conforming to the
definition on wikipedia - which I don't think it's not. It is not
defined what map is to do with None (or NULL or nil or... ) as argument.
Diez
Oh no!
Sorry to give
No help yet?
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 12, 9:48 pm, Robert Kern [EMAIL PROTECTED] wrote:
Paddy wrote:
On looking up map on Wikipedia there is no mention of this special
behaviour,
So my question is why?
My question is why you are looking up the semantics of Python functions on
Wikipedia instead of the Python
On Jun 12, 9:36 pm, Terry Reedy [EMAIL PROTECTED] wrote:
Paddy [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
|
| Iam wondering why the peculiar behavior of map when the function in
| given as None:
The 'peculiar behavior' is the same as zip (except for padding short
iterators
TJG,
I am trying to save a file, it is working fine.
But if the file is not on the foreground while setting combo box directory,
changing the value in the combo box by setLookIn() appear on the foreground
window.
I am using following functionality to save the file.
def
So in the code below, I'm binding some events to a text control in
wxPython. The way I've been doing it is demonstrated with the
Lame_Event_Widget class. I want to factor out the repeating
patterns. Cool_Event_Widget is my attempt at this. It pretty much
works, but I have a feeling there's a
On 17:47, giovedì 12 giugno 2008 Bruno Desthuilliers wrote:
For multiple functions, use classes.
Well... Closures are poor men's objects, or so they say (or is that the
other way round ?-).
Well, I'd like to know what could be the reason to design a single-call class
instead of a similar
On Jun 12, 11:46 pm, Steven Clark [EMAIL PROTECTED] wrote:
Hello ,
following scenario
list_current = [ welcome, search, done, result]
list_ldap = [ welcome, hello]
result:
list_toadd = [ hello]
by words said , i want to check if list item from list_ldap exists in
list_current
Hello. Ive got two functions here. Somehow the program does not go in
to the second function wehn i call it. The bestfit function. Could
some1 help me identify the problem. Heres the code:
import Gnuplot
def bestfit(uinput):
if not isinstance(uinput, list):
return False
else:
I am wondering what is the best way to create a timer, like an alarm, once it
reaches a time, it triggers an event. I have a way of doing this but it
seems like it isn't good at all. If it helps at all I am using a Tkinter,
but that probably doesn't mean much. The way I was doing it was using a
On Jun 12, 4:58 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Royt wrote:
Hi, I'm a newbie to Python, but I think it won't be too hard to learn.
A few days ago I registered Google App Engine, it only support Python
2.5. I want to set my blog on it soon. But it's not easy for me to
finish
Changes by Georg Brandl [EMAIL PROTECTED]:
--
priority: - critical
versions: +Python 3.0
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3026
___
___
Changes by Georg Brandl [EMAIL PROTECTED]:
--
resolution: - duplicate
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3013
___
___
Tim Golden [EMAIL PROTECTED] added the comment:
Giampaolo Rodola' wrote:
New submission from Giampaolo Rodola' [EMAIL PROTECTED]:
By using:
http://www.python.org/dev/daily-msi/python-2.6.14041.msi
C:\C:\python26\python
Python 2.6a3 (r26a3:62864, May 9 2008, 14:16:26) [MSC v.1500 32
Changes by C. E. Ball [EMAIL PROTECTED]:
--
nosy: +ceball
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1676
___
___
Python-bugs-list mailing list
Benjamin Peterson [EMAIL PROTECTED] added the comment:
On Wed, Jun 11, 2008 at 11:09 PM, Barry A. Warsaw
[EMAIL PROTECTED] wrote:
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
r64164 in Python 3.0. This doesn't apply cleanly to Python 2.6; could
someone please back port it?
Why
Guilherme Polo [EMAIL PROTECTED] added the comment:
I just checked that sys.maxsize was added May 20, so you just need a
newer build.
--
nosy: +gpolo
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3086
Benjamin Peterson [EMAIL PROTECTED] added the comment:
It passes for me on Leopard. Can you post the test running in verbose
mode so we can see where it hangs?
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
resolution: - out of date
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3086
___
___
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 12, 2008, at 8:57 AM, Benjamin Peterson wrote:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
On Wed, Jun 11, 2008 at 11:09 PM, Barry A. Warsaw
[EMAIL PROTECTED] wrote:
Barry
New submission from Jesse Noller [EMAIL PROTECTED]:
This is on osx 10.5.3, latest gcc tool chain.
I have $ARCHFLAGS set to -arch i386 to prevent the OS/X gcc from
building PPC code (as I don't want/need it) - if I leave this set as-is,
other applications build without error, intel only.
If I
Jesse Noller [EMAIL PROTECTED] added the comment:
On python-3000 trunk, _multiprocessing doesn't even compile:
/Users/jesse/open_source/subversion/python-
3000/Modules/_multiprocessing/semaphore.c: In function ‘semlock_iszero’:
/Users/jesse/open_source/subversion/python-
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 12, 2008, at 9:02 AM, Benjamin Peterson wrote:
It passes for me on Leopard. Can you post the test running in verbose
mode so we can see where it hangs?
It never hangs when run
Jesse Noller [EMAIL PROTECTED] added the comment:
I did a make clean ./configure make and it started compiling for me
again. Sorry for the noise.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3088
___
Guido van Rossum [EMAIL PROTECTED] added the comment:
If it's only failing during the second run of make test, typically
there's some implicit dependency on something that is disturbed by
running a test that's later in the suite of tests. This could be either
the fault of that other test (not
Guido van Rossum [EMAIL PROTECTED] added the comment:
I should add this was in the trunk (2.6).
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3088
___
___
Paul Melis [EMAIL PROTECTED] added the comment:
I think I'm having a similar lockup on fedora core 4 (smp machine). This
is with the py3k branch, freshly svn updated. When running make test
TESTOPTS=test_multiprocessing the first of the two test runs always
succeeds in something like 10-15
Paul Melis [EMAIL PROTECTED] added the comment:
After a few more runs with -v and redirecting output to a file it seems
the lockup I get is in
test_notify_all (test.test_multiprocessing.WithManagerTestCondition)
___
Python tracker [EMAIL PROTECTED]
New submission from Skip Montanaro [EMAIL PROTECTED]:
I'm fully up-to-date on my py3k branch (r64171). After a make clean I
find that I can't build either the time or datetime modules. Here are
errors from gcc:
building 'time' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
Antoine Pitrou [EMAIL PROTECTED] added the comment:
And here is a patch adding a new test in pybench as suggested by
Marc-Andre Lemburg.
Added file: http://bugs.python.org/file10600/pybench.patch
___
Python tracker [EMAIL PROTECTED]
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
Okay, I fixed _pickle's integers unpickling on 64bit platforms. Here is
the patch.
Added file: http://bugs.python.org/file10601/fix_pickle_int64.diff
___
Python tracker [EMAIL PROTECTED]
Jesse Noller [EMAIL PROTECTED] added the comment:
It's taking me longer to get to this than I planned, any help is
appreciated.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3088
___
Jason Tishler [EMAIL PROTECTED] added the comment:
I tested the regular expression in #3:
(\d+\.\d+(\.(\d+))?([ab](\d+))?)
and it worked for both '2.18.50.20080523' '1.2.3a'.
Additionally, it worked for the following test cases that I tried:
2.18.50a.20080523
2.18.50a 20080523
2.18.50
Bohdan Vlasyuk [EMAIL PROTECTED] added the comment:
The list is not the problem. The problem is the other reference, from
socket._fileobject object at 0xf7d42c34.
Also note that the workaround (u.fp.recv = None) removes the second
reference.
This is fine (at least in CPython), because the
Georg Brandl [EMAIL PROTECTED] added the comment:
Where does the strftime.c come from? It is not in the Python sources --
is this a Mac-specific thing?
--
nosy: +georg.brandl
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3091
New submission from Antoine Pitrou [EMAIL PROTECTED]:
In py3k, pybench wrongly detects UCS2 builds as UCS4. Patch attached.
--
components: Demos and Tools
files: pybench_ucs.patch
keywords: patch
messages: 68076
nosy: pitrou
severity: normal
status: open
title: Wrong unicode size
Jesse Noller [EMAIL PROTECTED] added the comment:
I can get an intermittent (1 every 15 or so runs) lock in:
test_get (__main__.WithProcessesTestQueue) ...
Executed like this:
./python Lib/test/test_multiprocessing.py
When I control-c it the stack looks like this:
...snip
File
New submission from Adam Olsen [EMAIL PROTECTED]:
All these in multiprocessing.h are lacking suitable py/_py/Py/_Py/PY/_PY
prefixes:
PyObject *mp_SetError(PyObject *Type, int num);
extern PyObject *pickle_dumps;
extern PyObject *pickle_loads;
extern PyObject *pickle_protocol;
extern PyObject
Changes by Jesse Noller [EMAIL PROTECTED]:
--
nosy: +roudkerk
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3088
___
___
Python-bugs-list mailing list
Changes by Jesse Noller [EMAIL PROTECTED]:
--
nosy: +jnoller, roudkerk
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3093
___
___
Python-bugs-list
New submission from Steven Wong [EMAIL PROTECTED]:
Communicating over HTTPS at the default port of 443:
import httplib
conn = httplib.HTTPSConnection(my-secure-domain.com)
conn.request(GET, /)
res = conn.getresponse()
In the current implementation, the Host header sent in the request is:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Is this really that much of an issue? multiprocessing lives in it's own
directory and isn't part of the Python public API.
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
New submission from Adam Olsen [EMAIL PROTECTED]:
multiprocessing.c currently has code like this:
temp = PyDict_New();
if (!temp)
return;
if (PyModule_AddObject(module, flags, temp) 0)
return;
PyModule_AddObject consumes the reference to
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
On 2008-06-12 21:50, Antoine Pitrou wrote:
New submission from Antoine Pitrou [EMAIL PROTECTED]:
In py3k, pybench wrongly detects UCS2 builds as UCS4. Patch attached.
Why is that ?
Doesn't chr(10) raise an exception in UCS2 builds
Changes by Jesse Noller [EMAIL PROTECTED]:
--
nosy: +jnoller, roudkerk
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3095
___
___
Python-bugs-list
Humberto Diogenes [EMAIL PROTECTED] added the comment:
[msg68060]
Why does it need to be in 2.6? mimetools is still there.
I guess you're right, it doesn't.
So, does it make sense to backport this too?
___
Python tracker [EMAIL PROTECTED]
Skip Montanaro [EMAIL PROTECTED] added the comment:
Georg Georg Brandl [EMAIL PROTECTED] added the comment:
Georg Where does the strftime.c come from? It is not in the Python
Georg sources -- is this a Mac-specific thing?
Whoops. My bad. Modified sandbox. Please reject.
Skip
Will Brown [EMAIL PROTECTED] added the comment:
Maybe I have a problem with my test code...
import re
def test_re(out_string):
result = re.search('(\d+\.\d+(\.(\d+))?([ab](\d+))?)', out_string)
print '--- msg00622 ---'
print result.group(1)
print
Skip Montanaro [EMAIL PROTECTED] added the comment:
My bad. Sorry for the noise. mods in my sandbox...
--
resolution: - invalid
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3091
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le jeudi 12 juin 2008 à 20:26 +, Marc-Andre Lemburg a écrit :
Doesn't chr(10) raise an exception in UCS2 builds ?
No, it returns a 2-character string.
Note that sys.maxunicode is not available in Python 2.1
which is why I chose
Aristotelis Mikropoulos [EMAIL PROTECTED] added the comment:
So, finally, will this patch be applied?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1778443
___
Georg Brandl [EMAIL PROTECTED] added the comment:
No, it returns a 2-character string.
Which hopefully is the proper surrogate sequence :)
--
nosy: +georg.brandl
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3092
101 - 200 of 247 matches
Mail list logo