14
0

Accepting request 1207975 from home:mcalabkova:branches:devel:languages:python

- Update to 1.9.0
  * Automatically cast the copy() argument to a string for all data types.
  * _py3_executable_exists and _py2_executable_exists had swapped names; fixed.
  * Pyperclip now "stringifies" all data types by passing it to str() (or 
    globals()['__builtins__'].unicode on Python 2), so passing [1, 2, 3] would 
    put '[1, 2, 3]' on the clipboard.
  * shutil.which() replaces the custom code (except in 2.7 and below which doesn't 
    have shutil.which()).
  * Remove waitForPaste() and waitForNewPaste() functions, these aren't something 
    the core library should have.
  * Reordered so that xclip is chosen before xsel since xclip is more popular.

OBS-URL: https://build.opensuse.org/request/show/1207975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperclip?expand=0&rev=25
This commit is contained in:
2024-10-17 08:05:39 +00:00
committed by Git OBS Bridge
parent 31d4efaaae
commit f56f8e99b0
5 changed files with 53 additions and 7 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Oct 14 15:27:29 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 1.9.0
* Automatically cast the copy() argument to a string for all data types.
* _py3_executable_exists and _py2_executable_exists had swapped names; fixed.
* Pyperclip now "stringifies" all data types by passing it to str() (or
globals()['__builtins__'].unicode on Python 2), so passing [1, 2, 3] would
put '[1, 2, 3]' on the clipboard.
* shutil.which() replaces the custom code (except in 2.7 and below which doesn't
have shutil.which()).
* Remove waitForPaste() and waitForNewPaste() functions, these aren't something
the core library should have.
* Reordered so that xclip is chosen before xsel since xclip is more popular.
-------------------------------------------------------------------
Fri Apr 21 12:31:07 UTC 2023 - Dirk Müller <dmueller@suse.com>