Dieter,
Thanks for the response, and you're correct, debugging memory leaks is tough!
So far I haven't had much luck other than determining I have a leak. I've used
objgraph to see that objects are being created that don't seem to get cleaned
up. What I can't figure out so far is why, they are
Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος Κούρας
έγραψε:
On 13/6/2013 6:35 μμ, Joel Goldstick wrote:
[Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173]
FileNotFoundError: [Errno 2] \\u0394\\u03b5\\u03bd
\\u03c5\\u03c0\\u03ac\\u03c1\\
Chris Angelico wrote:
Just FYI, Rick Johnson (aka Ranting Rick) is a known troll. Don't let
him goad you :)
Follow other people's advice, and take Rick's posts with a grain of
salt. Sometimes he has a good point to make (more often when he's
talking about tkinter, which is his area of
On Thu, Jun 13, 2013 at 2:10 PM, Nick the Gr33k supp...@superhost.grwrote:
Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος Κούρας
έγραψε:
On 13/6/2013 6:35 μμ, Joel Goldstick wrote:
[Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173]
FileNotFoundError: [Errno
On 13.06.2013 20:10, Nick the Gr33k wrote:
[nothing new]
Could you please stop spamming the whole internet with your problems.
Not only that you've posted two similar offtopic messages within only 6
minutes to this list, you've also crossposted to alt.os.linux (where it
is offtopic too) and to
On Wednesday, June 12, 2013 8:59:44 PM UTC-7, Ranjith Kumar wrote:
I'm looking for speech to text conversation python library for linux and mac
Not a Python library, but maybe you can work with
http://cmusphinx.sourceforge.net/
--
http://mail.python.org/mailman/listinfo/python-list
On 06/13/2013 02:07 PM, writeson wrote:
Dieter,
Thanks for the response, and you're correct, debugging memory leaks is tough! So far I
haven't had much luck other than determining I have a leak. I've used objgraph to see
that objects are being created that don't seem to get cleaned up. What I
On 13/6/2013 9:28 μμ, Joel Goldstick wrote:
On Thu, Jun 13, 2013 at 2:10 PM, Nick the Gr33k supp...@superhost.gr
mailto:supp...@superhost.gr wrote:
Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος
Κούρας έγραψε:
On 13/6/2013 6:35 μμ, Joel Goldstick wrote:
On 13/6/2013 9:37 μμ, Andreas Perstinger wrote:
On 13.06.2013 20:10, Nick the Gr33k wrote:
[nothing new]
Could you please stop spamming the whole internet with your problems.
Not only that you've posted two similar offtopic messages within only 6
minutes to this list, you've also crossposted to
I couldn't read every post here so don't know if this has been suggested, or if
there is perhaps a better suggestion which I haven't read in this thread, but
in as far as I've read I feel the need to recommend:
learnpythonthehardway.org
Knowing a little JavaScript and even allot of HTML doesn't
Hi, I'm new to Python. Would someone be able to write me and/or to show me how
to write a simple program that:
1-follows a hyperlink from MS Excel to the internet (one of many links like
this, http://www.zipdatamaps.com/76180, for e.g.) and then,
2-copies some data (a population number, e.g.
On 2013-06-13, Nick the Gr33k supp...@superhost.gr wrote:
On 13/6/2013 9:37 , Andreas Perstinger wrote:
On 13.06.2013 20:10, Nick the Gr33k wrote:
[nothing new]
Could you please stop spamming the whole internet with your problems.
Not only that you've posted two similar offtopic messages
there is a python module that reads and writes to excel files. look for
that
On Thu, Jun 13, 2013 at 3:28 PM, buford.lum...@gmail.com wrote:
Hi, I'm new to Python. Would someone be able to write me and/or to show me
how to write a simple program that:
1-follows a hyperlink from MS Excel to
On 06/13/2013 03:28 PM, buford.lum...@gmail.com wrote:
Hi, I'm new to Python. Would someone be able to write me and/or to show me how
to write a simple program that:
Hi, welcome to Python, and to the Python-list
It's NOT a simple program, except by a very constrained definition of
simple.
On 13 June 2013 17:50, Tomasz Rola rto...@ceti.pl wrote:
Of course kids are more interesting in things painted on
screen, especially if they are colorful, move and make
sounds at that. The next step would be a simple,
interactive game.
Which is why I would synthesize something neat yet
On Thursday, June 13, 2013 3:41:24 PM UTC-4, Joel Goldstick wrote:
there is a python module that reads and writes to excel files. look for that
On Thu, Jun 13, 2013 at 3:28 PM, buford...@gmail.com wrote:
Hi, I'm new to Python. Would someone be able to write me and/or to show me
On 2013-06-13, dieter wrote:
... Anyway, my real question is how to go about debugging memory leak
problems in Python, particularly for a long running server process
written with Twisted. I'm not sure how to use heapy or guppy, and
objgraph doesn't tell me enough to locate the problem.
On 13 June 2013 14:01, rusi rustompm...@gmail.com wrote:
Some views of mine (controversial!).
Python is at least two things, a language and a culture.
As a language its exceptionally dogma-neutral.
You can do OO or FP, throwaway one-off scripts or long-term system
building etc
However as a
On Thu, Jun 13, 2013 at 1:41 PM, Joel Goldstick
joel.goldst...@gmail.com wrote:
there is a python module that reads and writes to excel files. look for
that
More than one, actually, and which to use depends on whether Excel
files means the .xls or .xlsx format. On Windows, the most flexible
Hello all,
This is my dilemma, I'm trying to get the generated JSON file using the
bing api
search.
This is the code that I'm executing from inside the shell:
http://bin.cakephp.org/view/460660617
The port doesn't matter to me. Thoughts?
--
http://mail.python.org/mailman/listinfo/python-list
In mailman.3222.1371157061.3114.python-l...@python.org Yves S. Garret
yoursurrogate...@gmail.com writes:
Hello all,
This is my dilemma, I'm trying to get the generated JSON file using the
bing api search.
This is the code that I'm executing from inside the shell:
Pynguin is a python-based turtle graphics application.
It combines an editor, interactive interpreter, and
graphics display area.
It is meant to be an easy environment for introducing
some programming concepts to beginning programmers.
http://pynguin.googlecode.com/
This release
Web?Query=%27xbox%20one%27
Plus do you really want to be sending in a %27 (which is a [ ) vs
maybe a %20 (which is a space ) or even a %29 ( which is a ] )
Cross check your URL encoding is correct.
-Kevin
On Jun 13, 2013, at 2:09 PM, John Gordon gor...@panix.com
there is a python module that reads and writes to excel files. look
for that
More than one, actually, and which to use depends on whether Excel files
means the .xls or .xlsx
format. On Windows, the most flexible solution is going to be to just use COM
to control the Excel application in
On Fri, Jun 14, 2013 at 3:06 AM, Grant Edwards invalid@invalid.invalid wrote:
The last time we made the choice (4-5 years ago), Windows support for
get, bzr, and hg was definitely lacking compared to svn. The lack of
something like tortoisesvn for hg/git/bzr was a killer. It looks like
the
This is the format that I've been following:
http://gavinmhackeling.com/blog/2012/05/using-the-bing-search-api-in-python/
If I execute the specified query from a browser, the JSON file
shows up without a problem. Now, I'd like to do that programmatically.
On Thu, Jun 13, 2013 at 4:57 PM, Yves
On Fri, Jun 14, 2013 at 3:48 AM, Νικόλαος Κούρας supp...@superhost.gr wrote:
On 13/6/2013 8:27 μμ, Zero Piraeus wrote:
:
But iam not offering Steven full root access, but restricted user level
access. Are you implying that for example one could elevate his
privileges
to root level access
On 2013-06-13, Chris Angelico ros...@gmail.com wrote:
On Fri, Jun 14, 2013 at 3:06 AM, Grant Edwards invalid@invalid.invalid
wrote:
The last time we made the choice (4-5 years ago), Windows support for
get, bzr, and hg was definitely lacking compared to svn. The lack of
something like
On Fri, Jun 14, 2013 at 7:53 AM, Grant Edwards invalid@invalid.invalid wrote:
On 2013-06-13, Chris Angelico ros...@gmail.com wrote:
On Fri, Jun 14, 2013 at 3:06 AM, Grant Edwards invalid@invalid.invalid
wrote:
I do almost exclusively Linux dev, but occasionally nip onto Windows
for one
On 13 Jun 2013 22:34, Chris Angelico ros...@gmail.com wrote:
[...]
It's
possible to get git for Windows, including gitk and 'git gui' (not
sure about any other graphical tools, they're the only two I use), but
the most convenient way to use them is from a ported bash.
I must disagree. I used
On Fri, Jun 14, 2013 at 8:15 AM, Fábio Santos fabiosantos...@gmail.com wrote:
I must disagree. I used git a lot on windows this past year, on a Console
shell (which is basically a CMD.EXE shell with tabs and appropriate
select/copy/paste) and it was quite useful.
Maybe that's changed since the
Giorgos Tzampanakis giorgos.tzampana...@gmail.com wrote:
On 2013-06-13, dieter wrote:
... Anyway, my real question is how to go about debugging memory
leak
problems in Python, particularly for a long running server process
written with Twisted. I'm not sure how to use heapy or guppy, and
:
On 13 June 2013 17:53, Grant Edwards invalid@invalid.invalid wrote:
Unfortunately, something that requires typing commands would not fly.
I haven't used it (very rarely use GUI dev tools), but Tortoise Hg
http://tortoisehg.bitbucket.org/ seems to have a decent reputation
for Mercurial (and
On 06/13/2013 05:46 PM, Chris Angelico wrote:
On Fri, Jun 14, 2013 at 3:48 AM, Νικόλαος Κούρας supp...@superhost.gr wrote:
SNIP
You are right, but i still believe Stevn would not act maliciously in the
server. He proved himself very helpfull already.
You thought that about me, too.
On Jun 13, 2013 10:17 AM, Grant Edwards invalid@invalid.invalid wrote:
On 2013-06-13, Ben Finney ben+pyt...@benfinney.id.au wrote:
cutems93 ms2...@cornell.edu writes:
I am looking for an appropriate version control software for python
development, and need professionals' help to make a
On Fri, Jun 14, 2013 at 6:15 AM, Giorgos Tzampanakis
giorgos.tzampana...@gmail.com wrote:
On 2013-06-13, dieter wrote:
Therefore: if the leak seems to be small, it may be much more advicable
to restart your process periodically (during times where a restart does
not hurt much) rather than try
That works beautifully! Thank you!
I do have one question, what are urllib and urllib2 then? I figured that
urllib2 is a newer version of the previous library (and one that I should
be using). Am I missing something?
On Thu, Jun 13, 2013 at 6:45 PM, Kevin LaTona li...@studiosola.com wrote:
Grant Edwards:
The last time we made the choice (4-5 years ago), Windows support for
get, bzr, and hg was definitely lacking compared to svn. The lack of
something like tortoisesvn for hg/git/bzr was a killer. It looks like
the situation has improved since then, but I'd be curious to hear
On 6/13/2013 6:20 PM, Zero Piraeus wrote:
:
On 13 June 2013 17:53, Grant Edwards invalid@invalid.invalid wrote:
Unfortunately, something that requires typing commands would not fly.
I haven't used it (very rarely use GUI dev tools), but Tortoise Hg
http://tortoisehg.bitbucket.org/ seems to
On Thu, 13 Jun 2013 06:37:34 -0700, rusi wrote:
Python-the-language has strengths that are undermined by the biases in
the culture of Python.
This implies that there are strengths in Python-the-language which are
not just missed or ignored by Python programmers immersed in the culture,
but
Thanks again Kevin. I'm deviating from the original thread,
but I've got another issue. When I try to load the json file
and then parse it, this is the error that I get:
http://bin.cakephp.org/view/1329549559
On Thu, Jun 13, 2013 at 6:57 PM, Kevin LaTona li...@studiosola.com wrote:
Your
On 13Jun2013 17:19, Nikos as SuperHost Support supp...@superhost.gr wrote:
| A code-point and the code-point's ordinal value are associated into
| a Unicode charset. They have the so called 1:1 mapping.
|
| So, i was under the impression that by encoding the code-point into
| utf-8 was the same
On 12Jun2013 21:47, Rick Johnson rantingrickjohn...@gmail.com wrote:
| On Wednesday, June 12, 2013 11:08:44 PM UTC-5, Chris Angelico wrote:
| No. Definitely not. Programming does NOT begin with a GUI. It begins
| with something *simple*, so you're not stuck fiddling around with the
|
On Thu, 13 Jun 2013 17:26:18 +0300, Νικόλαος Κούρας wrote:
i just want 4 cases to examine so correct execute to be run:
i'm reading and reading and reading this all over:
if '-' not in ( name and month and year ):
and i cant comprehend it.
Don't just read it. Open the interactive
On Thu, 13 Jun 2013 17:37:34 +0200, Tomasz Rola wrote:
If he (son) learns Haskell, he may as well stay with it, because it's
quite decent lang as far as I can tell. And it's compiled, too.
So is Python.
I would also consider Racket, which is a Scheme superset. It too, comes
with
On Thu, 13 Jun 2013 10:16:42 -0400, Zero Piraeus wrote:
:
Steven, i can create a normal user account for you and copy files.py
into your home folder if you want to take a look from within.
Nikos, please, DO NOT DO THIS.
It must be clear to you that Steven is *much* more experienced
On 06/13/2013 06:23 PM, Steven D'Aprano wrote:
I consider IDEs to be an attractive nuisance. It's like learning to be a
chef by putting food in a microwave and pushing the pre-set buttons.
+1 QOTW
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
I consider IDEs to be an attractive nuisance. It's like learning to be a
chef by putting food in a microwave and pushing the pre-set buttons.
+1 QotW
--
\“With Lisp or Forth, a master programmer has unlimited power |
On Thu, 13 Jun 2013 20:15:42 +, Giorgos Tzampanakis wrote:
Therefore: if the leak seems to be small, it may be much more advicable
to restart your process periodically (during times where a restart does
not hurt much) rather than try to find (and fix) the leaks. Only when
the leak is
On Thu, 13 Jun 2013 12:28:09 -0700, buford.lumbar wrote:
Hi, I'm new to Python. Would someone be able to write me and/or to show
me how to write a simple program that:
[snip directions]
Cannot be done. What you describe is not simple, and it certainly is
not super simple like you have in your
On Thu, 13 Jun 2013 19:20:06 +0300, Νικόλαος Κούρας wrote:
But iam not offering Steven full root access, but restricted user level
access. Are you implying that for example one could elevate his
privileges to root level access form within a normal restricted user
account?
Me personally?
On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote:
iam researchign a solution to this as we speak.
Spamming endless ZOMG HELP ME I'M INCOMPETENT posts isn't research.
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 14, 5:44 am, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
On Thu, 13 Jun 2013 06:37:34 -0700, rusi wrote:
Python-the-language has strengths that are undermined by the biases in
the culture of Python.
This implies that there are strengths in Python-the-language which
On Thursday, June 13, 2013 3:18:57 PM UTC-5, Joshua Landau wrote:
[...]
GUI is boring. I don't give a damn about that. If I had it
my way, I'd never write any interfaces again (although
designing them is fine). Console interaction is faster to
do and it lets me do the stuff I *want* to do
Hi,
If anyone has some favorite books or Web sites which explore using
Python for various system administration tasks, I'd be interested in
hearing about them. I'm primarily interested in resources which focus
on Linux, but since I work in a multi-platform environment, pointers
to sites which
On Fri, Jun 14, 2013 at 1:33 PM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
For instance, if i want to
open a text file on my machine, i merely navigate to the
file via my file browser interface, using clicks along the
way, and then the final double click will open the text file
using
On Fri, Jun 14, 2013 at 1:33 PM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
On Thursday, June 13, 2013 3:18:57 PM UTC-5, Joshua Landau wrote:
[...]
GUI is boring. I don't give a damn about that. If I had it
my way, I'd never write any interfaces again (although
designing them is fine).
On Jun 14, 12:28 am, buford.lum...@gmail.com wrote:
Hi, I'm new to Python. Would someone be able to write me and/or to show me
how to write a simple program that:
1-follows a hyperlink from MS Excel to the internet (one of many links like
this,http://www.zipdatamaps.com/76180, for e.g.) and
I don't normally respond to trolls, but I'll make an exception here.
On 14 June 2013 04:33, Rick Johnson rantingrickjohn...@gmail.com wrote:
On Thursday, June 13, 2013 3:18:57 PM UTC-5, Joshua Landau wrote:
[...]
GUI is boring. I don't give a damn about that. If I had it
my way, I'd never
Fábio Santos fabiosantos...@gmail.com wrote:
On 5 Jun 2013 06:23, Tim Roberts t...@probo.com wrote:
A single machine word was 60 bits, so a single register read got you 10
characters.
10 characters! Now that sounds like it's enough to actually store a word.
However long words can inadverten be
On 14/6/2013 1:46 πμ, Dennis Lee Bieber wrote:
On Wed, 12 Jun 2013 09:09:05 + (UTC), ??
supp...@superhost.gr declaimed the following:
(*) infact UTF8 also indicates the end of each character
Up to a point. The initial byte encodes the length and the top few
bits, but the
Chris Angelico ros...@gmail.com wrote in message
news:CAPTjJmo+fWsCD3Lb6s+zmWspKzzk_JB=pbcvflbzjgcfxvm...@mail.gmail.com...
On Thu, Jun 13, 2013 at 7:32 PM, Frank Millman fr...@chagford.com wrote:
I am talking about what I call 'field-by-field validation'. Each field
could
have one or more
On 14.06.2013 03:00, Yves S. Garret wrote:
Thanks again Kevin. I'm deviating from the original thread,
but I've got another issue. When I try to load the json file
and then parse it, this is the error that I get:
http://bin.cakephp.org/view/1329549559
1) Please don't top post. Put your
Ronald Oussoren added the comment:
I don't agree that adding a table/picture is the only thing that can be done,
or even that it is a good idea.
IMHO the subprocess documentation is clear enough about the distinction between
bytes and string, especially in the section about convenience
Ezio Melotti added the comment:
Also in the Python 3 docs we don't compare the current behavior with Python 2.
Ronald patch LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17860
___
Ned Deily added the comment:
Looks good to me, other than that the doc change should include a version added
directive (which can be added by the committer):
.. function:: clear_cache()
+ .. versionadded:: 3.4
+
Clear the filecmp cache. This may be useful if a file is compared so
Serhiy Storchaka added the comment:
LGTM.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17860
___
___
Python-bugs-list
Vinay Sajip added the comment:
Recent changes to the launcher mean that for a shebang line of #!/usr/bin/env
python, the path is searched for a Python executable. This will include the
Python executable in an activated venv, so I am closing this issue. The change
is already available for
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17010
___
Roundup Robot added the comment:
New changeset 00a199c265c3 by Serhiy Storchaka in branch 'default':
Issue #18048: Rename test_pep263.py to test_source_encoding.py.
http://hg.python.org/cpython/rev/00a199c265c3
New changeset 3b906421245d by Serhiy Storchaka in branch 'default':
Issue #18048:
Serhiy Storchaka added the comment:
Merging itself is trivial. The trick is how preserve the history of both files.
Unfortunately this can't be represented in one mercurial patch. Three commits
needed for this.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
Piotr Dobrogost added the comment:
@Vinay
Is there any discussion which lead to this change?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17010
___
New submission from Serhiy Storchaka:
Here is a patch which contains followed changes:
* Use bytes in test_exec_valid_coding(). Encoding instruction is ignored in
strings.
* Use non-ascii data in test_exec_valid_coding() to check that encoding is
working.
* Use explicit file encoding in
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file30569/test_coding.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18202
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file30570/test_coding.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18202
___
Mark Levitt added the comment:
Cool. I've gone ahead and generated a new patch with the version added
directive included.
--
Added file: http://bugs.python.org/file30571/18149-3.patch
___
Python tracker rep...@bugs.python.org
Vinay Sajip added the comment:
Is there any discussion which lead to this change?
http://mail.python.org/pipermail/python-dev/2013-May/125939.html
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17010
Changes by Berker Peksag berker.pek...@gmail.com:
--
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file30572/issue18179.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18179
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
assignee: docs@python - ronaldoussoren
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17860
___
Paul Moore added the comment:
There's also https://pypi.python.org/pypi/sarge
One other thing I *often* want to do when scripting commands is to capture
output, but provide some form of progress reporting (something like a dot per
line of output, usually). That's annoyingly verbose with
Berker Peksag added the comment:
Here's a patch. Changes:
- Used types.ModuleType instead of type(sys)
- Updated imp and importlib docs
- Moved test_imp.ReloadTests to test_importlib.test_api.ReloadTests
--
keywords: +patch
nosy: +berker.peksag
stage: test needed - patch review
Added
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8402
___
___
Python-bugs-list
Xavier de Gaye added the comment:
Attached are two test cases for this patch.
test_simple_producer still fails with the new patch because it should be:
self.producer_fifo.extendleft([first, data])
instead of:
self.producer_fifo.appendleft([data, first])
The order of the items in the
anatoly techtonik added the comment:
On Thu, Jun 13, 2013 at 9:20 AM, Ezio Melotti rep...@bugs.python.orgwrote:
Also in the Python 3 docs we don't compare the current behavior with
Python 2.
That's most unfortunate. Major PITA comes from attempts to port existing
code.
--
anatoly techtonik added the comment:
_failed_ attempts to port existing code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17860
___
___
STINNER Victor added the comment:
This patch does not propose a simple API to reuse internal
debug hooks when replacing system (PyMem) allocators.
Ok, this is now fixed with new patch (version 5). Nick does not want a new
environment variable, so I added instead a new function
Andrew Stormont added the comment:
I think you mean:
self.producer_fifo.extendleft([data, first])
Instead of:
self.producer_fifo.extendleft([first, data])
No?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17925
New submission from STINNER Victor:
The issue #3329 proposes an API to replace memory allocator functions. But
Python calls directly malloc(), realloc() and free() in some functions, so
custom allocators would not be used there.
Examples of functions calling malloc/realloc/free directly:
STINNER Victor added the comment:
To be exhaustive, another patch should be developed to replace
all calls for malloc/realloc/free by
PyMem_Malloc/PyMem_Realloc/PyMem_Free.
I created issue #18203 for this point.
PyObject_Malloc() is still using mmap() or malloc() internally
for example.
Serhiy Storchaka added the comment:
Be aware about external code which allocate memory itself (i.e. expat).
--
nosy: +serhiy.storchaka
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18203
Amaury Forgeot d'Arc added the comment:
Surely there are already good places to help with 2-3 transition?
The Library Reference is not such a place.
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
Be aware about external code which allocate memory itself (i.e. expat).
Well, I know that it will hard to cover 100% of the stdlib. I just want to
replace the most obvious calls.
Some libraries can be configured to use a custom memory allocators:
- zlib:
Nick Coghlan added the comment:
I think PEP 393 gives us a quick way to fast parsing: if the max char is 128,
just roll straight into normal processing, otherwise do the normalisation and
all decimal digits are from the same script steps.
There are almost certainly better ways to do the
Christian Heimes added the comment:
expat has a XML_Memory_Handling_Suite. You just have to replace
XML_ParserCreate() and XML_ParserCreateNS with XML_ParserCreate_MM().
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
Mark Dickinson added the comment:
+1. I recently chastised a colleague for doing raise KeyError(long_message)
instead of raise KeyError(missing_item). When I went to the standard library
to support my POV, I found (to my chagrin) a big mix of the two styles.
from collections import
Éric Araujo added the comment:
There are a handful of issues related to symlinks handling in distutils. From
the discussion on #15205 , the state of things is that basically distutils has
no defined behaviour with respect to symlinks, and it’s not clear to me what
the desired behaviour would
Michał Górny added the comment:
Well, I don't see much relevance between the two bugs, to be honest :). I think
this bug is more of a symptom of a deeper issue with the way distutils is
installing files.
But the issue is causing repeating issues for our users, and I don't really
know what is
Georg Brandl added the comment:
We have to be careful with the GIL: PyMem_*() functions can only be
called when holding the GIL.
Some libraries can be configured to use a custom memory allocators:
[...]
We should probably uses these functions to reuse Python allocators
(PyMem_Malloc())
raylu added the comment:
The URL works for me.
While wget does download it successfully, I get the following output:
$ wget
http://info.kingcounty.gov/health/ehs/foodsafety/inspections/XmlRest.aspx\?Zip_Code\=98199
--2013-06-13 12:15:21--
New submission from Matt Perry:
Distutils attempts r.read() instead of request.read() when showing an
upload error message.
--
assignee: eric.araujo
components: Distutils
files: disutils_error_message.diff
keywords: patch
messages: 191088
nosy: eric.araujo, tarek, unshift
priority:
101 - 200 of 222 matches
Mail list logo