New submission from Vincent Liang :
Strange behavior is found when lambda is used inside for-loop.
code:(same as attached file)
# begin of CODE
def aa(x):
print("aa")
def bb(x):
print("bb")
namefun = [
("a", aa),
("b", bb),
New submission from Evin Liang :
[minor]
1. Display underscores as spaces in menu bar
2. Allow user to run custom code
--
components: Library (Lib)
messages: 364961
nosy: Evin Liang
priority: normal
pull_requests: 18506
severity: normal
status: open
title: more user-friendly turtledemo
liang feng <1590...@139.com> added the comment:
the file didn't download complete,change other computer download, it's fine
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https
New submission from liang feng <1590...@139.com>:
see log
--
files: Python 3.7.1 (32-bit)_20181127100820.log
messages: 330486
nosy: outofthink
priority: normal
severity: normal
status: open
title: Windows x86 executable installer can't install
versions: Python 3.7
Added file:
New submission from sijian liang:
This issue is fixed in python3
see
https://github.com/python/cpython/commit/07ea53cb218812404cdbde820647ce6e4b2d0f8e
--
components: email
messages: 291171
nosy: barry, r.david.murray, sijian liang
priority: normal
severity: normal
status: open
title
New submission from Liang-Bo Wang:
In Tutorial "An Informal Introduction" section, character is introduced as a
string of size one. It may be true for python 2.x, where str can be interpreted
as bytes. However in Python 3, strings are unicode thus the size and the length
o
New submission from sijian liang:
#!/usr/bin/python
#-*- coding:utf-8 -*-
import email
# from email.parser import Parser
def decode_email_header(header, sep=''):
l = []
for s, c in header:
if c:
l.append(s.decode(c))
else
Changes by sijian liang <twistfat...@gmail.com>:
--
components: email
files: demo.py
nosy: barry, r.david.murray, sijian liang
priority: normal
severity: normal
status: open
title: email.header.decode_header can not decode string with quotation
type: behavior
versions: Python 2.7
New submission from feng liang:
when i read in document 3.5.1,run the example in ipaddress.address_exclude
function
>>> n1 = ip_network('192.0.2.0/28')
>>> n2 = ip_network('192.0.2.1/32')
>>> list(n1.address_exclude(n2))
I got:
Traceback (most recent ca
Liang-Bo Wang added the comment:
Thanks for the merge.
I pulled the change and checked the result, but I found the patch missing a
line to initiate the correct display state when the button was created. That
is, it forgot to set `button.data('hidden', 'false');` when adding the button
Liang-Bo Wang added the comment:
Just FYI, I applied the patch to the zh-hant translation of the documentation
and the code output toggle button is back and works as expected.
https://docs.python.org.tw/3/tutorial/introduction.html#numbers
You can see the result of any other page
New submission from Liang Bo Wang:
The code output toggle button (the `>>>` button on the top right) has been
disappeared and not functional on the current online documentation (both 3.4+
and 2.7).
For example, see any doc page that has interpreter outputs:
https://docs.pyt
New submission from Liang Zhang:
This was copied from Chapter 5 Data Structure in Python language tutorial.
The link I was looking for:
https://docs.python.org/2.7/tutorial/datastructures.html
Some thing might be incorrect and need you to update them in
(5.1.4. List Comprehensions
Liang Zhang added the comment:
Oh my god! You're right!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23299
___
___
Python-bugs-list mailing
New submission from liang xfanli...@hotmail.com:
In our testbed,we have seem serveral sgement fault in our python scrit.
The enviroment is:
linux=2.6.29.6-0.6.smp.gcc4.1.x86_64
python=2.4.4-41.4-1
GCC = GCC 4.1.2 20070626 (rPath Inc.)] on linux2
Below are the detail call stack:
(gdb) bt
#0
Kelvin Liang lbh1...@gmail.com added the comment:
Can this patch be used or ported to 2.5.x?
--
nosy: +feisan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5670
16 matches
Mail list logo