[issue11288] Python installed from MSI doesn't work

2011-02-22 Thread Bartosz

Bartosz  added the comment:

I've got the same situation. Windows 7 (32bit) python-3.2.msi installations 
puts through, but when I try to lunch python appears error :

Fatal Python error: Py_Initialize: unable to load the file system codec
LookupError: no codec search functions registered: can't find encoding

--
nosy: +BWY

___
Python tracker 
<http://bugs.python.org/issue11288>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11288] Python installed from MSI doesn't work

2011-02-23 Thread Bartosz

Bartosz  added the comment:

I've got English version too. Python is 32 bit and operating system is also 32 
bit.

--

___
Python tracker 
<http://bugs.python.org/issue11288>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11288] Python installed from MSI doesn't work

2011-02-23 Thread Bartosz

Bartosz  added the comment:

I have found a problem and sollution:

previously I have used Python 2.x and when I removed that version and next 
installed Python32,  PYTHONPATH in system variabled indicated still to 
Python2.x. Removing all python paths to old version solved the problem.

--

___
Python tracker 
<http://bugs.python.org/issue11288>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41974] Remove complex.__float__, complex.__floordiv__, etc

2021-04-04 Thread Bartosz


Bartosz  added the comment:

The docs for this should probably be updated to reflect the change: 
https://docs.python.org/3/library/typing.html#typing.runtime_checkable

--
nosy: +DevilXD

___
Python tracker 
<https://bugs.python.org/issue41974>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41974] Remove complex.__float__, complex.__floordiv__, etc

2021-04-05 Thread Bartosz


Change by Bartosz :


--
pull_requests: +23936
pull_request: https://github.com/python/cpython/pull/25197

___
Python tracker 
<https://bugs.python.org/issue41974>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41974] Remove complex.__float__, complex.__floordiv__, etc

2021-04-05 Thread Bartosz


Bartosz  added the comment:

Done so: https://github.com/python/cpython/pull/25197

Signed the CLA thing too, it seems it'll take a while to update tho.

--

___
Python tracker 
<https://bugs.python.org/issue41974>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4099] dir on a compiled re does not show pattern as a part of the list

2008-10-10 Thread Bartosz Radaczyński

New submission from Bartosz Radaczyński <[EMAIL PROTECTED]>:

It does not show a few other things that are listed here:
http://www.python.org/doc/2.5.2/lib/re-objects.html

--
components: Regular Expressions
messages: 74632
nosy: bartoszr
severity: normal
status: open
title: dir on a compiled re does not show pattern as a part of the list
type: behavior
versions: Python 2.5

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4099>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4099] dir on a compiled re does not show pattern as a part of the list

2008-10-10 Thread Bartosz Radaczyński

Bartosz Radaczyński <[EMAIL PROTECTED]> added the comment:

Cool.

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4099>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38963] multiprocessing processes seem to "bleed" user information (GID/UID/groups)

2021-04-09 Thread Bartosz Kwitniewski


Bartosz Kwitniewski  added the comment:

It works as intended - pool of 5 processes is being reused with new data:
- First, 5 processes are created as root,
- in first run of check_permission they drop their privileges to user,
- when they finish processing check_permission function, they are not killed, 
but provided with new path for processing, therefore they retain their lower 
privileges,
- when maxtasksperchild=1 is used, processes are killed after single run of 
check_permission and recreated with root permissions.

--
nosy: +zerg

___
Python tracker 
<https://bugs.python.org/issue38963>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44610] Format issue with strftime and %Y

2021-07-12 Thread Bartosz Kaznowski


New submission from Bartosz Kaznowski :

When you convert a date pre the year 1000 to a string with `%Y` as the 
formatter and then back to a date again then it fails. This is because `%Y` 
expects it to be formatted with leading zeroes. For example, the year 1/01/01 
(/mm/dd) should be 0001/01/01 when formatting using %Y/%m/%d. However, %Y 
returns 1.
You can see this in action here:

from datetime import date, datetime
format = "%Y-%m-%d"
formatted = date.min.strftime("%Y-%m-%d")
datetime.strptime(formatted, format).date()

`ValueError: time data '1-01-01' does not match format '%Y-%m-%d'` is raised on 
the forth line.

--
components: Library (Lib)
messages: 397329
nosy: bkaznowski
priority: normal
severity: normal
status: open
title: Format issue with strftime and %Y
type: behavior
versions: Python 3.7

___
Python tracker 
<https://bugs.python.org/issue44610>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44610] Format issue with strftime and %Y

2021-07-12 Thread Bartosz Kaznowski


Change by Bartosz Kaznowski :


--
versions: +Python 3.9 -Python 3.7

___
Python tracker 
<https://bugs.python.org/issue44610>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44610] Format issue with strftime and %Y

2021-07-12 Thread Bartosz Kaznowski


Change by Bartosz Kaznowski :


--
versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 
<https://bugs.python.org/issue44610>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44610] Format issue with strftime and %Y

2021-07-19 Thread Bartosz Kaznowski


Bartosz Kaznowski  added the comment:

Ok, thanks @iritkatriel. I have closed it as a duplicate.

I did notice after posting this that in the cpython source code people work 
around this issue. Now I can see why.

I guess I will just have to work around this issue too. Luckily it doesn't 
cause too many problems for what I need.

Thanks!

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue44610>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33829] C API: provide new object protocol helper

2018-06-11 Thread Bartosz Gołaszewski

New submission from Bartosz Gołaszewski :

If we want to call an object's method from C code and pass it the args and 
kwargs tuples unchanged, we need to first retrieve the callable object using 
PyObject_GetAttrString(), then call it using PyObject_Call().

I would like to propose wrapping the two calls in a new helper.

--
components: Extension Modules
messages: 319288
nosy: Bartosz Gołaszewski
priority: normal
severity: normal
status: open
title: C API: provide new object protocol helper
type: enhancement
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue33829>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14037] Allow grouping of argparse subparser commands in help output

2013-01-29 Thread Bartosz S

Changes by Bartosz S :


--
nosy: +toszter

___
Python tracker 
<http://bugs.python.org/issue14037>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com