Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Thanks, Zackery!
--
___
Python tracker
<https://bugs.python.org/issue35269>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Stormont added the comment:
Looks like a reasonable fix to me. What needs to be done to get this
integrated?
--
nosy: +andy_js
___
Python tracker
<http://bugs.python.org/issue17
Andrew Stormont added the comment:
What about changing:
self.producer_fifo.appendleft(first)
self.producer_fifo.appendleft(data)
To
self.producer_fifo.extendleft([data, first])
Assuming deque's extendleft is actually thread safe.
--
___
P
Andrew Stormont added the comment:
Great. Everybody's happy now, surely?
--
___
Python tracker
<http://bugs.python.org/issue17925>
___
___
Python-bugs-list m
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
<http://bugs.python.org/issue17
Andrew Berg added the comment:
What is the status of this? If the patch looks good, then will it be pushed
into 3.4?
--
nosy: +aberg
___
Python tracker
<http://bugs.python.org/issue9
Andrew Berg added the comment:
The patch doesn't work for 3.3 (I think it's just because the line numbers are
different), but looking over what the patch does, it looks like
parse_known_args will return a value for args if there is an unrecognized
argument, which will cause parse_ar
New submission from Andrew Rowe:
diff -r 65f2c92ed079 Modules/python.c
--- a/Modules/python.c Sun Jul 07 23:30:24 2013 +0200
+++ b/Modules/python.c Mon Jul 08 10:46:30 2013 +1000
@@ -19,7 +19,7 @@
main(int argc, char **argv)
{
wchar_t **argv_copy;
-/* We need a second copies, as
New submission from andrew cooke:
Using python 3.3, if I try to run __main__ I see this error:
Traceback (most recent call last):
File "/usr/local/lib/python3.3/runpy.py", line 140, in _run_module_as_main
mod_name, loader, c
andrew cooke added the comment:
can't see how to edit posts, so adding as a comment, this is what triggers the
bug:
> PYTHONPATH=src python -m simplessl
--
___
Python tracker
<http://bugs.python.org
New submission from andrew cooke:
Apparently the limited support for -m is standard behaviour - see
http://bugs.python.org/issue18422 - but it's not documented at
http://docs.python.org/3/using/cmdline.html#cmdoption-m
That should say, somewhere, that it only applies to leaf module
andrew cooke added the comment:
in case anyone else ends up here through google...
the problem described here is not related to the linked issue. it was just a
missing `__init__.py` in the module (plus sucky error messages).
the following works fine:
.
├── README.md
├── src
New submission from Andrew Myers:
Sorry if this isn't the place for this, it is my first python bug report.
In PEP 249 Python database API specifiction 2.0 the Cursor execute method[1] is
described as taking a variable number of arguments for substitution of '?' in
the SQL
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue18699>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Andrew Svetlov:
I think this is a bug.
Can be reproduced on all Pythons (from 2.6 to 3.4a).
Maybe should be fixed for 3.4 only as backward incompatible change.
--
messages: 195263
nosy: asvetlov
priority: normal
severity: normal
status: open
title: '''
Andrew Svetlov added the comment:
For dict it is correct from my perspective.
"" % {'a': 'b'}
tries to substitute format specs like "%(a)s" and does nothing if spec is not
present.
But list case like
"" % [1]
confuse me.
--
Changes by Andrew Svetlov :
--
dependencies: +add function to os module for getting path to default shell
___
Python tracker
<http://bugs.python.org/issue16
Changes by Andrew Svetlov :
--
versions: -Python 2.7, Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue16255>
___
___
Python-bugs-list m
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17213>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue18823>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17908>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Looks good but review comments worth to be applied or rejected with reasonable
note.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue11
Andrew Svetlov added the comment:
Matt, I've added new patch.
Will commit it after tomorrow if nobody object.
--
Added file: http://bugs.python.org/file31483/issue11798.diff
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Matt, would you sign licence agreement http://www.python.org/psf/contrib/ ?
The Python Software Fondation is asking all contributors to sign it.
Thanks.
--
___
Python tracker
<http://bugs.python.org/issue11
Changes by Andrew Svetlov :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue11798>
___
___
Python-bugs-list
Andrew Svetlov added the comment:
Sorry. Tests are fixed now.
--
___
Python tracker
<http://bugs.python.org/issue11798>
___
___
Python-bugs-list mailing list
Unsub
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue18550>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Andrew Svetlov:
We need public API for getting main thread object.
See also http://comments.gmane.org/gmane.comp.python.devel/141370
--
messages: 196521
nosy: asvetlov, haypo, pitrou
priority: normal
severity: normal
status: open
title: Add threading.main_thread
Andrew Svetlov added the comment:
Patch with code and tests is attached.
Test fails when program forks from thread other than the main one.
--
keywords: +patch
Added file: http://bugs.python.org/file31519/issue18882.diff
___
Python tracker
<h
Andrew Svetlov added the comment:
signal module reinitializes main_thread variable in PyOS_AfterFork, threading
does nothing with forking.
--
___
Python tracker
<http://bugs.python.org/issue18
Andrew Svetlov added the comment:
http://bugs.python.org/issue16500 is required to make work after fork from
thread other than the main one.
--
dependencies: +Add an 'atfork' module
___
Python tracker
<http://bugs.python.o
Andrew Svetlov added the comment:
There is updated patch.
All tests pass.
I've added docs for threading.main_thread() function also.
--
Added file: http://bugs.python.org/file31530/issue18882-2.diff
___
Python tracker
<http://bugs.py
Andrew Svetlov added the comment:
Good catch!
That's because -R run the same test suite several times.
I'm working on patch.
--
resolution: fixed ->
status: closed -> open
___
Python tracker
<http://bugs.py
Andrew Svetlov added the comment:
Now 'regrtest.py -j4 -R : ' passes.
Do we need to add parameter for disabling tests cleanup to TestSuite,
TestLoader and TestProgrm constructors?
--
___
Python tracker
<http://bugs.python.o
Andrew Svetlov added the comment:
Uploaded new patch.
> - the doc addition needs a "versionadded" tag
Fixed.
> - "The main thread is the thread that the OS creates to run application.": I
> would rephrase this "In normal conditions, the main thread is t
Andrew Svetlov added the comment:
Ok. Close as won't fix.
Please reopen if needed.
--
resolution: -> wont fix
status: open -> closed
___
Python tracker
<http://bugs.python.
Andrew Svetlov added the comment:
Ok. Let's close issue.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.
Andrew Svetlov added the comment:
Agree
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue18553>
___
___
Python-bugs-list mailing list
Unsub
Changes by Andrew Svetlov :
--
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issue18912>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
I did not received review email, sorry.
Docstring is added.
BTW 'threading' module has almost no docstrings, that's why I've added only
docs at first.
Do you think docstrings should be added to all publ
Andrew Svetlov added the comment:
This issue is duplicate for #16487
--
nosy: +asvetlov
resolution: -> duplicate
status: open -> closed
superseder: -> Allow ssl certificates to be specified from memory rather than
files.
___
Python track
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue14624>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue14625>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue14579>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
sbt, looks good for me.
--
___
Python tracker
<http://bugs.python.org/issue14369>
___
___
Python-bugs-list mailing list
Unsub
Andrew Svetlov added the comment:
Serhiy, I like to fix tkinter itself, not only IDLE.
There are other problems like idle is crashing if non-bmp char will be pasted
from clipboard.
Moreover, non-bmp behavior is different from one Tk widget to other.
I still want to make codec for it and then
New submission from Andrew McNabb :
When a os.makedirs is used under an autofs directory, it crashes. For example,
on my machine, `os.makedirs('/net/prodigy/tmp')` crashes with the following
traceback:
Traceback (most recent call last):
...
File "/usr/lib64/python2.7/os.py
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue9260>
___
___
Python-bugs-list mailing list
Unsubscribe:
andrew cooke added the comment:
perhaps it could just work in a simple, consistent way?
in my original report i wondered whether there was a significant performance
hit. but so far the objections against fixing this seem to be (1) a lawyer
could be convinced the current behaviour is
Changes by andrew cooke :
--
nosy: -acooke
___
Python tracker
<http://bugs.python.org/issue12029>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Patch looks good for me, works fine.
I think it can be applied to 2.7 as well.
There are only problem: I don't know how to make test for it without using
external tools like xclip or ctypes bindings for X so li
New submission from Andrew Svetlov :
By default python doesn't run full test suite, but regrtest accepts -u
parameter. The simplest way to reproduce is:
$ ./python -m test.regrtest -u gui test_ttk_guionly
--
components: Tkinter
messages: 160547
nosy: asvetlov
priority: cri
Andrew Svetlov added the comment:
You are right: there are no tests as well as for the most part of tkinter.
Why don't make it if possible?
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
I'm ok with last patch version.
--
___
Python tracker
<http://bugs.python.org/issue14777>
___
___
Python-bugs-list m
Andrew McNabb added the comment:
> Andrew, are you still with us?
I'm here, but it's been a busy few weeks. I'll see if I can spend some time on
this today.
--
___
Python tracker
<http://bugs.
Andrew McNabb added the comment:
Some interesting information. If I do `os.mkdir('/net/prodigy/tmp')`, it gives
"OSError: [Errno 13] Permission denied: '/net/prodigy/tmp'". However, if I
instead do `os.mkdir('/net/prodigy/tmp/hi')`, it succeeds. (Note
Changes by Andrew McNabb :
Added file: http://bugs.python.org/file25611/mkdir-p.out
___
Python tracker
<http://bugs.python.org/issue14702>
___
___
Python-bugs-list mailin
Changes by Andrew McNabb :
Added file: http://bugs.python.org/file25612/makedirs.out
___
Python tracker
<http://bugs.python.org/issue14702>
___
___
Python-bugs-list mailin
Andrew McNabb added the comment:
This isn't fixed. All of the examples I've given were with a 3.3.0 kernel.
Doing a stat would be a fix.
--
status: closed -> open
___
Python tracker
<http://bugs.pytho
Andrew McNabb added the comment:
Hmm. Maybe there's a difference between doing stat('/net/prodigy') vs.
stat('/net/prodigy/tmp'). Just a guess, but maybe the former can succeed before
the mount completes, but the latter has to wait
Andrew McNabb added the comment:
By the way, if my hunch about the difference in stat of '/net/prodigy' vs.
'/net/prodigy/tmp' is correct, then this would explain why makedirs on deeper
directories work. Specifically, one of the shallower stat calls would force the
moun
Andrew McNabb added the comment:
I see no evidence that this is a bug in Linux, and I think it's ridiculous to
close it when a trivial one-line fix is available. I won't reopen it because
it's obvious no one wants to address this. :(
--
___
Andrew McNabb added the comment:
I posted a bug report with the kernel here:
https://bugzilla.kernel.org/show_bug.cgi?id=43262
--
___
Python tracker
<http://bugs.python.org/issue14
Andrew McNabb added the comment:
> Which one-line fix do you propose?
Doing a stat("/net/prodigy/tmp") before mkdir("/net/prodigy/tmp") is an
extremely simple workaround.
Of course, I would love to see clear documentation of how the kernel is defined
to behave in t
Andrew McNabb added the comment:
> Maybe I'm confused, but the presence of "/net/prodigy" is *not*
> the issue here, and what gets mounted is *not* "/net/prodigy",
> but "/net/prodigy/tmp" (do "mount" to confirm or dispute).
No, /net
New submission from Andrew McChildren :
When changing theme colors, preview window uses only default font
--
components: IDLE
messages: 161309
nosy: Andrew.McChildren
priority: normal
severity: normal
status: open
title: IDLE highlighting theme does not preview with user-selected fonts
andrew cooke added the comment:
hi - i'm the original author (may be using a different account). as far as i
remember, i raised this because it seemed relevant given the link i gave. if
you've looked at the issue and think your approach would work, or that this
should be
Andrew Svetlov added the comment:
Michael Driscoll, thank you for patch.
Let's go on after Python 3.3 release — those patches should be applied for 3.4.
For now we need to wait.
--
___
Python tracker
<http://bugs.python.org/is
Patrick Andrew added the comment:
Sure, I'll have that for you shortly.
--
___
Python tracker
<http://bugs.python.org/issue14978>
___
___
Python-bugs-list m
New submission from Andrew MacKeith :
In certain cases, a compiled Python file (.pyc) created on Unix will be
recompiled when imported on Windows, despite the original code file (.py) being
the same.
The cause is the use of the c fstat function in import.c.
This behavior is contrary to the
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15397>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Can you push patch in form available for review via Rietveld?
--
___
Python tracker
<http://bugs.python.org/issue15397>
___
___
Andrew Svetlov added the comment:
Looks like PyCFunction_NewEx is part of Stable API.
If I'm right you have to make stub for this one as simple trampoline to new
PyCFunction_NewExEx implementation.
Martin, please confirm.
--
nosy: +l
Andrew Svetlov added the comment:
Stefan, you right.
A bit hairy idiom from my perspective, but it works.
Looks like this way used only for PyCFunction_New, all other code follows
standard schema with trampoline.
--
___
Python tracker
<h
New submission from Andrew Svetlov :
Python leaks in method.__repr__ if class has no __name__.
Very rare situation.
--
assignee: asvetlov
components: Interpreter Core
files: leak.diff
keywords: patch
messages: 165913
nosy: asvetlov
priority: normal
severity: normal
status: open
title
Changes by Andrew Svetlov :
Removed file: http://bugs.python.org/file26448/leak.diff
___
Python tracker
<http://bugs.python.org/issue15404>
___
___
Python-bugs-list mailin
Changes by Andrew Svetlov :
Added file: http://bugs.python.org/file26449/leak.diff
___
Python tracker
<http://bugs.python.org/issue15404>
___
___
Python-bugs-list mailin
Changes by Andrew Svetlov :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue15404>
___
___
Python-bugs-list
Changes by Andrew Svetlov :
--
stage: -> committed/rejected
type: -> resource usage
___
Python tracker
<http://bugs.python.org/issue15404>
___
___
Pyth
Changes by Andrew Svetlov :
--
stage: needs patch -> patch review
___
Python tracker
<http://bugs.python.org/issue15363>
___
___
Python-bugs-list mai
Changes by Andrew Svetlov :
--
components: Library (Lib)
nosy: asvetlov
priority: normal
severity: normal
status: open
title: Add support for csh and fish in venv activation scripts
versions: Python 3.3
___
Python tracker
<http://bugs.python.
New submission from Andrew Svetlov :
I have added required shell files
--
keywords: +needs review, patch
Added file: http://bugs.python.org/file26474/issue15417.diff
___
Python tracker
<http://bugs.python.org/issue15
Andrew Svetlov added the comment:
No idea if Doc/using/venv-create.inc should be updated to reflect support of
new shells.
virtualenv does nothing in own documentation btw.
--
___
Python tracker
<http://bugs.python.org/issue15
Changes by Andrew Svetlov :
--
nosy: +carljm, vinay.sajip
___
Python tracker
<http://bugs.python.org/issue15417>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue14900>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
As PEP 405 has been implemented in Python 3.3 this issue can be closed I think.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue5
Andrew Svetlov added the comment:
Fixed. Thanks, Serhiy!
--
assignee: -> asvetlov
nosy: +asvetlov
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python
Andrew Svetlov added the comment:
+1 for patch applying in 3.3 at least
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15402>
___
___
Pytho
Andrew Svetlov added the comment:
Too late for 3.3
--
nosy: +asvetlov
versions: +Python 3.4 -Python 3.3
___
Python tracker
<http://bugs.python.org/issue15
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15133>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Add all recommended resources into seealso section.
If it's ok I will commit it next week.
--
keywords: +patch
Added file: http://bugs.python.org/file26477/issue15041.diff
___
Python tracker
Andrew Svetlov added the comment:
Stefan, I've fixed refleak found by you in #15404. Thanks.
--
___
Python tracker
<http://bugs.python.org/issue15397>
___
___
New submission from Andrew Svetlov :
For now (3.3 beta) PyCFunction_New defined as macro calling PyCFunction_NewEx.
To be compatible with PEP 384 (Defining a Stable ABI) Objects/methodobject.c
has trampoline function named PyCFunction_New which calls PyCFunction_NewEx.
This is only single usage
Andrew Svetlov added the comment:
1. I agree with you about exclusion from 3.3.
2. Hmm. Good question. For now virtualenv has support for cmd.exe, csh, fish,
bash/zsh and PowerShell.
I propose to add csh and fish to venv too.
If later somebody will push request for adding yet another shell
Changes by Andrew Svetlov :
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Ok
--
___
Python tracker
<http://bugs.python.org/issue15041>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15411>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Add patch for py3k
--
assignee: -> asvetlov
keywords: +patch
nosy: +asvetlov
versions: +Python 3.2, Python 3.3
Added file: http://bugs.python.org/file26574/issue12288.diff
___
Python tracker
<http://bugs.pyth
2101 - 2200 of 3160 matches
Mail list logo