Andrew Svetlov added the comment:
Vinay, it's processed in
PyObject_CallFunction(loader_type, "sN", "__main__", filename_obj)
Please note "sN" format istead "sO".
"N" means PyObject
Andrew Svetlov added the comment:
No problems!
--
___
Python tracker
<http://bugs.python.org/issue14900>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Hi, I'm ok with patch but I guess to add some comment in C code to prevent,
hmm, back optimization from upcoming contributor.
The same for #16230
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Fixed. Thanks, Zachary.
--
nosy: +asvetlov
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Sorry, looks like I don't understood you correctly.
Do you want to replace `except:` to `except Exception` or something else?
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
As I said tests was not crashed on my linux 64 bit Ubuntu with buggy code.
--
___
Python tracker
<http://bugs.python.org/issue16
Andrew Svetlov added the comment:
Fixed in 56c3ab6f7f07, 56c3ab6f7f07, fa7311caa203, 7dda9dc5e830
Thanks.
--
nosy: +asvetlov
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
versions: +Python 3.2, Python 3.4
_
Andrew Svetlov added the comment:
I have python built with Py_DEBUG (./configure --with-pydebug)
What I' missed?
I'm ok with status quo but just want to understand how to configure my build
properly.
--
___
Python tracker
<http://bu
Andrew Svetlov added the comment:
Ok. Thanks.
--
___
Python tracker
<http://bugs.python.org/issue16228>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Committed. Thanks to all.
Keeping in mind idlelib is a bit specific part of stdlib which cannot make
backward incompatibility I've committed to 2.7, 3.2, 3.3 and 3.4.
--
resolution: accepted -> fixed
stage: patch review -> committed/reje
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15767>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I thought it's desirable feature which cannot produce backward incompatibility
problems.
Can revert commits for 2.7-3.3 if needed.
--
___
Python tracker
<http://bugs.python.org/issu
Andrew Svetlov added the comment:
I see. Sorry, my fault.
Give me weekend to figure out why it fails.
Thanks.
--
assignee: -> asvetlov
___
Python tracker
<http://bugs.python.org/issu
Andrew Svetlov added the comment:
I've fixed bare except: in docs.
Tomorrow we will have Python sprint in Kiev.
Maybe somebody will take a look on Lib.
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Perhaps we have to skip tests if filesystem encoding doesn't support wide
characters.
Not sure about the way: should we skip if sys.getfilesystemencoding() is not
utf8 or better to try encode path and skip if it fails?
I think the later is b
Andrew Svetlov added the comment:
I guess to return sh if supported, cmd.exe for Windows.
The reason is: other shells can have different calling agreements (I mean rules
to process command line).
subprocess intended to use by library writers, so we need solid well known
basis.
There are
Andrew Svetlov added the comment:
Looking on the last message from Stefan I think we have to check cmdpath to be
encoded via sys.getfilesystemencoding() first and skip test if fails.
--
___
Python tracker
<http://bugs.python.org/issue16
Andrew Svetlov added the comment:
BTW, according to PEP 11 (http://www.python.org/dev/peps/pep-0011/)
Python 3.4 will remove code for "Windows systems where COMSPEC points to
command.com". There are only winner: cmd.exe as well known shell good as
default, command.com is gone.
cmd.
Andrew Svetlov added the comment:
I will fix it tomorrow at Kiev Python sprint.
--
___
Python tracker
<http://bugs.python.org/issue16218>
___
___
Python-bug
Andrew Svetlov added the comment:
I guess the schema: keep the current state a while.
Please test context menu for all configurations you have.
If you will have any problem — commits will be reverted.
If anybody will report about backward incompatibility problems — I'll revert
ch
Andrew Svetlov added the comment:
LGTM
--
___
Python tracker
<http://bugs.python.org/issue1207589>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I like to follow Stefan suggestion.
New test is simple and it works.
--
___
Python tracker
<http://bugs.python.org/issue16
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue13238>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed. Thanks.
--
resolution: -> fixed
stage: commit review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Committed. Thanks.
--
resolution: -> fixed
stage: -> test needed
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
I would to prefer *get_default_shell* as function name (it's a bit shorter).
Also please add ".. versionadded:: 3.4" tag to docs.
--
___
Python tracker
<http://bugs.pyt
Changes by Andrew Svetlov :
--
stage: test needed -> committed/rejected
___
Python tracker
<http://bugs.python.org/issue16284>
___
___
Python-bugs-list mai
Andrew Svetlov added the comment:
Committed. Thanks, guys!
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
Andrew Svetlov added the comment:
Is it ok to import *which* functions from shutil in *os* module?
There is only reason to put function into shutil.
But I like Christian's sketch.
Also, what reason to get shell name from COMSPEC? What should we do if COMSPEC
points to some another shell
Andrew Svetlov added the comment:
I like the last patch from Victor. It works on Windows also.
--
___
Python tracker
<http://bugs.python.org/issue16218>
___
___
Andrew Svetlov added the comment:
Thanks, Taras.
--
resolution: -> fixed
stage: commit review -> committed/rejected
status: open -> closed
type: -> enhancement
___
Python tracker
<http://bugs.python
Andrew Svetlov added the comment:
Well. Fix (and test) is related to bug in python itself (./Python/pythonrun.c)
pylauncher should be tested also, you are right.
--
___
Python tracker
<http://bugs.python.org/issue16
Andrew Svetlov added the comment:
Christian,
Is there ``os.confstr`` supported by MaxOS X?
Is there using of environ['PATH'] makes sense as good callback if former is not
present?
About COMSPEC. From my point of view it's useful if we need default path.
Or if we have Win9x,
Andrew Svetlov added the comment:
Is it should be separate binary?
Or problem can be solved by regular python script with executable bit? What's
about Windows?
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
I would say
@x.deleter
def x(self):
del super().x
confuses me a bit.
But I'm only -0, let's see other developers for their opinions.
--
___
Python tracker
<http://bugs.python.o
Andrew Svetlov added the comment:
Storing several modules in single so/pyd file is crazy idea from my perspective.
The test is definitely required.
BTW, Why version is set to 3.5?
Should component be set to "Interpreter code"?
--
nosy:
Andrew Svetlov added the comment:
Amaury, I'm ok with pushing several modules into python33.dll or embedding it
directly into executable.
For standard so/dll files you have to use different file names for modules to
make regular import statement work. It can be done via symlink/hardlink
Andrew Svetlov added the comment:
Original file has been changed just now.
Also it would be nice to get diff, not just new file (to check correctness of
transition).
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16
Andrew Svetlov added the comment:
Confirm it for SL4A Python 3.2
--
___
Python tracker
<http://bugs.python.org/issue16353>
___
___
Python-bugs-list mailin
Andrew Svetlov added the comment:
Reviewed and commented the last patch.
--
___
Python tracker
<http://bugs.python.org/issue16421>
___
___
Python-bugs-list mailin
Andrew Svetlov added the comment:
I mean the last available SL4A doesn't have os.confstr
Fallback should work, os.environ['PATH'] contains '/system/bin' where 'sh' is
living.
--
___
Python tracker
Andrew Svetlov added the comment:
Looks better, will check on Windows a bit later.
BTW, ACKS and NEWS are usually edited by committer, but leave that as is for
now.
--
versions: +Python 3.4 -Python 3.5
___
Python tracker
<http://bugs.python.
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16416>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Andrew Gorcester:
Documentation here:
http://docs.python.org/3/library/string.html#template-strings says "Instead of
the normal %-based substitutions, Templates support $-based substitutions..."
I believe it is confusing to refer to %-based substitutions in
Andrew Svetlov added the comment:
Václav, your patch passed on Windows.
Will commit it after double check.
Thanks.
--
assignee: -> asvetlov
___
Python tracker
<http://bugs.python.org/issu
Andrew Gorcester added the comment:
Sorry, my mistake -- I thought that %-based formatting had been deprecated and
removed by now, because it wasn't documented in library/string.html . However,
I still think referring to %-based formatting as "normal" in Python 3 is
confusin
Andrew Svetlov added the comment:
Maybe better to use:
Fail if the two objects are *not* equal as determined by the '!=' operator.
???
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.o
Andrew Svetlov added the comment:
I guess the reason is that names are classes, not functions. See
http://docs.python.org/3/library/functions.html#func-dict also for example.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16
Andrew Svetlov added the comment:
Fixed. Thanks.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16435>
___
___
Python-bugs-list mailin
Changes by Andrew Svetlov :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
type: -> behavior
___
Python tracker
<http://bugs.python
Andrew Svetlov added the comment:
Oops. Sorry, my fault.
--
___
Python tracker
<http://bugs.python.org/issue16433>
___
___
Python-bugs-list mailing list
Unsub
Andrew Svetlov added the comment:
No, it isn't sphinx bug, it's markup problem.
Will commit a fix in few minutes.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.o
Andrew Svetlov added the comment:
Fixed. Thanks.
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16469>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue14373>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
type: -> behavior
___
Python tracker
<http://bugs.python
Andrew Svetlov added the comment:
Fixed in a8ca14983ab1 and 9961a0dafcc7. Thanks, Manuel.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16470>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I think much more important to mention registry key in
http://docs.python.org/3/library/importlib.html#importlib.machinery.WindowsRegistryFinder
``imp`` is private module to access implementation internals but ``importlib``
is public interface to import
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16391>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16392>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16404>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16422>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16427>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16429>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16434>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16444>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16447>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16446>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue16434>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16483>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16480>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16465>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15346>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16490>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16487>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16500>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I'm agree with solution, see my comments in review for the patch.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Perhaps it's a bit new behavior and should be applied to 3.4 only.
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Fixed. Thanks.
--
nosy: +asvetlov
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16474>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
LGTM
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16477>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
+0 for patch
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16488>
___
___
Python-bugs-list mailin
New submission from Andrew Svetlov:
http://greentreesnakes.readthedocs.org/en/latest/index.html
is excellent and comprehensive documentation for ast tree structures.
It would be nice to incorporate that docs into stdlib documentation, but adding
*see also* section is good enoigh as first step
Andrew Svetlov added the comment:
I've done it just now sending him message via bitbucket.
--
___
Python tracker
<http://bugs.python.org/issue16544>
___
___
Andrew Svetlov added the comment:
The patch is better than current doc.
Would you like to replace textual description of stack layout with some kind of
ascii-art or table? I think it can be more readable.
--
nosy: +asvetlov
___
Python tracker
<h
Andrew McNabb added the comment:
The --no-user-cfg option works for me in Python 2.7, but it does not seem to be
in Python 3.2 or 3.3:
error: option --no-user-cfg not recognized
Am I doing something wrong, or was this feature only added to Python 2.7?
--
nosy: +amcnabb
Andrew Svetlov added the comment:
Pushed.
Thanks, Alexey.
--
versions: +Python 3.4 -Python 3.3
___
Python tracker
<http://bugs.python.org/issue16464>
___
___
Pytho
Changes by Andrew Svetlov :
--
assignee: -> asvetlov
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15716>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed. Thanks.
--
nosy: +asvetlov
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Really I don't know what's better. Victor, what do you think?
--
___
Python tracker
<http://bugs.python.org/issue16323>
___
__
Changes by Andrew Svetlov :
--
keywords: +easy
stage: -> needs patch
type: -> enhancement
versions: +Python 3.4
___
Python tracker
<http://bugs.python.org/i
Andrew Svetlov added the comment:
I think nothing bad to push additional tests into 3.3 also.
--
___
Python tracker
<http://bugs.python.org/issue16474>
___
___
Andrew Svetlov added the comment:
Sorry, looks like it work already was done. Reverting: c008f070f88a
814403d824a5 ddcf09a348ca
--
nosy: +asvetlov
resolution: -> duplicate
stage: patch review -> committed/rejected
status: open -> closed
_
Andrew Svetlov added the comment:
Fixed. Thanks, Serhiy
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Removed bad sentence.
--
___
Python tracker
<http://bugs.python.org/issue16323>
___
___
Python-bugs-list mailing list
Unsub
Andrew Svetlov added the comment:
I think it should not be fixed in 2.7, so I guess to close the issue as wontfix.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15989>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Pushed doc patch.
Nick, is it good for you?
--
Added file: http://bugs.python.org/file28159/issue16194.diff
___
Python tracker
<http://bugs.python.org/issue16
2501 - 2600 of 3160 matches
Mail list logo