-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I'm proud to announce the release of Sphinx 1.0 beta 1, a preview of the
new and shiny 1.0, and Sphinx 0.6.6, a bugfix-only release in the 0.6 series.
What is it?
===
Sphinx is a tool that makes it easy to create intelligent and
On Tue, May 25, 2010 at 3:38 AM, joy99 subhakolkata1...@gmail.com wrote:
snip
Dear Vlastimir,
As pointed out by Alister, I can print the values of function1 and
function2 with the help of another function3, but my target is to call
the add value of function1 and mult value of function2 in a
Michele Simionato wrote:
On May 25, 12:47 am, Carl Banks pavlovevide...@gmail.com wrote:
The situation here is known. It can't be corrected, even in Python 3,
without modifying iterator protocol to tie StopIteration to a specific
iterator. This is possible and might be worth it to avoid
Kushal Kumaran wrote:
On Tue, May 25, 2010 at 3:38 AM, joy99 subhakolkata1...@gmail.com wrote:
snip
Dear Vlastimir,
As pointed out by Alister, I can print the values of function1 and
function2 with the help of another function3, but my target is to call
the add value of function1 and mult
On May 25, 9:08 am, Peter Otten __pete...@web.de wrote:
But the list comprehension is already non-equivalent to the for loop as the
loop variable isn't leaked anymore. We do have three similar constructs with
subtle differences.
I think not turning the list-comp into syntactic sugar for
superpollo wrote:
Jean-Michel Pichavant ha scritto:
Jerry Hill wrote:
On Wed, May 19, 2010 at 3:58 PM, superpollo ute...@esempio.net wrote:
... how many positive integers less than n have digits that sum up
to m:
...
any suggestion for pythonizin' it?
This is how I would do
Hi to all,
i'm creating a command line application using asyncore and cmd. At
if __name__ == '__main__':
import socket
args = sys.argv[1:]
if not args:
print Usage: %s querystring % sys.argv[0]
sys.exit(0)
address = ('localhost', 0) # let the kernel give us a
Hello
I need to make a quick prototype to process some xml file. I found
xml.dom.minidom much handy and I can get information from the xml file. But
I need to update a filed in the xml file and save the file. I couldn't find
a way to do that. Could some one please help me on this.
Basically
I like to run brill demo function with urdu pos tagged i have urdu
corpus reader and a POS tagged file can you help me.
1) how and where i need to define templates for urdu . Is template dat
are given with nltk(brill) are compatible to run with urdu.
2) If i want to run brill demo function on
On May 25, 10:42 am, kak...@gmail.com kak...@gmail.com wrote:
Hi to all,
i'm creating a command line application using asyncore and cmd. At
if __name__ == '__main__':
import socket
args = sys.argv[1:]
if not args:
print Usage: %s querystring % sys.argv[0]
This is perfect if the python ODBC driver can read the .mdb without
the need for it to be running elsewhere.
Thanks all for your help.
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, May 25, 2010 at 2:24 PM, Salil GK sali...@gmail.com wrote:
Hello
I need to make a quick prototype to process some xml file. I found
xml.dom.minidom much handy and I can get information from the xml file. But
I need to update a filed in the xml file and save the file. I couldn't
On May 25, 4:55 am, Michele Simionato michele.simion...@gmail.com
wrote:
On May 25, 10:42 am, kak...@gmail.com kak...@gmail.com wrote:
Hi to all,
i'm creating a command line application using asyncore and cmd. At
if __name__ == '__main__':
import socket
args = sys.argv[1:]
2010/5/25 Michele Simionato michele.simion...@gmail.com:
On May 25, 10:42 am, kak...@gmail.com kak...@gmail.com wrote:
Hi to all,
i'm creating a command line application using asyncore and cmd. At
if __name__ == '__main__':
import socket
args = sys.argv[1:]
if not args:
On May 25, 12:03 pm, Giampaolo Rodolà g.rod...@gmail.com wrote:
Too bad cmdloop() doesn't provide an argument to return immediately.
Why don't you submit this patch on the bug tracker?
--- Giampaolohttp://code.google.com/p/pyftpdlibhttp://code.google.com/p/psutil
Because it is not a bug, cmd
2010/5/25 Michele Simionato michele.simion...@gmail.com:
On May 25, 12:03 pm, Giampaolo Rodolà g.rod...@gmail.com wrote:
Too bad cmdloop() doesn't provide an argument to return immediately.
Why don't you submit this patch on the bug tracker?
---
On Mon, May 24, 2010 at 18:38, Robin Dunn ro...@alldunn.com wrote:
...
The 2.8.11.0 release of wxPython is now available for download at
http://wxpython.org/download.php. This release adds Python 2.7 builds,
PySlices, new pubsub implementation, lots of updates to AGW, and lots
of bugs fixed.
Jean-Michel Pichavant ha scritto:
superpollo wrote:
Jean-Michel Pichavant ha scritto:
Jerry Hill wrote:
On Wed, May 19, 2010 at 3:58 PM, superpollo ute...@esempio.net wrote:
... how many positive integers less than n have digits that sum up
to m:
...
any suggestion for pythonizin'
On May 25, 6:48 am, Giampaolo Rodolà g.rod...@gmail.com wrote:
2010/5/25 Michele Simionato michele.simion...@gmail.com:
On May 25, 12:03 pm, Giampaolo Rodolà g.rod...@gmail.com wrote:
Too bad cmdloop() doesn't provide an argument to return immediately.
Why don't you submit this patch on
On Tue, May 25, 2010 at 3:50 AM, Dennis Lee Bieber wlfr...@ix.netcom.comwrote:
On Mon, 24 May 2010 13:37:58 -0400, Victor Subervi
victorsube...@gmail.com declaimed the following in
Parameterized queries process the parameters to ensure that they are
safe for use in the SQL statement.
Agree, reveres engineering is crucial issuer for programming language
but every executable file can be cracked, for example by using disassembler!!!
For each weapon there is antiweapon, so
is it possible to prevent reveres engineering when customer have access to
executable made from
On May 25, 2:56 pm, kak...@gmail.com kak...@gmail.com wrote:
Could you please provide me with a simple example how to do this with
threads.
I don't know where to put the cmdloop().
Please help, i' m so confused!
Thank you
What are you trying to do? Do you really need to use the standard
On May 25, 5:23 pm, Michele Simionato michele.simion...@gmail.com
wrote:
On May 25, 2:56 pm, kak...@gmail.com kak...@gmail.com wrote:
Could you please provide me with a simple example how to do this with
threads.
I don't know where to put the cmdloop().
Please help, i' m so confused!
On Tue, 2010-05-25 at 18:49 +0500, Sandy Ydnas wrote:
Agree, reveres engineering is crucial issuer for programming
language
but every executable file can be cracked, for example by using
disassembler!!!
For each weapon there is antiweapon, so
is it possible to prevent reveres engineering
On May 25, 5:47 pm, kak...@gmail.com kak...@gmail.com wrote:
On May 25, 5:23 pm, Michele Simionato michele.simion...@gmail.com
wrote:
On May 25, 2:56 pm, kak...@gmail.com kak...@gmail.com wrote:
Could you please provide me with a simple example how to do this with
threads.
I don't
On 5/25/2010 3:08 AM, Peter Otten wrote:
Michele Simionato wrote:
I think not turning the list-comp into syntactic sugar for list(genexp) in
py3 is a missed opportunity.
Implementing it that way was tried but was much slower than the current
implementation. If one uses StopIteration as it
On 5/25/2010 9:49 AM, Sandy Ydnas wrote:
is it possible to prevent reveres engineering when customer have access
to executable made from Python code???
If there is, it is a trade secrets that you will not be able to reverse
engineer ;-).
--
On 5/25/2010 1:09 PM, Terry Reedy wrote:
On 5/25/2010 3:08 AM, Peter Otten wrote:
Michele Simionato wrote:
I think not turning the list-comp into syntactic sugar for
list(genexp) in
py3 is a missed opportunity.
Implementing it that way was tried but was much slower than the current
Hello
I'm studying the migration of my website (mixed english and french
languages...) to a properly localized architecture.
From what I've read so far, using translation tags (or quick phrases)
in the code, and translating them to every target language (including
english) sounds a better
Hi;
I have this code:
clientCursor.execute('select ID from %s' % (personalDataTable))
upds = [itm[0] for itm in clientCursor]
print input type='hidden' name='upds' value='%s' / % upds
The problem is that the values passed are 1L, 2L When I retrieve them on
the other end and try
http://www.advocatemizan.com
--
http://mail.python.org/mailman/listinfo/python-list
Hello Pythonguys!
is there a way to improve the performance of the attached code ? it
takes about 5 h on a dual-core (using only one core) when len(V)
~1MIL. V is an array which is supposed to store all the volumes of
tetrahedral elements of a grid whose coord. are stored in NN (accessed
trough
Hi,
The code below is giving me the error:
Traceback (most recent call last):
File C:\Users\Administratör\Desktop\test.py, line 4, in module
UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1:
unexpected code byte
What am i doing wrong?
Thanks,
Barry
request =
It makes me think you are filling you available memory and using the disk as
cache. If this happens things will get real slow. You might take a look at
your system resources when this is running. I don't have much else to offer
and could be completely wrong.
Vincent
On Tue, May 25, 2010 at 1:05
On May 25, 2010, at 3:13 PM, Barry wrote:
Hi,
The code below is giving me the error:
Traceback (most recent call last):
File C:\Users\Administratör\Desktop\test.py, line 4, in module
UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1:
unexpected code byte
What am i
On 05/26/10 01:09, Adam Tauno Williams wrote:
On Tue, 2010-05-25 at 18:49 +0500, Sandy Ydnas wrote:
Agree, reveres engineering is crucial issuer for programming
language
but every executable file can be cracked, for example by using
disassembler!!!
For each weapon there is antiweapon, so
On Wed, 26 May 2010 05:40:43 +1000
Lie Ryan lie.1...@gmail.com wrote:
That merely gives a false sense of security. If the program is decrypted
in memory, you can easily make a memory dump to get the unencrypted
program. If I am a competitor that can make economic advantage by
cracking your
On Tue, May 25, 2010 at 1:10 PM, python-list-requ...@python.org wrote:
-- Forwarded message --
From: Terry Reedy tjre...@udel.edu
To: python-l...@python.org
Date: Tue, 25 May 2010 13:09:23 -0400
Subject: Re: Generator expressions vs. comprehensions
On 5/25/2010 3:08 AM,
On 25 Maj, 21:39, Philip Semanchuk phi...@semanchuk.com wrote:
On May 25, 2010, at 3:13 PM, Barry wrote:
Hi,
The code below is giving me the error:
Traceback (most recent call last):
File C:\Users\Administratör\Desktop\test.py, line 4, in module
UnicodeDecodeError: 'utf8' codec
On 2010-05-25, D'Arcy J.M. Cain da...@druid.net wrote:
On Wed, 26 May 2010 05:40:43 +1000
Lie Ryan lie.1...@gmail.com wrote:
That merely gives a false sense of security. If the program is
decrypted in memory, you can easily make a memory dump to get the
unencrypted program. If I am a
On Tue, May 25, 2010 at 1:01 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Tue, May 25, 2010 at 1:10 PM, python-list-requ...@python.org wrote:
-- Forwarded message --
From: Terry Reedy tjre...@udel.edu
To: python-l...@python.org
Date: Tue, 25 May 2010 13:09:23 -0400
Subject:
Barry wrote:
On 25 Maj, 21:39, Philip Semanchuk phi...@semanchuk.com wrote:
On May 25, 2010, at 3:13 PM, Barry wrote:
Hi,
The code below is giving me the error:
Traceback (most recent call last):
File C:\Users\Administratör\Desktop\test.py, line 4, in module
UnicodeDecodeError:
Barry wrote in news:83dc485a-5a20-403b-99ee-c8c627bdbab3
@m21g2000vbr.googlegroups.com in gmane.comp.python.general:
Hi,
The code below is giving me the error:
Traceback (most recent call last):
File C:\Users\Administratör\Desktop\test.py, line 4, in module
UnicodeDecodeError: 'utf8'
On May 25, 2010, at 4:00 PM, Barry wrote:
On 25 Maj, 21:39, Philip Semanchuk phi...@semanchuk.com wrote:
On May 25, 2010, at 3:13 PM, Barry wrote:
Hi,
The code below is giving me the error:
Traceback (most recent call last):
File C:\Users\Administratör\Desktop\test.py, line 4, in
On Wed, 2010-05-26 at 05:40 +1000, Lie Ryan wrote:
On 05/26/10 01:09, Adam Tauno Williams wrote:
On Tue, 2010-05-25 at 18:49 +0500, Sandy Ydnas wrote:
Agree, reveres engineering is crucial issuer for programming
language
but every executable file can be cracked, for example by using
is it possible to prevent reveres engineering when customer have access
to executable made from Python code???
The only secure way of protecting your code is if you expose it as a
web service or some such. (Yes, people can still crack your web
server, but that's nitpicking :))
Cheers,
Daniel
Terry Reedy tjre...@udel.edu writes:
On 5/25/2010 9:49 AM, Sandy Ydnas wrote:
is it possible to prevent reveres engineering when customer have
access to executable made from Python code???
If there is, it is a trade secrets that you will not be able to
reverse engineer ;-).
+1 QOTW
--
On 04:31 pm, kak...@gmail.com wrote:
On May 25, 5:47�pm, kak...@gmail.com kak...@gmail.com wrote:
On May 25, 5:23�pm, Michele Simionato michele.simion...@gmail.com
wrote:
On May 25, 2:56�pm, kak...@gmail.com kak...@gmail.com wrote:
Could you please provide me with a simple example how to
Raymond Hettinger wrote:
If speed is important, the global lookups can be localized:
def prttn(m, n, map=itertools.imap, int=int, str=str, range=range):
return sum(m == sum(map(int, str(x))) for x in range(n))
That's just silly. If speed is important, we abandon the naive
algorithm.
--
Jean-Michel Pichavant wrote:
I still don't see how many positive integers less than n have digits
that sum up to m makes it a partition though if that what prttn
means. Surely because I miss the context.
A partition of a positive integer m is an unordered collection of
positive integers that
I was teetering on the brink of releasing Pyparsing 1.5.3 (with some
nice new examples and goodies), when I saw that I had recently
introduced a bug in the Python 3 compatible version. Here is the
stacktrace as reported on SF:
Traceback (most recent call last):
File testcase.py, line 11, in
Paul McGuire ptmcg at austin.rr.com writes:
In this section of code, instring is a string, loc is an int, and wt
is a string. Any clues why instring[loc] would be evaluating as int?
(I am unfortunately dependent on the kindness of strangers when it
comes to testing my Python 3 code, as I
Paul McGuire pt...@austin.rr.com wrote:
[...]
while loc instrlen and instring[loc] in wt:
TypeError: 'in string' requires string as left operand, not int
In this section of code, instring is a string, loc is an int,
In Python 3, lots of things that used to return str now return bytes,
and
On May 25, 8:58 pm, Benjamin Peterson benja...@python.org wrote:
Paul McGuire ptmcg at austin.rr.com writes:
In this section of code, instring is a string, loc is an int, and wt
is a string. Any clues why instring[loc] would be evaluating as int?
(I am unfortunately dependent on the
Paul McGuire wrote:
Hrmm, I had a sneaking hunch this might be the issue. But then I
don't know how this code *ever* worked in Python 3, as it is chock
full of indexed references into the string being parsed. And yet,
I've had other folks test and confirm that pyparsing_py3 *does* work
on
On Tue, May 25, 2010 at 5:08 AM, Robin Dunn ro...@alldunn.com wrote:
Announcing
--
The 2.8.11.0 release of wxPython is now available for download at
http://wxpython.org/download.php. This release adds Python 2.7 builds,
PySlices, new pubsub implementation, lots of updates to AGW,
On May 13, 9:30 am, Lawrence D'Oliveiro l...@geek-
central.gen.new_zealand wrote:
You’re looking at it wrong. If you want to force people to do things in a
certain way, use Java. Python is about enabling things, not forcing them.
LoL :-)
Don’t use subclassing. Instead, let the caller pass you
On May 26, 7:05 am, Alexzive zasaconsult...@gmail.com wrote:
Hello Pythonguys!
is there a way to improve the performance of the attached code ? it
takes about 5 h on a dual-core (using only one core) when len(V)
~1MIL. V is an array which is supposed to store all the volumes of
tetrahedral
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Yes, the warnings module tries to display the file name. Inside
PyRun_SimpleString(), globals()['__name__'] == '__main__', and the warnings
module supposes that argv[1] is the name of the script.
I wonder whether __file__ would be
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for these; I'll commit them later.
Aren't the extra range tests that you added already in trunk?
--
assignee: - mark.dickinson
nosy: +mark.dickinson
___
Python tracker
Sebastian python.10.webmas...@spamgourmet.com added the comment:
Oh, damn. I really forgot the argv filename thing. Nevermind :)
But back to topic. __file__ might be not the best solution for that. What does
Python when embedded, and __file__ is not set? That can happen when the source
of
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Remarks with the patch:
- we need to keep the find_vcvarsall() backward compatible. e.g. define a
default value for arch.
- Next, since this fix is specific to 64bt and since *any value* in arch will
be used as not 64 bits, I think the
Mark Dickinson dicki...@gmail.com added the comment:
By the way, does your patch do the right thing for
timedelta(microseconds=1) / -4.0
? Because my Python code doesn't. :) [If n is negative, then the 2*r n
condition in div_nearest should be 2*r n instead.]
--
Antoine Pitrou pit...@free.fr added the comment:
Note that I am not suggesting passing anything to utcnow(). I would
either leave it unchanged or make it always return aware datetime
instances.
The latter would break compatibility, though (especially given how
comparison between naive and
Tarek Ziadé ziade.ta...@gmail.com added the comment:
added in r81513
Thanks all !
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8770
___
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8770
___
Éric Araujo mer...@netwok.org added the comment:
shlex in 3.x works with Unicode strings. Is it still time to try to fix this
bug for 2.7?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1170
Per Øyvind Karlsen peroyv...@mandriva.org added the comment:
I'm the author of the pyliblzma module, and if desired, I'd be happy to help
out adapting pyliblzma for inclusion with python.
Most of it's code is based on bz2module.c, so it shouldn't be very far away
from being good 'nuff.
What I
Per Øyvind Karlsen peroyv...@mandriva.org added the comment:
ps: pylzma uses the LZMA SDK, which is not what you want.
pyliblzma (not the same module;) OTOH uses liblzma, which is the library used
by xz/lzma utils
You'll find it available at http://launchpad.net/pyliblzma
--
Per Øyvind Karlsen peroyv...@mandriva.org added the comment:
Ooops, I kinda should've commented on this issue here in stead, rather than in
issue5689, so I'll just copy-paste it here as well:
I'm the author of the pyliblzma module, and if desired, I'd be happy to help
out adapting pyliblzma
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The 3.1 version does it correctly since issue7785, but this was not backported
to 2.x.
Python 3.x uses the y* format code to accept bytes and not unicode; this code
does not exist in 2.x, and was replaced with s*, which accepts
Gregor Lingl gregorli...@users.sourceforge.net added the comment:
Yes, tdemo_raund_dance.py and tdemo_scribble.py definitely do not work
with turtle.py from Python 2.7 :-(
I submitted them expecting, that my backport of turtle.py from Python 3.1 to
Python 2.7 would be accepted. But, alas, I was
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I will happily review any implementation, and I can help with inclusion into
python trunk.
...the LGPL liblzma...
Can you check which licences cover the different parts of the module? I think
that you will have to contribute your
New submission from Mark Dickinson dicki...@gmail.com:
The implementation of 'round' for Python integers uses a round-to-nearest form
of divmod: a, b - q, r, where q is the nearest integer to a / b and r = a -
b*q.
This form of divmod would be useful elsewhere. In particular, it's currently
Mark Dickinson dicki...@gmail.com added the comment:
There's a patch in issue 8817 that exposes a round-to-nearest form of divmod in
a function called _PyLong_Divmod_Near; this would save on duplication of code.
--
___
Python tracker
Per Øyvind Karlsen peroyv...@mandriva.org added the comment:
ah, you're right, I forgot that the license for the library had changed as well
(motivated by attempt of pleasing BSD people IIRC;), in the past the library
was LGPL while only the 'xz' util was public domain..
For my code, feel
Changes by Ray.Allen ysj@gmail.com:
--
nosy: +ysj.ray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list mailing list
dudologist dudolog...@yahoo.co.nz added the comment:
If %z works only in certain circumstances that behaviour should be documented
wherever %z is referred to.
--
nosy: +dudologist
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
By the way, does your patch do the right thing for
timedelta(microseconds=1) / -4.0
No.
timedelta(microseconds=1) / -4.0
datetime.timedelta(-1, 86399, 99)
(I just copied your python algorithm ...)
I will merge
AdamN a...@varud.com added the comment:
Maybe he's referring to the fact that 'default_scheme' is referenced in the
docs but in fact the parameter name is 'scheme'?
--
nosy: +adamnelson
___
Python tracker rep...@bugs.python.org
AdamN a...@varud.com added the comment:
I would vote to close this and focus any code cleanliness work on 3.x. The
deep import is more trouble than it's worth.
--
nosy: +adamnelson
___
Python tracker rep...@bugs.python.org
New submission from AdamN a...@varud.com:
urlsplit and urlparse place the host into the path when using a default scheme:
(Pdb) urlsplit('regionalhelpwanted.com/browseads/?sn=2',scheme='http')
SplitResult(scheme='http', netloc='', path='regionalhelpwanted.com/browseads/',
query='sn=2',
Changes by AdamN a...@varud.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8818
___
___
Python-bugs-list mailing list
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Attaching a combined issue1289118 + issue8817 patch. Datetime code now uses
issue8817's _PyLong_Divmod_Near.
--
Added file: http://bugs.python.org/file17460/issue1289118+issue8817-nodoc.diff
R. David Murray rdmur...@bitdance.com added the comment:
I synced the two versions in r81518 and added a comment to both about updating
the other.
--
resolution: - wont fix
stage: patch review - committed/rejected
status: open - closed
___
Python
Antoine Pitrou pit...@free.fr added the comment:
Hello,
I'm the author of the pyliblzma module, and if desired, I'd be happy
to help out adapting pyliblzma for inclusion with python.
Most of it's code is based on bz2module.c, so it shouldn't be very far
away from being good 'nuff.
Well, I
Sebastian python.10.webmas...@spamgourmet.com added the comment:
attached a patch for this issue now.
Now it first uses the name of the script,
instead of __file__.
--
keywords: +patch
Added file: http://bugs.python.org/file17461/_warnings.c.patch
R. David Murray rdmur...@bitdance.com added the comment:
The keyword in the code is 'scheme'. I've updated the docs accordingly in
r81521 and r81522.
--
assignee: - d...@python
components: +Documentation -Library (Lib)
nosy: +d...@python, r.david.murray
resolution: - fixed
stage: -
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Just a few nitpicks on the patch (in increasing pickiness):
1. Any reason to prefer PyTuple_SetItem to PyTuple_SET_ITEM at the end of
_PyLong_Divmod_Near? You are filling a brand new tuple, so PyTuple_SET_ITEM
seems to
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, May 25, 2010 at 5:45 AM, Antoine Pitrou rep...@bugs.python.org wrote:
..
I also agree with Brett that a singleton looks rather unnecessary (it
also look quite C++/Java-esque to me).
I still don't understand your
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I'll provide a new version shortly, targeted for the py3k branch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8777
___
New submission from Colin Hawkett hawk...@gmail.com:
A discussion on stack overflow -
http://stackoverflow.com/questions/2904274/globals-and-locals-in-python-exec -
has led to the conclusion that the variable lookup behaviour within code run
using exec() is not behaving as expected. Variable
AdamN a...@varud.com added the comment:
Great, thanks.
However urlsplit and urlparse still take what one would expect to be recognized
as the netloc and assigns it to the 'path' key. If that is by design perhaps
we should at least warn people?
--
status: closed - open
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: -tjreedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7511
___
___
Python-bugs-list mailing
AdamN a...@varud.com added the comment:
The default_scheme issue I brought up has been fixed in #8818
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8653
___
Mark Dickinson dicki...@gmail.com added the comment:
This looks like a duplicate of issue 991196.
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8819
___
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6641
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
I've added Senthil as nosy to double check me, but my understanding is that the
scheme is just the part up to the colon. If you want to have a netloc in the
URL, you have to precede it with a '//'. Otherwise there's no netloc.
AdamN a...@varud.com added the comment:
Ok, you're right:
urlsplit('cnn.com')
SplitResult(scheme='', netloc='', path='cnn.com', query='', fragment='')
urlsplit('//cnn.com')
SplitResult(scheme='', netloc='cnn.com', path='', query='', fragment='')
Although I see that nowhere in the
jan matejek jmate...@suse.cz added the comment:
yes, reverting r72637 fixes this problem for me
it reintroduces the original bug (there is some temporary file left behind),
but i don't care about that
--
___
Python tracker rep...@bugs.python.org
1 - 100 of 169 matches
Mail list logo