New submission from Ramchandra Apte :
Decimal has compatibility for Python 2.3 (such as not using decorators) as
mentioned in comments in the source code for it.
This compatibility should be removed in Python 3.3 and if possible, in Python
3.2.
--
components: Library (Lib)
messages
Changes by Ramchandra Apte :
--
nosy: ramchandra.apte
priority: normal
severity: normal
status: open
title: Document ctypes.wintypes
___
Python tracker
<http://bugs.python.org/issue13
New submission from Ramchandra Apte :
Document ctypes.wintypes.
--
___
Python tracker
<http://bugs.python.org/issue13708>
___
___
Python-bugs-list mailin
Changes by Ramchandra Apte :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
___
Python tracker
<http://bugs.python.org/issu
New submission from Ramchandra Apte :
In section 15.17.1.17 in the ctypes documentation, the documentation says
"It is funny to see that on linux the sort function seems to work much more
efficiently, it is doing less comparisons"
"It is quite interesting to see that th
Changes by Ramchandra Apte :
--
title: hash() on string containing only null characters returns the length of
the string -> hash() on string containing only null characters returns the
length of the strings
___
Python tracker
&l
Changes by Ramchandra Apte :
--
title: hash() on string containing only null characters returns the length of
the strings -> hash() on strings containing only null characters returns the
length of the strings
___
Python tracker
&l
New submission from Ramchandra Apte :
If you run hash on strings containing only null characters it returns the
length of the string
>>> hash("\0")
1
>>> hash("\0\0")
2
>>> hash("\0"*1000)
1000
This behaviour is not like proper hash
New submission from Ramchandra Apte :
If you paste code with multiple lines which are not in a block of code into the
IDLE Shell and press enter to run the code, only the first line of the code
gets executed and the rest of the code is ignored.
You can even put garbage such as "&qu
New submission from Ramchandra Apte :
"base 16" should be "hexadecimal" in the Unicode HOWTO in both Python 2 and 3
docs.
--
assignee: docs@python
components: Documentation
messages: 151354
nosy: docs@python, ramchandra.apte
priority: normal
severity: normal
status:
New submission from Ramchandra Apte :
The Python 3 Docs don't highlight nonlocal such as in the code example in the
Python 3 documentation for itertools.zip_longest()
(http://docs.python.org/py3k/library/itertools.html)
--
messages: 151362
nosy: ramchandra.apte
priority: n
Changes by Ramchandra Apte :
--
title: The Python 3 Docs don't highlight nonlocal -> The Python 3 Docs doesn't
highlight nonlocal
___
Python tracker
<http://bugs.pytho
Changes by Ramchandra Apte :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
versions: +Python 3.1, Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issu
Ramchandra Apte added the comment:
There is another problem with the code it creates a dummy module when threading
is not available but now threading imports dummy_threading when threading is
not available.
Thanks
--
___
Python tracker
<h
New submission from Ramchandra Apte :
No completion appears when I import hashlib in IDLE and type in "hashlib." and
press Tab to complete.
With any other module it works.
--
components: IDLE, Library (Lib)
messages: 152531
nosy: ramchandra.apte
priority: normal
severity: nor
Ramchandra Apte added the comment:
I am using Ubuntu 11.04 with Python 3.2.2 from the package reprositeries
(binaries)
--
___
Python tracker
<http://bugs.python.org/issue13
New submission from Ramchandra Apte :
When the documentation for hashlib says "An HMAC object has the following
methods:" the list of methods says hmac.xxx which is wrong and should be
HMAC.xxx.
Thanks
--
assignee: docs@python
components: Documentation
messages: 152657
New submission from Ramchandra Apte :
"chosers" should be "choosers" in 'External libraries that operate on file
names (such as GUI file chosers) should also encode them according to the PEP.'
in text for PEP-383 (http://www.python.org/dev/peps/pep-0383/)
--
Ramchandra Apte added the comment:
It is the correct behaviour for an invalid usage to segfault and is also
mentioned in the documentation.
Can somebody close this bug as invalid?
--
nosy: +ramchandra.apte
___
Python tracker
<h
Changes by Ramchandra Apte :
--
title: Seg Fault in .so called by ctypes causes the interpreter to Seg Fault ->
please close - Seg Fault in .so called by ctypes causes the interpreter to Seg
Fault
___
Python tracker
<http://bugs.pyth
Changes by Ramchandra Apte :
--
components: +Documentation
___
Python tracker
<http://bugs.python.org/issue14011>
___
___
Python-bugs-list mailing list
Unsub
Ramchandra Apte added the comment:
@Nick I don't understand why should my patch make Formatter thread-unsafe - the
auto_field_count and manual variables are local variables just like the
variables in the other functions in Formatter.
--
___
P
Ramchandra Apte added the comment:
I have submitted a new patch, I have moved the increment to the end of if loop.
--
Added file: http://bugs.python.org/file24542/issue13598.diff
___
Python tracker
<http://bugs.python.org/issue13
Changes by Ramchandra Apte :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue8526>
___
___
Python-bugs-list mailing list
Unsubscri
Ramchandra Apte added the comment:
启朗.杨, are you using text.split() in the second case?
text.split() splits on any whitespace character including newlines while
re.split(text," ") splits on a space.
--
nosy: +ramchandra.apte
___
Pyth
Ramchandra Apte added the comment:
The problem is not in re, it is because you are passing '。' to re.split which
in Python 2.x is actually passed as '\xe3\x80\x82'.
You should pass u'。' to re.compile.
Could we raise a SyntaxError when in a progam a unicode c
Ramchandra Apte added the comment:
+1 for Éric Araujo's idea.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue14112>
___
___
Pytho
Ramchandra Apte added the comment:
Why do you think this is a bug in Python?
I don't think this is a bug in Python.
This might be bug in PyGTK or GTK which are third-party libraries.
--
nosy: +ramchandra.apte
___
Python tracker
Ramchandra Apte added the comment:
See also issue14081 which got fixed.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue8706>
___
___
Ramchandra Apte added the comment:
On my Linux machine it does not crash.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue14
Ramchandra Apte added the comment:
Can we have keyword arguments to range([start],stop,[step])?
--
___
Python tracker
<http://bugs.python.org/issue8706>
___
___
Ramchandra Apte added the comment:
But we could check if the compiler supports the inline keyword and use it if
available.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue7
New submission from Ramchandra Apte :
The http://www.python.org/dev/peps browser title is python.org
I suggest it should be changed to "PEP Index".
--
messages: 155051
nosy: ramchandra.apte
priority: normal
severity: normal
status: open
title: http://www.python.org/dev/peps
Ramchandra Apte added the comment:
See http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3.
What it says might be the cause of the problem.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/iss
Ramchandra Apte added the comment:
What is the status of this bug?
It has been about two months since the last message.
--
___
Python tracker
<http://bugs.python.org/issue13
New submission from Ramchandra Apte :
help(re.split)
"split(pattern, string, maxsplit=0, flags=0)
Split the source string by the occurrences of the pattern,
returning a list containing the resulting substrings."
No info is given about behaviour with groups in pattern.
Creat
Ramchandra Apte added the comment:
Done so see issue14244 .
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue14236>
___
___
Python-bug
Ramchandra Apte added the comment:
Oops. The link in the last sentence doesn't work.
It should be see msg155283 .
--
___
Python tracker
<http://bugs.python.org/is
Ramchandra Apte added the comment:
If issue7652 finishes. There's no point in fixing this bug.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/i
Ramchandra Apte added the comment:
+1 for this.
--
___
Python tracker
<http://bugs.python.org/issue12619>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ramchandra Apte added the comment:
I get a normal exception.
I see ipython at the top level in
'T:\languages\Python27\Scripts\ in ()'
Perhaps you ran ipython accidentally?
--
nosy: +ramchandra.apte
___
Python tracker
<http://bu
Ramchandra Apte added the comment:
BTW, can we add support for copying iterators by using itertools.tee
--
___
Python tracker
<http://bugs.python.org/issue14
Ramchandra Apte added the comment:
What is the status of this bug?
--
___
Python tracker
<http://bugs.python.org/issue13657>
___
___
Python-bugs-list mailin
New submission from Ramchandra Apte :
In
http://docs.python.org/dev/whatsnew/3.3.html#pep-380-syntax-for-delegating-to-a-subgenerator
, two code samples
--
assignee: docs@python
components: Documentation
messages: 157551
nosy: docs@python, ramchandra.apte
priority: normal
severity
Ramchandra Apte added the comment:
Whoops -
In
http://docs.python.org/dev/whatsnew/3.3.html#pep-380-syntax-for-delegating-to-a-subgenerator
, two code samples are not highlighted.
--
___
Python tracker
<http://bugs.python.org/issue14
Ramchandra Apte added the comment:
I recommend that __hash__ should use functools.lru_cache for caching.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue14
Ramchandra Apte added the comment:
"Tkinter uses the Xlib library to draw graphics on the screen" should be
"Tkinter uses the Xlib library on Linux to draw graphics on the screen"
--
nosy: +ramchandra.apte
___
P
Changes by Ramchandra Apte :
--
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue13708>
___
___
Python-bugs-
New submission from Ramchandra Apte :
Three code examples in
http://docs.python.org/py3k/library/multiprocessing.html#examples are not
syntax highlighted.
--
assignee: docs@python
components: Documentation
messages: 157845
nosy: docs@python, ramchandra.apte
priority: normal
severity
Ramchandra Apte added the comment:
I have a patch ready; have to make it ready (PEP8-compliance etc.) and then
I can send it.
On 16 June 2013 00:52, Terry J. Reedy wrote:
>
> Terry J. Reedy added the comment:
>
> Making a list of all possible modules is harder than a list o
Ramchandra Apte added the comment:
I agree with Sergey. Would be nice if it could use copy.copy (though that might
change behaviour a bit)
--
nosy: +Ramchandra Apte
___
Python tracker
<http://bugs.python.org/issue18
Ramchandra Apte added the comment:
> Your proposal is reasonable. I'm flagging it for Python 3.4+ as it's a
> backward incompatible modification.
Agree.
--
nosy: +Ramchandra Apte
___
Python tracker
<http://bugs.py
Ramchandra Apte added the comment:
The problem is with OP's code; not Python. Please close this bug as invalid. OP
can ask on the Python mailing list to fix his code.
--
nosy: +Ramchandra Apte
___
Python tracker
<http://bugs.python.org/is
Ramchandra Apte added the comment:
On 3 July 2013 15:16, Berker Peksag wrote:
>
> Berker Peksag added the comment:
>
> Here is a patch with an updated test.
>
> The -v flag also sends the output to stderr. Should that be fixed too? See
> Modules/main.c:678 and Lib/test
Ramchandra Apte added the comment:
No, I think that
On 3 July 2013 16:06, Serhiy Storchaka wrote:
>
> Serhiy Storchaka added the comment:
>
> LGTM.
>
> --
> nosy: +serhiy.storchaka
>
> ___
> Python tracker
> &
Ramchandra Apte added the comment:
Well, not sure if this is worth fixing, I think this is because timeit runs a
modified version of the code using exec(), with the actual code to be timed
within a function. (timeit runs something like this with exec():
def actual_code():
#The real code
Changes by Ramchandra Apte :
--
title: return-ing within timeit.timeit causes wrong return value of
timeit.timeit -> return-ing within code timed with timeit.timeit causes wrong
return value of timeit.timeit
___
Python tracker
&l
Changes by Ramchandra Apte :
--
title: timeit bug? -> return-ing within timeit.timeit causes wrong return value
of timeit.timeit
___
Python tracker
<http://bugs.python.org/issu
Ramchandra Apte added the comment:
Hmm... once I actually created a short (<50 lines) script which spell-checked
the comments. Problem is that many technical words (GCC, for example) were
marked incorrect by the spell-checker (Enchant), resulting in about 1000+
"incorrectly"
Ramchandra Apte added the comment:
Can you provide a short script that reproduces this problem?
AFAIK, Python doesn't display windows, the tcl/pygame libraries' C code creates
the windows.
--
nosy: +Ramchandra Apte
___
Python trac
Ramchandra Apte added the comment:
I like the idea of having a PEP8-checker for IDLE.
--
nosy: +Ramchandra Apte
___
Python tracker
<http://bugs.python.org/issue18
Ramchandra Apte added the comment:
I do not see much use of of implicit call syntax, a good editor will
autocomplete the brackets.
--
nosy: +Ramchandra Apte
___
Python tracker
<http://bugs.python.org/issue18
Ramchandra Apte added the comment:
Agree with Terry Reedy.
--
___
Python tracker
<http://bugs.python.org/issue18704>
___
___
Python-bugs-list mailing list
Unsub
Ramchandra Apte added the comment:
> Here is one stacktrace I just got with the faulthandler installed. It does
> not show in the trace any 3rd-party module so can I conclude it is a core
> python bug? Just recompiling with "-ggdb" so eventually will have better
> stac
Ramchandra Apte added the comment:
I am able to reproduce on Python 3.3 as well.
--
components: -Interpreter Core
nosy: +Ramchandra Apte
versions: +Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue18
Ramchandra Apte added the comment:
On 11 September 2013 21:41, Ethan Furman wrote:
>
> Ethan Furman added the comment:
>
> So when you do a `dir(int)` you don't want to know what you can call on 7?
> You'd rather know w
Ramchandra Apte added the comment:
-1 classes themselves are objects, so dir should list the attributes/methods of
the class object, not the instances.
--
nosy: +Ramchandra Apte
___
Python tracker
<http://bugs.python.org/issue19
Changes by Ramchandra Apte :
--
assignee: -> eric.araujo
components: +Distutils
nosy: +eric.araujo, tarek
versions: +Python 3.2
___
Python tracker
<http://bugs.python.org/issu
New submission from Ramchandra Apte :
Make distutils.ccompiler.CCompiler an abstract class by making it inherit from
abc.ABCMeta.
Thanks
--
messages: 159369
nosy: ramchandra.apte
priority: normal
severity: normal
status: open
title: make distutils.ccompiler.CCompiler an abstract class
Ramchandra Apte added the comment:
Sorry, distutils.ccompiler.CCompiler should have abc.ABCMeta as the metaclass.
(for example like this)
class CCompiler(metaclass = abc.ABCMeta):
...
Thanks
--
___
Python tracker
<http://bugs.python.
Ramchandra Apte added the comment:
Well, there is no practical advantage at all.
--
___
Python tracker
<http://bugs.python.org/issue14675>
___
___
Python-bug
Ramchandra Apte added the comment:
Please change the priorty of this bug to low.
--
___
Python tracker
<http://bugs.python.org/issue14675>
___
___
Python-bug
New submission from Ramchandra Apte :
A code example is not highlighted in the 3.3 docs for memoryview
(http://docs.python.org/dev/library/stdtypes.html#memoryview)
Only 3.3 is affected by this bug as the code example is for a feature in 3.3.
--
assignee: docs@python
components
Ramchandra Apte added the comment:
Please run IDLE from the command line and send the output when it crashes. (If
I knew Mac better I would tell you the precise instructions)
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.
Changes by Ramchandra Apte :
--
assignee: -> ronaldoussoren
components: +Macintosh
nosy: +ronaldoussoren
___
Python tracker
<http://bugs.python.org/issu
Ramchandra Apte added the comment:
Looking at the code at
http://code.google.com/p/ipaddress-py/source/browse/ipaddress.py I see a few
classes which could benefit from functools.total_ordering.
--
nosy: +ramchandra.apte
___
Python tracker
<h
Ramchandra Apte added the comment:
Since most of the Python devs and I don't understand Chinese, can you please
show the errors in English by compiling Python with LANG=C .
Thanks for the bug report.
--
nosy: +ramchandra.apte
___
Python tr
New submission from Ramchandra Apte :
When applying or okaying IDLE configuration (Options-> Configure IDLE) all text
in the shell window loses highlighting.
Text in the shell window created after the configuration is applied is
highlighted though.
--
components: IDLE
messages: 161
Changes by Ramchandra Apte :
--
title: When changing IDLE configuration all text in editor window loses
highlighting -> When changing IDLE configuration all text in shell window loses
highlighting
___
Python tracker
<http://bugs.pyth
Ramchandra Apte added the comment:
Sorry, small mistake.
Actually all the other Python 2.x releases are in security-fix mode.
--
___
Python tracker
<http://bugs.python.org/issue14
Ramchandra Apte added the comment:
I think this is quite a major change to Python and this needs a PEP BTW
issue912738 and therefore this bug no longer applies to Python 3.
In Python 3 map returns an iterator.
Even if you wanted to implement this feature in Python 2, it is not possible
Ramchandra Apte added the comment:
Sorry,
To clarify:
Python 2.7 is in bug-fix mode which means only minor enhancements are allowed.
--
___
Python tracker
<http://bugs.python.org/issue14
Changes by Ramchandra Apte :
--
nosy: +kbk
___
Python tracker
<http://bugs.python.org/issue14962>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ramchandra Apte added the comment:
What is the status of the bug?
--
___
Python tracker
<http://bugs.python.org/issue13598>
___
___
Python-bugs-list mailin
Ramchandra Apte added the comment:
Added a new patch which addresses Éric's comments.
--
Added file: http://bugs.python.org/file25816/issue13598.diff
___
Python tracker
<http://bugs.python.org/is
Changes by Ramchandra Apte :
Added file: http://bugs.python.org/file25817/test_string.diff
___
Python tracker
<http://bugs.python.org/issue13598>
___
___
Python-bug
Changes by Ramchandra Apte :
--
title: pthon 3.2.3 freezes when saving a .py program -> IDLE in Python 3.2.3
freezes when saving a .py program
___
Python tracker
<http://bugs.python.org/issu
Ramchandra Apte added the comment:
Can you run IDLE from the cmd line and send the output of the cmd line when it
crashes?
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue14
Ramchandra Apte added the comment:
Can you please run IDLE from the cmd line and send the output of it in the cmd
line.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue14
Changes by Ramchandra Apte :
--
title: pthon 3.2.3 freezes when saving a .py program -> Python 3.2.3 freezes
when saving a .py program
___
Python tracker
<http://bugs.python.org/issu
Ramchandra Apte added the comment:
What it the status of this bug?
--
___
Python tracker
<http://bugs.python.org/issue14215>
___
___
Python-bugs-list mailin
Ramchandra Apte added the comment:
Signature and signature are two variable names that differ only in case.
To avoid confusion, I recommend one of the names should be changed.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.
Ramchandra Apte added the comment:
@Roger Serwy
>> Does anyone know a good way to make the exception render as: "must be str,
>> not int" instead of "must be str, not " ?
Use s.__name__ rather than type(s) for the type name
e.g.
-raise TypeError('m
Ramchandra Apte added the comment:
Its not a bug though it has maintenance problems because if you change "manual
is False" to not manual it no longer works correctly.
--
___
Python tracker
<http://bugs.python.o
Ramchandra Apte added the comment:
What is the status of this bug?
This is the oldest open bug.
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue415
Ramchandra Apte added the comment:
What is the status of this bug?
--
nosy: +ramchandra.apte
___
Python tracker
<http://bugs.python.org/issue3208>
___
___
Pytho
New submission from Ramchandra Apte :
delattr(__builtins__,"getattr") causes shell to stop working
if you type some code in nothing gets printed back
if you press enter without typing any code you get a traceback
Exception in thread SockThread:
Traceback (most recent call last):
Ramchandra Apte added the comment:
Running the delattr(__builtins__,"getattr") in Python from the cmd line doesn't
create any problems though.
--
___
Python tracker
<http://bugs.pyt
Ramchandra Apte added the comment:
Another note: this bug is reproducable in the IDLE Shell with the python
subprocess feature enabled (the python process that runs your commands and the
python process that manages IDLE's windows are diff
Ramchandra Apte added the comment:
IDLE should try to mimic Python as much as feasible.
--
___
Python tracker
<http://bugs.python.org/issue15113>
___
___
Pytho
1 - 100 of 358 matches
Mail list logo